@wix/auto_sdk_arrivals_arrivals 1.0.11 → 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/index.d.ts +1 -1
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +14 -2
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +11 -1
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +14 -2
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +11 -1
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +6 -3
- package/build/internal/cjs/index.typings.d.ts +28 -7
- package/build/internal/cjs/meta.d.ts +11 -1
- package/build/internal/es/index.d.mts +6 -3
- package/build/internal/es/index.typings.d.mts +28 -7
- package/build/internal/es/meta.d.mts +11 -1
- package/package.json +2 -2
|
@@ -1016,7 +1016,17 @@ type CheckEligibilityApplicationErrors = {
|
|
|
1016
1016
|
data?: Record<string, any>;
|
|
1017
1017
|
};
|
|
1018
1018
|
/** @docsIgnore */
|
|
1019
|
+
type QueryArrivalsApplicationErrors = {
|
|
1020
|
+
code?: 'CREATED_DATE_LOWER_BOUND_REQUIRED';
|
|
1021
|
+
description?: string;
|
|
1022
|
+
data?: Record<string, any>;
|
|
1023
|
+
};
|
|
1024
|
+
/** @docsIgnore */
|
|
1019
1025
|
type CountArrivalsApplicationErrors = {
|
|
1026
|
+
code?: 'CREATED_DATE_LOWER_BOUND_REQUIRED';
|
|
1027
|
+
description?: string;
|
|
1028
|
+
data?: Record<string, any>;
|
|
1029
|
+
} | {
|
|
1020
1030
|
code?: 'TOO_MANY_TO_COUNT';
|
|
1021
1031
|
description?: string;
|
|
1022
1032
|
data?: Record<string, any>;
|
|
@@ -1253,9 +1263,15 @@ declare function getArrival(arrivalId: string): Promise<NonNullablePaths<Arrival
|
|
|
1253
1263
|
* `{ "eligibilityDetails.issues": { "$hasSome": ["INTAKE_FORM_MISSING"] } }` for the arrivals where a
|
|
1254
1264
|
* form was missing; filtering on it requires the `arrivals:v1:arrival:read_eligibility_details` permission, like reading it.
|
|
1255
1265
|
* An arrival staff overrode has `status` `GRANTED` and `overriddenBy`, and an `overrideReason` only when staff gave
|
|
1256
|
-
* one. To find overrides, filter `overriddenBy.wixUserId
|
|
1257
|
-
*
|
|
1258
|
-
*
|
|
1266
|
+
* one. To find overrides, filter `overriddenBy.wixUserId` with a `createdDate` lower bound:
|
|
1267
|
+
* `{ "overriddenBy.wixUserId": { "$exists": true }, "createdDate": { "$gte": "2026-11-09T00:00:00Z" } }` finds
|
|
1268
|
+
* every override since that time, and a user ID in place of `$exists` finds those of one staff member.
|
|
1269
|
+
*
|
|
1270
|
+
* `status`, `source.identifiedBy`, `eligibilityDetails.issues`, `planBenefit.poolId`, `planBenefit.benefitKey`,
|
|
1271
|
+
* `planBenefit.type` and `overriddenBy.wixUserId` have no index. A filter on any of them, or a sort on any but `overriddenBy.wixUserId` (filter only), must also have a lower
|
|
1272
|
+
* bound on `createdDate` (`$gt` or `$gte`) no more than 400 days ago, at the top level or in an `$and`; otherwise the
|
|
1273
|
+
* request fails with `CREATED_DATE_LOWER_BOUND_REQUIRED`. A bound inside an `$or` counts only when every branch has one. A next page,
|
|
1274
|
+
* requested with its cursor, is not checked again.
|
|
1259
1275
|
*
|
|
1260
1276
|
* To learn how to query arrivals, see [API Query Language][2].
|
|
1261
1277
|
*
|
|
@@ -1344,7 +1360,9 @@ interface ArrivalsQueryBuilder {
|
|
|
1344
1360
|
* @fqn wix.arrivals.v1.ArrivalsService.QueryArrivals
|
|
1345
1361
|
* @requiredField query
|
|
1346
1362
|
*/
|
|
1347
|
-
declare function typedQueryArrivals(query: ArrivalQuery): Promise<NonNullablePaths<QueryArrivalsResponse, `arrivals` | `arrivals.${number}.planBenefit.poolId` | `arrivals.${number}.planBenefit.benefitKey` | `arrivals.${number}.planBenefit.displayName` | `arrivals.${number}.planBenefit.type` | `arrivals.${number}.scheduledEvent.eventId` | `arrivals.${number}.scheduledEvent.displayName` | `arrivals.${number}.scheduledEvent.appId` | `arrivals.${number}.contactDetails.contactId` | `arrivals.${number}.source.identifiedBy` | `arrivals.${number}.source.createdBy.anonymousVisitorId` | `arrivals.${number}.source.createdBy.memberId` | `arrivals.${number}.source.createdBy.wixUserId` | `arrivals.${number}.source.createdBy.appId` | `arrivals.${number}.area._id` | `arrivals.${number}.area.locationId` | `arrivals.${number}.area.name` | `arrivals.${number}.area.entranceId` | `arrivals.${number}.area.entranceName` | `arrivals.${number}.status`, 4
|
|
1363
|
+
declare function typedQueryArrivals(query: ArrivalQuery): Promise<NonNullablePaths<QueryArrivalsResponse, `arrivals` | `arrivals.${number}.planBenefit.poolId` | `arrivals.${number}.planBenefit.benefitKey` | `arrivals.${number}.planBenefit.displayName` | `arrivals.${number}.planBenefit.type` | `arrivals.${number}.scheduledEvent.eventId` | `arrivals.${number}.scheduledEvent.displayName` | `arrivals.${number}.scheduledEvent.appId` | `arrivals.${number}.contactDetails.contactId` | `arrivals.${number}.source.identifiedBy` | `arrivals.${number}.source.createdBy.anonymousVisitorId` | `arrivals.${number}.source.createdBy.memberId` | `arrivals.${number}.source.createdBy.wixUserId` | `arrivals.${number}.source.createdBy.appId` | `arrivals.${number}.area._id` | `arrivals.${number}.area.locationId` | `arrivals.${number}.area.name` | `arrivals.${number}.area.entranceId` | `arrivals.${number}.area.entranceName` | `arrivals.${number}.status`, 4> & {
|
|
1364
|
+
__applicationErrorsType?: QueryArrivalsApplicationErrors;
|
|
1365
|
+
}>;
|
|
1348
1366
|
interface ArrivalQuerySpec extends QuerySpec {
|
|
1349
1367
|
paging: 'cursor';
|
|
1350
1368
|
wql: [
|
|
@@ -1429,9 +1447,12 @@ declare const utils: {
|
|
|
1429
1447
|
/**
|
|
1430
1448
|
* Counts arrivals matching a filter, for dashboard tiles such as "granted today" and "denied today".
|
|
1431
1449
|
*
|
|
1432
|
-
* The filter accepts the same fields as Query Arrivals. To count denials, filter `status` `DENIED
|
|
1450
|
+
* The filter accepts the same fields as Query Arrivals. To count denials, filter `status` `DENIED` with a `createdDate` lower bound; an
|
|
1433
1451
|
* arrival that staff overrode is `GRANTED`, since its status moved, and is counted with the grants. To count
|
|
1434
|
-
* overrides, filter `{ "overriddenBy.wixUserId": { "$exists": true } }
|
|
1452
|
+
* overrides, filter `{ "overriddenBy.wixUserId": { "$exists": true } }` with a `createdDate` lower bound.
|
|
1453
|
+
* A filter on `status`, `source.identifiedBy`, `eligibilityDetails.issues`, `planBenefit.poolId`, `planBenefit.benefitKey`,
|
|
1454
|
+
* `planBenefit.type` or `overriddenBy.wixUserId`, fields with no index, must also have a lower bound on `createdDate`
|
|
1455
|
+
* (`$gt` or `$gte`) no more than 400 days ago, as on Query Arrivals; otherwise the call fails with `CREATED_DATE_LOWER_BOUND_REQUIRED`.
|
|
1435
1456
|
* Counting more than 100,000 arrivals fails with `TOO_MANY_TO_COUNT`; narrow the filter, for example by
|
|
1436
1457
|
* `createdDate`.
|
|
1437
1458
|
* @internal
|
|
@@ -1550,4 +1571,4 @@ interface CreateArrivalByCredentialOptionsCredentialOneOf {
|
|
|
1550
1571
|
identifier?: PresentedIdentifier;
|
|
1551
1572
|
}
|
|
1552
1573
|
|
|
1553
|
-
export { type AccountInfo, type ActionEvent, type AreaInfo, type Arrival, type ArrivalGrantedByOneOf, type ArrivalQuery, type ArrivalQuerySpec, type ArrivalSource, type ArrivalsQueryBuilder, type ArrivalsQueryResult, type CheckEligibilityApplicationErrors, type CheckEligibilityByCredentialApplicationErrors, type CheckEligibilityByCredentialOptions, type CheckEligibilityByCredentialOptionsCredentialOneOf, type CheckEligibilityByCredentialRequest, type CheckEligibilityByCredentialRequestCredentialOneOf, type CheckEligibilityByCredentialResponse, type CheckEligibilityOptions, type CheckEligibilityRequest, type CheckEligibilityResponse, type CommonIdentificationData, type CommonIdentificationDataIdOneOf, type CommonQueryWithEntityContext, type ContactDetails, type CountArrivalsApplicationErrors, type CountArrivalsOptions, type CountArrivalsRequest, type CountArrivalsResponse, type CreateArrivalApplicationErrors, type CreateArrivalByCredentialApplicationErrors, type CreateArrivalByCredentialOptions, type CreateArrivalByCredentialOptionsCredentialOneOf, type CreateArrivalByCredentialRequest, type CreateArrivalByCredentialRequestCredentialOneOf, type CreateArrivalByCredentialResponse, type CreateArrivalOptions, type CreateArrivalRequest, type CreateArrivalResponse, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type DenialOverride, type DomainEvent, type DomainEventBodyOneOf, type EligibilityDetails, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, EntryIssue, type EntryIssueWithLiterals, type GetArrivalRequest, type GetArrivalResponse, type IdentificationData, type IdentificationDataIdOneOf, IdentificationMethod, type IdentificationMethodWithLiterals, IdentityType, type IdentityTypeWithLiterals, type MessageEnvelope, type MissingIntakeForm, type OverrideArrivalAsGrantedApplicationErrors, type OverrideArrivalAsGrantedOptions, type OverrideArrivalAsGrantedRequest, type OverrideArrivalAsGrantedResponse, type PlanBenefit, type PlanBenefitEligibility, PlanBenefitIssue, type PlanBenefitIssueWithLiterals, PlanBenefitType, type PlanBenefitTypeWithLiterals, type PresentedIdentifier, type QueryArrivalsRequest, type QueryArrivalsResponse, type RecentArrival, type RestoreInfo, type ScheduledEvent, type ScheduledEventEligibility, ScheduledEventIssue, type ScheduledEventIssueWithLiterals, type ScheduledEventSearchWindow, SortOrder, type SortOrderWithLiterals, type Sorting, Status, type StatusWithLiterals, Type, type TypeWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, checkEligibility, checkEligibilityByCredential, countArrivals, createArrival, createArrivalByCredential, getArrival, overrideArrivalAsGranted, queryArrivals, typedQueryArrivals, utils };
|
|
1574
|
+
export { type AccountInfo, type ActionEvent, type AreaInfo, type Arrival, type ArrivalGrantedByOneOf, type ArrivalQuery, type ArrivalQuerySpec, type ArrivalSource, type ArrivalsQueryBuilder, type ArrivalsQueryResult, type CheckEligibilityApplicationErrors, type CheckEligibilityByCredentialApplicationErrors, type CheckEligibilityByCredentialOptions, type CheckEligibilityByCredentialOptionsCredentialOneOf, type CheckEligibilityByCredentialRequest, type CheckEligibilityByCredentialRequestCredentialOneOf, type CheckEligibilityByCredentialResponse, type CheckEligibilityOptions, type CheckEligibilityRequest, type CheckEligibilityResponse, type CommonIdentificationData, type CommonIdentificationDataIdOneOf, type CommonQueryWithEntityContext, type ContactDetails, type CountArrivalsApplicationErrors, type CountArrivalsOptions, type CountArrivalsRequest, type CountArrivalsResponse, type CreateArrivalApplicationErrors, type CreateArrivalByCredentialApplicationErrors, type CreateArrivalByCredentialOptions, type CreateArrivalByCredentialOptionsCredentialOneOf, type CreateArrivalByCredentialRequest, type CreateArrivalByCredentialRequestCredentialOneOf, type CreateArrivalByCredentialResponse, type CreateArrivalOptions, type CreateArrivalRequest, type CreateArrivalResponse, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type DenialOverride, type DomainEvent, type DomainEventBodyOneOf, type EligibilityDetails, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, EntryIssue, type EntryIssueWithLiterals, type GetArrivalRequest, type GetArrivalResponse, type IdentificationData, type IdentificationDataIdOneOf, IdentificationMethod, type IdentificationMethodWithLiterals, IdentityType, type IdentityTypeWithLiterals, type MessageEnvelope, type MissingIntakeForm, type OverrideArrivalAsGrantedApplicationErrors, type OverrideArrivalAsGrantedOptions, type OverrideArrivalAsGrantedRequest, type OverrideArrivalAsGrantedResponse, type PlanBenefit, type PlanBenefitEligibility, PlanBenefitIssue, type PlanBenefitIssueWithLiterals, PlanBenefitType, type PlanBenefitTypeWithLiterals, type PresentedIdentifier, type QueryArrivalsApplicationErrors, type QueryArrivalsRequest, type QueryArrivalsResponse, type RecentArrival, type RestoreInfo, type ScheduledEvent, type ScheduledEventEligibility, ScheduledEventIssue, type ScheduledEventIssueWithLiterals, type ScheduledEventSearchWindow, SortOrder, type SortOrderWithLiterals, type Sorting, Status, type StatusWithLiterals, Type, type TypeWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, checkEligibility, checkEligibilityByCredential, countArrivals, createArrival, createArrivalByCredential, getArrival, overrideArrivalAsGranted, queryArrivals, typedQueryArrivals, utils };
|
|
@@ -1094,7 +1094,17 @@ type CheckEligibilityApplicationErrors = {
|
|
|
1094
1094
|
data?: Record<string, any>;
|
|
1095
1095
|
};
|
|
1096
1096
|
/** @docsIgnore */
|
|
1097
|
+
type QueryArrivalsApplicationErrors = {
|
|
1098
|
+
code?: 'CREATED_DATE_LOWER_BOUND_REQUIRED';
|
|
1099
|
+
description?: string;
|
|
1100
|
+
data?: Record<string, any>;
|
|
1101
|
+
};
|
|
1102
|
+
/** @docsIgnore */
|
|
1097
1103
|
type CountArrivalsApplicationErrors = {
|
|
1104
|
+
code?: 'CREATED_DATE_LOWER_BOUND_REQUIRED';
|
|
1105
|
+
description?: string;
|
|
1106
|
+
data?: Record<string, any>;
|
|
1107
|
+
} | {
|
|
1098
1108
|
code?: 'TOO_MANY_TO_COUNT';
|
|
1099
1109
|
description?: string;
|
|
1100
1110
|
data?: Record<string, any>;
|
|
@@ -1175,4 +1185,4 @@ declare function countArrivals(): __PublicMethodMetaInfo<'POST', {}, CountArriva
|
|
|
1175
1185
|
declare function checkEligibilityByCredential(): __PublicMethodMetaInfo<'POST', {}, CheckEligibilityByCredentialRequest$1, CheckEligibilityByCredentialRequest, CheckEligibilityByCredentialResponse$1, CheckEligibilityByCredentialResponse>;
|
|
1176
1186
|
declare function createArrivalByCredential(): __PublicMethodMetaInfo<'POST', {}, CreateArrivalByCredentialRequest$1, CreateArrivalByCredentialRequest, CreateArrivalByCredentialResponse$1, CreateArrivalByCredentialResponse>;
|
|
1177
1187
|
|
|
1178
|
-
export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type AreaInfo as AreaInfoOriginal, type ArrivalGrantedByOneOf as ArrivalGrantedByOneOfOriginal, type Arrival as ArrivalOriginal, type ArrivalSource as ArrivalSourceOriginal, type CheckEligibilityApplicationErrors as CheckEligibilityApplicationErrorsOriginal, type CheckEligibilityByCredentialApplicationErrors as CheckEligibilityByCredentialApplicationErrorsOriginal, type CheckEligibilityByCredentialRequestCredentialOneOf as CheckEligibilityByCredentialRequestCredentialOneOfOriginal, type CheckEligibilityByCredentialRequest as CheckEligibilityByCredentialRequestOriginal, type CheckEligibilityByCredentialResponse as CheckEligibilityByCredentialResponseOriginal, type CheckEligibilityRequest as CheckEligibilityRequestOriginal, type CheckEligibilityResponse as CheckEligibilityResponseOriginal, type CommonIdentificationDataIdOneOf as CommonIdentificationDataIdOneOfOriginal, type CommonIdentificationData as CommonIdentificationDataOriginal, type ContactDetails as ContactDetailsOriginal, type CountArrivalsApplicationErrors as CountArrivalsApplicationErrorsOriginal, type CountArrivalsRequest as CountArrivalsRequestOriginal, type CountArrivalsResponse as CountArrivalsResponseOriginal, type CreateArrivalApplicationErrors as CreateArrivalApplicationErrorsOriginal, type CreateArrivalByCredentialApplicationErrors as CreateArrivalByCredentialApplicationErrorsOriginal, type CreateArrivalByCredentialRequestCredentialOneOf as CreateArrivalByCredentialRequestCredentialOneOfOriginal, type CreateArrivalByCredentialRequest as CreateArrivalByCredentialRequestOriginal, type CreateArrivalByCredentialResponse as CreateArrivalByCredentialResponseOriginal, type CreateArrivalRequest as CreateArrivalRequestOriginal, type CreateArrivalResponse as CreateArrivalResponseOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type CursorQuery as CursorQueryOriginal, type CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal, type Cursors as CursorsOriginal, type DenialOverride as DenialOverrideOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type EligibilityDetails as EligibilityDetailsOriginal, type Empty as EmptyOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, EntryIssue as EntryIssueOriginal, type EntryIssueWithLiterals as EntryIssueWithLiteralsOriginal, type GetArrivalRequest as GetArrivalRequestOriginal, type GetArrivalResponse as GetArrivalResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, IdentificationMethod as IdentificationMethodOriginal, type IdentificationMethodWithLiterals as IdentificationMethodWithLiteralsOriginal, IdentityType as IdentityTypeOriginal, type IdentityTypeWithLiterals as IdentityTypeWithLiteralsOriginal, type Image as ImageOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type MissingIntakeForm as MissingIntakeFormOriginal, type OverrideArrivalAsGrantedApplicationErrors as OverrideArrivalAsGrantedApplicationErrorsOriginal, type OverrideArrivalAsGrantedRequest as OverrideArrivalAsGrantedRequestOriginal, type OverrideArrivalAsGrantedResponse as OverrideArrivalAsGrantedResponseOriginal, type PlanBenefitEligibility as PlanBenefitEligibilityOriginal, PlanBenefitIssue as PlanBenefitIssueOriginal, type PlanBenefitIssueWithLiterals as PlanBenefitIssueWithLiteralsOriginal, type PlanBenefit as PlanBenefitOriginal, PlanBenefitType as PlanBenefitTypeOriginal, type PlanBenefitTypeWithLiterals as PlanBenefitTypeWithLiteralsOriginal, type PresentedIdentifier as PresentedIdentifierOriginal, type QueryArrivalsRequest as QueryArrivalsRequestOriginal, type QueryArrivalsResponse as QueryArrivalsResponseOriginal, type RecentArrival as RecentArrivalOriginal, type RestoreInfo as RestoreInfoOriginal, type ScheduledEventEligibility as ScheduledEventEligibilityOriginal, ScheduledEventIssue as ScheduledEventIssueOriginal, type ScheduledEventIssueWithLiterals as ScheduledEventIssueWithLiteralsOriginal, type ScheduledEvent as ScheduledEventOriginal, type ScheduledEventSearchWindow as ScheduledEventSearchWindowOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, Status as StatusOriginal, type StatusWithLiterals as StatusWithLiteralsOriginal, Type as TypeOriginal, type TypeWithLiterals as TypeWithLiteralsOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type __PublicMethodMetaInfo, checkEligibility, checkEligibilityByCredential, countArrivals, createArrival, createArrivalByCredential, getArrival, overrideArrivalAsGranted, queryArrivals };
|
|
1188
|
+
export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type AreaInfo as AreaInfoOriginal, type ArrivalGrantedByOneOf as ArrivalGrantedByOneOfOriginal, type Arrival as ArrivalOriginal, type ArrivalSource as ArrivalSourceOriginal, type CheckEligibilityApplicationErrors as CheckEligibilityApplicationErrorsOriginal, type CheckEligibilityByCredentialApplicationErrors as CheckEligibilityByCredentialApplicationErrorsOriginal, type CheckEligibilityByCredentialRequestCredentialOneOf as CheckEligibilityByCredentialRequestCredentialOneOfOriginal, type CheckEligibilityByCredentialRequest as CheckEligibilityByCredentialRequestOriginal, type CheckEligibilityByCredentialResponse as CheckEligibilityByCredentialResponseOriginal, type CheckEligibilityRequest as CheckEligibilityRequestOriginal, type CheckEligibilityResponse as CheckEligibilityResponseOriginal, type CommonIdentificationDataIdOneOf as CommonIdentificationDataIdOneOfOriginal, type CommonIdentificationData as CommonIdentificationDataOriginal, type ContactDetails as ContactDetailsOriginal, type CountArrivalsApplicationErrors as CountArrivalsApplicationErrorsOriginal, type CountArrivalsRequest as CountArrivalsRequestOriginal, type CountArrivalsResponse as CountArrivalsResponseOriginal, type CreateArrivalApplicationErrors as CreateArrivalApplicationErrorsOriginal, type CreateArrivalByCredentialApplicationErrors as CreateArrivalByCredentialApplicationErrorsOriginal, type CreateArrivalByCredentialRequestCredentialOneOf as CreateArrivalByCredentialRequestCredentialOneOfOriginal, type CreateArrivalByCredentialRequest as CreateArrivalByCredentialRequestOriginal, type CreateArrivalByCredentialResponse as CreateArrivalByCredentialResponseOriginal, type CreateArrivalRequest as CreateArrivalRequestOriginal, type CreateArrivalResponse as CreateArrivalResponseOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type CursorQuery as CursorQueryOriginal, type CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal, type Cursors as CursorsOriginal, type DenialOverride as DenialOverrideOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type EligibilityDetails as EligibilityDetailsOriginal, type Empty as EmptyOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, EntryIssue as EntryIssueOriginal, type EntryIssueWithLiterals as EntryIssueWithLiteralsOriginal, type GetArrivalRequest as GetArrivalRequestOriginal, type GetArrivalResponse as GetArrivalResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, IdentificationMethod as IdentificationMethodOriginal, type IdentificationMethodWithLiterals as IdentificationMethodWithLiteralsOriginal, IdentityType as IdentityTypeOriginal, type IdentityTypeWithLiterals as IdentityTypeWithLiteralsOriginal, type Image as ImageOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type MissingIntakeForm as MissingIntakeFormOriginal, type OverrideArrivalAsGrantedApplicationErrors as OverrideArrivalAsGrantedApplicationErrorsOriginal, type OverrideArrivalAsGrantedRequest as OverrideArrivalAsGrantedRequestOriginal, type OverrideArrivalAsGrantedResponse as OverrideArrivalAsGrantedResponseOriginal, type PlanBenefitEligibility as PlanBenefitEligibilityOriginal, PlanBenefitIssue as PlanBenefitIssueOriginal, type PlanBenefitIssueWithLiterals as PlanBenefitIssueWithLiteralsOriginal, type PlanBenefit as PlanBenefitOriginal, PlanBenefitType as PlanBenefitTypeOriginal, type PlanBenefitTypeWithLiterals as PlanBenefitTypeWithLiteralsOriginal, type PresentedIdentifier as PresentedIdentifierOriginal, type QueryArrivalsApplicationErrors as QueryArrivalsApplicationErrorsOriginal, type QueryArrivalsRequest as QueryArrivalsRequestOriginal, type QueryArrivalsResponse as QueryArrivalsResponseOriginal, type RecentArrival as RecentArrivalOriginal, type RestoreInfo as RestoreInfoOriginal, type ScheduledEventEligibility as ScheduledEventEligibilityOriginal, ScheduledEventIssue as ScheduledEventIssueOriginal, type ScheduledEventIssueWithLiterals as ScheduledEventIssueWithLiteralsOriginal, type ScheduledEvent as ScheduledEventOriginal, type ScheduledEventSearchWindow as ScheduledEventSearchWindowOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, Status as StatusOriginal, type StatusWithLiterals as StatusWithLiteralsOriginal, Type as TypeOriginal, type TypeWithLiterals as TypeWithLiteralsOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type __PublicMethodMetaInfo, checkEligibility, checkEligibilityByCredential, countArrivals, createArrival, createArrivalByCredential, getArrival, overrideArrivalAsGranted, queryArrivals };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@wix/sdk-types';
|
|
2
2
|
import { Arrival, CreateArrivalOptions, CreateArrivalApplicationErrors, OverrideArrivalAsGrantedOptions, OverrideArrivalAsGrantedResponse, OverrideArrivalAsGrantedApplicationErrors, CheckEligibilityOptions, CheckEligibilityResponse, CheckEligibilityApplicationErrors, CountArrivalsOptions, CountArrivalsResponse, CountArrivalsApplicationErrors, CheckEligibilityByCredentialOptions, CheckEligibilityByCredentialResponse, CheckEligibilityByCredentialApplicationErrors, CreateArrivalByCredentialOptions, CreateArrivalByCredentialResponse, CreateArrivalByCredentialApplicationErrors, ArrivalsQueryBuilder, ArrivalQuery, typedQueryArrivals } from './index.typings.mjs';
|
|
3
|
-
export { AccountInfo, ActionEvent, AreaInfo, ArrivalGrantedByOneOf, ArrivalQuerySpec, ArrivalSource, ArrivalsQueryResult, CheckEligibilityByCredentialOptionsCredentialOneOf, CheckEligibilityByCredentialRequest, CheckEligibilityByCredentialRequestCredentialOneOf, CheckEligibilityRequest, CommonIdentificationData, CommonIdentificationDataIdOneOf, CommonQueryWithEntityContext, ContactDetails, CountArrivalsRequest, CreateArrivalByCredentialOptionsCredentialOneOf, CreateArrivalByCredentialRequest, CreateArrivalByCredentialRequestCredentialOneOf, CreateArrivalRequest, CreateArrivalResponse, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, DenialOverride, DomainEvent, DomainEventBodyOneOf, EligibilityDetails, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EntryIssue, EntryIssueWithLiterals, GetArrivalRequest, GetArrivalResponse, IdentificationData, IdentificationDataIdOneOf, IdentificationMethod, IdentificationMethodWithLiterals, IdentityType, IdentityTypeWithLiterals, MessageEnvelope, MissingIntakeForm, OverrideArrivalAsGrantedRequest, PlanBenefit, PlanBenefitEligibility, PlanBenefitIssue, PlanBenefitIssueWithLiterals, PlanBenefitType, PlanBenefitTypeWithLiterals, PresentedIdentifier, QueryArrivalsRequest, QueryArrivalsResponse, RecentArrival, RestoreInfo, ScheduledEvent, ScheduledEventEligibility, ScheduledEventIssue, ScheduledEventIssueWithLiterals, ScheduledEventSearchWindow, SortOrder, SortOrderWithLiterals, Sorting, Status, StatusWithLiterals, Type, TypeWithLiterals, WebhookIdentityType, WebhookIdentityTypeWithLiterals, utils } from './index.typings.mjs';
|
|
3
|
+
export { AccountInfo, ActionEvent, AreaInfo, ArrivalGrantedByOneOf, ArrivalQuerySpec, ArrivalSource, ArrivalsQueryResult, CheckEligibilityByCredentialOptionsCredentialOneOf, CheckEligibilityByCredentialRequest, CheckEligibilityByCredentialRequestCredentialOneOf, CheckEligibilityRequest, CommonIdentificationData, CommonIdentificationDataIdOneOf, CommonQueryWithEntityContext, ContactDetails, CountArrivalsRequest, CreateArrivalByCredentialOptionsCredentialOneOf, CreateArrivalByCredentialRequest, CreateArrivalByCredentialRequestCredentialOneOf, CreateArrivalRequest, CreateArrivalResponse, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, DenialOverride, DomainEvent, DomainEventBodyOneOf, EligibilityDetails, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EntryIssue, EntryIssueWithLiterals, GetArrivalRequest, GetArrivalResponse, IdentificationData, IdentificationDataIdOneOf, IdentificationMethod, IdentificationMethodWithLiterals, IdentityType, IdentityTypeWithLiterals, MessageEnvelope, MissingIntakeForm, OverrideArrivalAsGrantedRequest, PlanBenefit, PlanBenefitEligibility, PlanBenefitIssue, PlanBenefitIssueWithLiterals, PlanBenefitType, PlanBenefitTypeWithLiterals, PresentedIdentifier, QueryArrivalsApplicationErrors, QueryArrivalsRequest, QueryArrivalsResponse, RecentArrival, RestoreInfo, ScheduledEvent, ScheduledEventEligibility, ScheduledEventIssue, ScheduledEventIssueWithLiterals, ScheduledEventSearchWindow, SortOrder, SortOrderWithLiterals, Sorting, Status, StatusWithLiterals, Type, TypeWithLiterals, WebhookIdentityType, WebhookIdentityTypeWithLiterals, utils } from './index.typings.mjs';
|
|
4
4
|
|
|
5
5
|
/** @internal */
|
|
6
6
|
declare function createArrival$1(httpClient: HttpClient): CreateArrivalSignature;
|
|
@@ -131,9 +131,12 @@ interface CountArrivalsSignature {
|
|
|
131
131
|
/**
|
|
132
132
|
* Counts arrivals matching a filter, for dashboard tiles such as "granted today" and "denied today".
|
|
133
133
|
*
|
|
134
|
-
* The filter accepts the same fields as Query Arrivals. To count denials, filter `status` `DENIED
|
|
134
|
+
* The filter accepts the same fields as Query Arrivals. To count denials, filter `status` `DENIED` with a `createdDate` lower bound; an
|
|
135
135
|
* arrival that staff overrode is `GRANTED`, since its status moved, and is counted with the grants. To count
|
|
136
|
-
* overrides, filter `{ "overriddenBy.wixUserId": { "$exists": true } }
|
|
136
|
+
* overrides, filter `{ "overriddenBy.wixUserId": { "$exists": true } }` with a `createdDate` lower bound.
|
|
137
|
+
* A filter on `status`, `source.identifiedBy`, `eligibilityDetails.issues`, `planBenefit.poolId`, `planBenefit.benefitKey`,
|
|
138
|
+
* `planBenefit.type` or `overriddenBy.wixUserId`, fields with no index, must also have a lower bound on `createdDate`
|
|
139
|
+
* (`$gt` or `$gte`) no more than 400 days ago, as on Query Arrivals; otherwise the call fails with `CREATED_DATE_LOWER_BOUND_REQUIRED`.
|
|
137
140
|
* Counting more than 100,000 arrivals fails with `TOO_MANY_TO_COUNT`; narrow the filter, for example by
|
|
138
141
|
* `createdDate`.
|
|
139
142
|
*/
|
|
@@ -1016,7 +1016,17 @@ type CheckEligibilityApplicationErrors = {
|
|
|
1016
1016
|
data?: Record<string, any>;
|
|
1017
1017
|
};
|
|
1018
1018
|
/** @docsIgnore */
|
|
1019
|
+
type QueryArrivalsApplicationErrors = {
|
|
1020
|
+
code?: 'CREATED_DATE_LOWER_BOUND_REQUIRED';
|
|
1021
|
+
description?: string;
|
|
1022
|
+
data?: Record<string, any>;
|
|
1023
|
+
};
|
|
1024
|
+
/** @docsIgnore */
|
|
1019
1025
|
type CountArrivalsApplicationErrors = {
|
|
1026
|
+
code?: 'CREATED_DATE_LOWER_BOUND_REQUIRED';
|
|
1027
|
+
description?: string;
|
|
1028
|
+
data?: Record<string, any>;
|
|
1029
|
+
} | {
|
|
1020
1030
|
code?: 'TOO_MANY_TO_COUNT';
|
|
1021
1031
|
description?: string;
|
|
1022
1032
|
data?: Record<string, any>;
|
|
@@ -1253,9 +1263,15 @@ declare function getArrival(arrivalId: string): Promise<NonNullablePaths<Arrival
|
|
|
1253
1263
|
* `{ "eligibilityDetails.issues": { "$hasSome": ["INTAKE_FORM_MISSING"] } }` for the arrivals where a
|
|
1254
1264
|
* form was missing; filtering on it requires the `arrivals:v1:arrival:read_eligibility_details` permission, like reading it.
|
|
1255
1265
|
* An arrival staff overrode has `status` `GRANTED` and `overriddenBy`, and an `overrideReason` only when staff gave
|
|
1256
|
-
* one. To find overrides, filter `overriddenBy.wixUserId
|
|
1257
|
-
*
|
|
1258
|
-
*
|
|
1266
|
+
* one. To find overrides, filter `overriddenBy.wixUserId` with a `createdDate` lower bound:
|
|
1267
|
+
* `{ "overriddenBy.wixUserId": { "$exists": true }, "createdDate": { "$gte": "2026-11-09T00:00:00Z" } }` finds
|
|
1268
|
+
* every override since that time, and a user ID in place of `$exists` finds those of one staff member.
|
|
1269
|
+
*
|
|
1270
|
+
* `status`, `source.identifiedBy`, `eligibilityDetails.issues`, `planBenefit.poolId`, `planBenefit.benefitKey`,
|
|
1271
|
+
* `planBenefit.type` and `overriddenBy.wixUserId` have no index. A filter on any of them, or a sort on any but `overriddenBy.wixUserId` (filter only), must also have a lower
|
|
1272
|
+
* bound on `createdDate` (`$gt` or `$gte`) no more than 400 days ago, at the top level or in an `$and`; otherwise the
|
|
1273
|
+
* request fails with `CREATED_DATE_LOWER_BOUND_REQUIRED`. A bound inside an `$or` counts only when every branch has one. A next page,
|
|
1274
|
+
* requested with its cursor, is not checked again.
|
|
1259
1275
|
*
|
|
1260
1276
|
* To learn how to query arrivals, see [API Query Language][2].
|
|
1261
1277
|
*
|
|
@@ -1344,7 +1360,9 @@ interface ArrivalsQueryBuilder {
|
|
|
1344
1360
|
* @fqn wix.arrivals.v1.ArrivalsService.QueryArrivals
|
|
1345
1361
|
* @requiredField query
|
|
1346
1362
|
*/
|
|
1347
|
-
declare function typedQueryArrivals(query: ArrivalQuery): Promise<NonNullablePaths<QueryArrivalsResponse, `arrivals` | `arrivals.${number}.planBenefit.poolId` | `arrivals.${number}.planBenefit.benefitKey` | `arrivals.${number}.planBenefit.displayName` | `arrivals.${number}.planBenefit.type` | `arrivals.${number}.scheduledEvent.eventId` | `arrivals.${number}.scheduledEvent.displayName` | `arrivals.${number}.scheduledEvent.appId` | `arrivals.${number}.contactDetails.contactId` | `arrivals.${number}.source.identifiedBy` | `arrivals.${number}.source.createdBy.anonymousVisitorId` | `arrivals.${number}.source.createdBy.memberId` | `arrivals.${number}.source.createdBy.wixUserId` | `arrivals.${number}.source.createdBy.appId` | `arrivals.${number}.area._id` | `arrivals.${number}.area.locationId` | `arrivals.${number}.area.name` | `arrivals.${number}.area.entranceId` | `arrivals.${number}.area.entranceName` | `arrivals.${number}.status`, 4
|
|
1363
|
+
declare function typedQueryArrivals(query: ArrivalQuery): Promise<NonNullablePaths<QueryArrivalsResponse, `arrivals` | `arrivals.${number}.planBenefit.poolId` | `arrivals.${number}.planBenefit.benefitKey` | `arrivals.${number}.planBenefit.displayName` | `arrivals.${number}.planBenefit.type` | `arrivals.${number}.scheduledEvent.eventId` | `arrivals.${number}.scheduledEvent.displayName` | `arrivals.${number}.scheduledEvent.appId` | `arrivals.${number}.contactDetails.contactId` | `arrivals.${number}.source.identifiedBy` | `arrivals.${number}.source.createdBy.anonymousVisitorId` | `arrivals.${number}.source.createdBy.memberId` | `arrivals.${number}.source.createdBy.wixUserId` | `arrivals.${number}.source.createdBy.appId` | `arrivals.${number}.area._id` | `arrivals.${number}.area.locationId` | `arrivals.${number}.area.name` | `arrivals.${number}.area.entranceId` | `arrivals.${number}.area.entranceName` | `arrivals.${number}.status`, 4> & {
|
|
1364
|
+
__applicationErrorsType?: QueryArrivalsApplicationErrors;
|
|
1365
|
+
}>;
|
|
1348
1366
|
interface ArrivalQuerySpec extends QuerySpec {
|
|
1349
1367
|
paging: 'cursor';
|
|
1350
1368
|
wql: [
|
|
@@ -1429,9 +1447,12 @@ declare const utils: {
|
|
|
1429
1447
|
/**
|
|
1430
1448
|
* Counts arrivals matching a filter, for dashboard tiles such as "granted today" and "denied today".
|
|
1431
1449
|
*
|
|
1432
|
-
* The filter accepts the same fields as Query Arrivals. To count denials, filter `status` `DENIED
|
|
1450
|
+
* The filter accepts the same fields as Query Arrivals. To count denials, filter `status` `DENIED` with a `createdDate` lower bound; an
|
|
1433
1451
|
* arrival that staff overrode is `GRANTED`, since its status moved, and is counted with the grants. To count
|
|
1434
|
-
* overrides, filter `{ "overriddenBy.wixUserId": { "$exists": true } }
|
|
1452
|
+
* overrides, filter `{ "overriddenBy.wixUserId": { "$exists": true } }` with a `createdDate` lower bound.
|
|
1453
|
+
* A filter on `status`, `source.identifiedBy`, `eligibilityDetails.issues`, `planBenefit.poolId`, `planBenefit.benefitKey`,
|
|
1454
|
+
* `planBenefit.type` or `overriddenBy.wixUserId`, fields with no index, must also have a lower bound on `createdDate`
|
|
1455
|
+
* (`$gt` or `$gte`) no more than 400 days ago, as on Query Arrivals; otherwise the call fails with `CREATED_DATE_LOWER_BOUND_REQUIRED`.
|
|
1435
1456
|
* Counting more than 100,000 arrivals fails with `TOO_MANY_TO_COUNT`; narrow the filter, for example by
|
|
1436
1457
|
* `createdDate`.
|
|
1437
1458
|
* @internal
|
|
@@ -1550,4 +1571,4 @@ interface CreateArrivalByCredentialOptionsCredentialOneOf {
|
|
|
1550
1571
|
identifier?: PresentedIdentifier;
|
|
1551
1572
|
}
|
|
1552
1573
|
|
|
1553
|
-
export { type AccountInfo, type ActionEvent, type AreaInfo, type Arrival, type ArrivalGrantedByOneOf, type ArrivalQuery, type ArrivalQuerySpec, type ArrivalSource, type ArrivalsQueryBuilder, type ArrivalsQueryResult, type CheckEligibilityApplicationErrors, type CheckEligibilityByCredentialApplicationErrors, type CheckEligibilityByCredentialOptions, type CheckEligibilityByCredentialOptionsCredentialOneOf, type CheckEligibilityByCredentialRequest, type CheckEligibilityByCredentialRequestCredentialOneOf, type CheckEligibilityByCredentialResponse, type CheckEligibilityOptions, type CheckEligibilityRequest, type CheckEligibilityResponse, type CommonIdentificationData, type CommonIdentificationDataIdOneOf, type CommonQueryWithEntityContext, type ContactDetails, type CountArrivalsApplicationErrors, type CountArrivalsOptions, type CountArrivalsRequest, type CountArrivalsResponse, type CreateArrivalApplicationErrors, type CreateArrivalByCredentialApplicationErrors, type CreateArrivalByCredentialOptions, type CreateArrivalByCredentialOptionsCredentialOneOf, type CreateArrivalByCredentialRequest, type CreateArrivalByCredentialRequestCredentialOneOf, type CreateArrivalByCredentialResponse, type CreateArrivalOptions, type CreateArrivalRequest, type CreateArrivalResponse, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type DenialOverride, type DomainEvent, type DomainEventBodyOneOf, type EligibilityDetails, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, EntryIssue, type EntryIssueWithLiterals, type GetArrivalRequest, type GetArrivalResponse, type IdentificationData, type IdentificationDataIdOneOf, IdentificationMethod, type IdentificationMethodWithLiterals, IdentityType, type IdentityTypeWithLiterals, type MessageEnvelope, type MissingIntakeForm, type OverrideArrivalAsGrantedApplicationErrors, type OverrideArrivalAsGrantedOptions, type OverrideArrivalAsGrantedRequest, type OverrideArrivalAsGrantedResponse, type PlanBenefit, type PlanBenefitEligibility, PlanBenefitIssue, type PlanBenefitIssueWithLiterals, PlanBenefitType, type PlanBenefitTypeWithLiterals, type PresentedIdentifier, type QueryArrivalsRequest, type QueryArrivalsResponse, type RecentArrival, type RestoreInfo, type ScheduledEvent, type ScheduledEventEligibility, ScheduledEventIssue, type ScheduledEventIssueWithLiterals, type ScheduledEventSearchWindow, SortOrder, type SortOrderWithLiterals, type Sorting, Status, type StatusWithLiterals, Type, type TypeWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, checkEligibility, checkEligibilityByCredential, countArrivals, createArrival, createArrivalByCredential, getArrival, overrideArrivalAsGranted, queryArrivals, typedQueryArrivals, utils };
|
|
1574
|
+
export { type AccountInfo, type ActionEvent, type AreaInfo, type Arrival, type ArrivalGrantedByOneOf, type ArrivalQuery, type ArrivalQuerySpec, type ArrivalSource, type ArrivalsQueryBuilder, type ArrivalsQueryResult, type CheckEligibilityApplicationErrors, type CheckEligibilityByCredentialApplicationErrors, type CheckEligibilityByCredentialOptions, type CheckEligibilityByCredentialOptionsCredentialOneOf, type CheckEligibilityByCredentialRequest, type CheckEligibilityByCredentialRequestCredentialOneOf, type CheckEligibilityByCredentialResponse, type CheckEligibilityOptions, type CheckEligibilityRequest, type CheckEligibilityResponse, type CommonIdentificationData, type CommonIdentificationDataIdOneOf, type CommonQueryWithEntityContext, type ContactDetails, type CountArrivalsApplicationErrors, type CountArrivalsOptions, type CountArrivalsRequest, type CountArrivalsResponse, type CreateArrivalApplicationErrors, type CreateArrivalByCredentialApplicationErrors, type CreateArrivalByCredentialOptions, type CreateArrivalByCredentialOptionsCredentialOneOf, type CreateArrivalByCredentialRequest, type CreateArrivalByCredentialRequestCredentialOneOf, type CreateArrivalByCredentialResponse, type CreateArrivalOptions, type CreateArrivalRequest, type CreateArrivalResponse, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type DenialOverride, type DomainEvent, type DomainEventBodyOneOf, type EligibilityDetails, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, EntryIssue, type EntryIssueWithLiterals, type GetArrivalRequest, type GetArrivalResponse, type IdentificationData, type IdentificationDataIdOneOf, IdentificationMethod, type IdentificationMethodWithLiterals, IdentityType, type IdentityTypeWithLiterals, type MessageEnvelope, type MissingIntakeForm, type OverrideArrivalAsGrantedApplicationErrors, type OverrideArrivalAsGrantedOptions, type OverrideArrivalAsGrantedRequest, type OverrideArrivalAsGrantedResponse, type PlanBenefit, type PlanBenefitEligibility, PlanBenefitIssue, type PlanBenefitIssueWithLiterals, PlanBenefitType, type PlanBenefitTypeWithLiterals, type PresentedIdentifier, type QueryArrivalsApplicationErrors, type QueryArrivalsRequest, type QueryArrivalsResponse, type RecentArrival, type RestoreInfo, type ScheduledEvent, type ScheduledEventEligibility, ScheduledEventIssue, type ScheduledEventIssueWithLiterals, type ScheduledEventSearchWindow, SortOrder, type SortOrderWithLiterals, type Sorting, Status, type StatusWithLiterals, Type, type TypeWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, checkEligibility, checkEligibilityByCredential, countArrivals, createArrival, createArrivalByCredential, getArrival, overrideArrivalAsGranted, queryArrivals, typedQueryArrivals, utils };
|
|
@@ -1094,7 +1094,17 @@ type CheckEligibilityApplicationErrors = {
|
|
|
1094
1094
|
data?: Record<string, any>;
|
|
1095
1095
|
};
|
|
1096
1096
|
/** @docsIgnore */
|
|
1097
|
+
type QueryArrivalsApplicationErrors = {
|
|
1098
|
+
code?: 'CREATED_DATE_LOWER_BOUND_REQUIRED';
|
|
1099
|
+
description?: string;
|
|
1100
|
+
data?: Record<string, any>;
|
|
1101
|
+
};
|
|
1102
|
+
/** @docsIgnore */
|
|
1097
1103
|
type CountArrivalsApplicationErrors = {
|
|
1104
|
+
code?: 'CREATED_DATE_LOWER_BOUND_REQUIRED';
|
|
1105
|
+
description?: string;
|
|
1106
|
+
data?: Record<string, any>;
|
|
1107
|
+
} | {
|
|
1098
1108
|
code?: 'TOO_MANY_TO_COUNT';
|
|
1099
1109
|
description?: string;
|
|
1100
1110
|
data?: Record<string, any>;
|
|
@@ -1175,4 +1185,4 @@ declare function countArrivals(): __PublicMethodMetaInfo<'POST', {}, CountArriva
|
|
|
1175
1185
|
declare function checkEligibilityByCredential(): __PublicMethodMetaInfo<'POST', {}, CheckEligibilityByCredentialRequest$1, CheckEligibilityByCredentialRequest, CheckEligibilityByCredentialResponse$1, CheckEligibilityByCredentialResponse>;
|
|
1176
1186
|
declare function createArrivalByCredential(): __PublicMethodMetaInfo<'POST', {}, CreateArrivalByCredentialRequest$1, CreateArrivalByCredentialRequest, CreateArrivalByCredentialResponse$1, CreateArrivalByCredentialResponse>;
|
|
1177
1187
|
|
|
1178
|
-
export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type AreaInfo as AreaInfoOriginal, type ArrivalGrantedByOneOf as ArrivalGrantedByOneOfOriginal, type Arrival as ArrivalOriginal, type ArrivalSource as ArrivalSourceOriginal, type CheckEligibilityApplicationErrors as CheckEligibilityApplicationErrorsOriginal, type CheckEligibilityByCredentialApplicationErrors as CheckEligibilityByCredentialApplicationErrorsOriginal, type CheckEligibilityByCredentialRequestCredentialOneOf as CheckEligibilityByCredentialRequestCredentialOneOfOriginal, type CheckEligibilityByCredentialRequest as CheckEligibilityByCredentialRequestOriginal, type CheckEligibilityByCredentialResponse as CheckEligibilityByCredentialResponseOriginal, type CheckEligibilityRequest as CheckEligibilityRequestOriginal, type CheckEligibilityResponse as CheckEligibilityResponseOriginal, type CommonIdentificationDataIdOneOf as CommonIdentificationDataIdOneOfOriginal, type CommonIdentificationData as CommonIdentificationDataOriginal, type ContactDetails as ContactDetailsOriginal, type CountArrivalsApplicationErrors as CountArrivalsApplicationErrorsOriginal, type CountArrivalsRequest as CountArrivalsRequestOriginal, type CountArrivalsResponse as CountArrivalsResponseOriginal, type CreateArrivalApplicationErrors as CreateArrivalApplicationErrorsOriginal, type CreateArrivalByCredentialApplicationErrors as CreateArrivalByCredentialApplicationErrorsOriginal, type CreateArrivalByCredentialRequestCredentialOneOf as CreateArrivalByCredentialRequestCredentialOneOfOriginal, type CreateArrivalByCredentialRequest as CreateArrivalByCredentialRequestOriginal, type CreateArrivalByCredentialResponse as CreateArrivalByCredentialResponseOriginal, type CreateArrivalRequest as CreateArrivalRequestOriginal, type CreateArrivalResponse as CreateArrivalResponseOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type CursorQuery as CursorQueryOriginal, type CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal, type Cursors as CursorsOriginal, type DenialOverride as DenialOverrideOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type EligibilityDetails as EligibilityDetailsOriginal, type Empty as EmptyOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, EntryIssue as EntryIssueOriginal, type EntryIssueWithLiterals as EntryIssueWithLiteralsOriginal, type GetArrivalRequest as GetArrivalRequestOriginal, type GetArrivalResponse as GetArrivalResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, IdentificationMethod as IdentificationMethodOriginal, type IdentificationMethodWithLiterals as IdentificationMethodWithLiteralsOriginal, IdentityType as IdentityTypeOriginal, type IdentityTypeWithLiterals as IdentityTypeWithLiteralsOriginal, type Image as ImageOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type MissingIntakeForm as MissingIntakeFormOriginal, type OverrideArrivalAsGrantedApplicationErrors as OverrideArrivalAsGrantedApplicationErrorsOriginal, type OverrideArrivalAsGrantedRequest as OverrideArrivalAsGrantedRequestOriginal, type OverrideArrivalAsGrantedResponse as OverrideArrivalAsGrantedResponseOriginal, type PlanBenefitEligibility as PlanBenefitEligibilityOriginal, PlanBenefitIssue as PlanBenefitIssueOriginal, type PlanBenefitIssueWithLiterals as PlanBenefitIssueWithLiteralsOriginal, type PlanBenefit as PlanBenefitOriginal, PlanBenefitType as PlanBenefitTypeOriginal, type PlanBenefitTypeWithLiterals as PlanBenefitTypeWithLiteralsOriginal, type PresentedIdentifier as PresentedIdentifierOriginal, type QueryArrivalsRequest as QueryArrivalsRequestOriginal, type QueryArrivalsResponse as QueryArrivalsResponseOriginal, type RecentArrival as RecentArrivalOriginal, type RestoreInfo as RestoreInfoOriginal, type ScheduledEventEligibility as ScheduledEventEligibilityOriginal, ScheduledEventIssue as ScheduledEventIssueOriginal, type ScheduledEventIssueWithLiterals as ScheduledEventIssueWithLiteralsOriginal, type ScheduledEvent as ScheduledEventOriginal, type ScheduledEventSearchWindow as ScheduledEventSearchWindowOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, Status as StatusOriginal, type StatusWithLiterals as StatusWithLiteralsOriginal, Type as TypeOriginal, type TypeWithLiterals as TypeWithLiteralsOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type __PublicMethodMetaInfo, checkEligibility, checkEligibilityByCredential, countArrivals, createArrival, createArrivalByCredential, getArrival, overrideArrivalAsGranted, queryArrivals };
|
|
1188
|
+
export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type AreaInfo as AreaInfoOriginal, type ArrivalGrantedByOneOf as ArrivalGrantedByOneOfOriginal, type Arrival as ArrivalOriginal, type ArrivalSource as ArrivalSourceOriginal, type CheckEligibilityApplicationErrors as CheckEligibilityApplicationErrorsOriginal, type CheckEligibilityByCredentialApplicationErrors as CheckEligibilityByCredentialApplicationErrorsOriginal, type CheckEligibilityByCredentialRequestCredentialOneOf as CheckEligibilityByCredentialRequestCredentialOneOfOriginal, type CheckEligibilityByCredentialRequest as CheckEligibilityByCredentialRequestOriginal, type CheckEligibilityByCredentialResponse as CheckEligibilityByCredentialResponseOriginal, type CheckEligibilityRequest as CheckEligibilityRequestOriginal, type CheckEligibilityResponse as CheckEligibilityResponseOriginal, type CommonIdentificationDataIdOneOf as CommonIdentificationDataIdOneOfOriginal, type CommonIdentificationData as CommonIdentificationDataOriginal, type ContactDetails as ContactDetailsOriginal, type CountArrivalsApplicationErrors as CountArrivalsApplicationErrorsOriginal, type CountArrivalsRequest as CountArrivalsRequestOriginal, type CountArrivalsResponse as CountArrivalsResponseOriginal, type CreateArrivalApplicationErrors as CreateArrivalApplicationErrorsOriginal, type CreateArrivalByCredentialApplicationErrors as CreateArrivalByCredentialApplicationErrorsOriginal, type CreateArrivalByCredentialRequestCredentialOneOf as CreateArrivalByCredentialRequestCredentialOneOfOriginal, type CreateArrivalByCredentialRequest as CreateArrivalByCredentialRequestOriginal, type CreateArrivalByCredentialResponse as CreateArrivalByCredentialResponseOriginal, type CreateArrivalRequest as CreateArrivalRequestOriginal, type CreateArrivalResponse as CreateArrivalResponseOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type CursorQuery as CursorQueryOriginal, type CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal, type Cursors as CursorsOriginal, type DenialOverride as DenialOverrideOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type EligibilityDetails as EligibilityDetailsOriginal, type Empty as EmptyOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, EntryIssue as EntryIssueOriginal, type EntryIssueWithLiterals as EntryIssueWithLiteralsOriginal, type GetArrivalRequest as GetArrivalRequestOriginal, type GetArrivalResponse as GetArrivalResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, IdentificationMethod as IdentificationMethodOriginal, type IdentificationMethodWithLiterals as IdentificationMethodWithLiteralsOriginal, IdentityType as IdentityTypeOriginal, type IdentityTypeWithLiterals as IdentityTypeWithLiteralsOriginal, type Image as ImageOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type MissingIntakeForm as MissingIntakeFormOriginal, type OverrideArrivalAsGrantedApplicationErrors as OverrideArrivalAsGrantedApplicationErrorsOriginal, type OverrideArrivalAsGrantedRequest as OverrideArrivalAsGrantedRequestOriginal, type OverrideArrivalAsGrantedResponse as OverrideArrivalAsGrantedResponseOriginal, type PlanBenefitEligibility as PlanBenefitEligibilityOriginal, PlanBenefitIssue as PlanBenefitIssueOriginal, type PlanBenefitIssueWithLiterals as PlanBenefitIssueWithLiteralsOriginal, type PlanBenefit as PlanBenefitOriginal, PlanBenefitType as PlanBenefitTypeOriginal, type PlanBenefitTypeWithLiterals as PlanBenefitTypeWithLiteralsOriginal, type PresentedIdentifier as PresentedIdentifierOriginal, type QueryArrivalsApplicationErrors as QueryArrivalsApplicationErrorsOriginal, type QueryArrivalsRequest as QueryArrivalsRequestOriginal, type QueryArrivalsResponse as QueryArrivalsResponseOriginal, type RecentArrival as RecentArrivalOriginal, type RestoreInfo as RestoreInfoOriginal, type ScheduledEventEligibility as ScheduledEventEligibilityOriginal, ScheduledEventIssue as ScheduledEventIssueOriginal, type ScheduledEventIssueWithLiterals as ScheduledEventIssueWithLiteralsOriginal, type ScheduledEvent as ScheduledEventOriginal, type ScheduledEventSearchWindow as ScheduledEventSearchWindowOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, Status as StatusOriginal, type StatusWithLiterals as StatusWithLiteralsOriginal, Type as TypeOriginal, type TypeWithLiterals as TypeWithLiteralsOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type __PublicMethodMetaInfo, checkEligibility, checkEligibilityByCredential, countArrivals, createArrival, createArrivalByCredential, getArrival, overrideArrivalAsGranted, queryArrivals };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_arrivals_arrivals",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.13",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"fqdn": "wix.arrivals.v1.arrival"
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
|
-
"falconPackageHash": "
|
|
53
|
+
"falconPackageHash": "5c383a4ec2b58f9120dc91cb538965a14c50272a6db80596902fbf51"
|
|
54
54
|
}
|