@wix/auto_sdk_restaurants_fulfillment-methods 1.0.67 → 1.0.68

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.
@@ -2,9 +2,7 @@ import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTF
2
2
  import { FulfillmentMethod, BulkCreateFulfillmentMethodsOptions, BulkCreateFulfillmentMethodsResponse, UpdateFulfillmentMethod, ListFulfillmentMethodsOptions, ListFulfillmentMethodsResponse, ListAvailableFulfillmentMethodsForAddressOptions, ListAvailableFulfillmentMethodsForAddressResponse, GetAccumulatedFulfillmentMethodsAvailabilityOptions, GetAccumulatedFulfillmentMethodsAvailabilityResponse, GetCombinedMethodAvailabilityResponse, GetAggregatedMethodAvailabilityResponse, BulkUpdateFulfillmentMethodTagsOptions, BulkUpdateFulfillmentMethodTagsResponse, BulkUpdateFulfillmentMethodTagsApplicationErrors, BulkUpdateFulfillmentMethodTagsByFilterOptions, BulkUpdateFulfillmentMethodTagsByFilterResponse, BulkUpdateFulfillmentMethodTagsByFilterApplicationErrors, FulfillmentMethodCreatedEnvelope, FulfillmentMethodDeletedEnvelope, FulfillmentMethodUpdatedEnvelope, FulfillmentMethodQuery, QueryFulfillmentMethodsOptions, typedQueryFulfillmentMethods, FulfillmentMethodsQueryBuilder } from './index.typings.js';
3
3
  export { AccountInfo, AccountInfoMetadata, ActionEvent, AdditionalInfoLabel, AdditionalInfoLabelWithLiterals, Address, AddressHint, AddressLocation, App, ApplicationError, Availability, BaseEventMetadata, BulkActionMetadata, BulkCreateFulfillmentMethodResult, BulkCreateFulfillmentMethodsRequest, BulkUpdateFulfillmentMethodTagsByFilterRequest, BulkUpdateFulfillmentMethodTagsRequest, BulkUpdateFulfillmentMethodTagsResult, BusinessSchedule, Categories, ChangeContext, ChangeContextPayloadOneOf, CommonAddress, CommonAddressStreetOneOf, CommonBulkActionMetadata, CommonItemMetadata, CommonQueryWithEntityContext, ConsentPolicy, CreateFulfillmentMethodRequest, CreateFulfillmentMethodResponse, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, CustomArea, CustomConfig, CustomTag, DayOfWeek, DayOfWeekAvailability, DayOfWeekWithLiterals, DeleteFulfillmentMethodRequest, DeleteFulfillmentMethodResponse, DeliveryArea, DeliveryAreaAreaOptionsOneOf, DeliveryInfo, DineInInfo, DineInInfoAdditionalInfoLabelOptionsOneOf, DomainEvent, DomainEventBodyOneOf, Empty, EntitiesDayOfWeek, EntitiesDayOfWeekWithLiterals, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields, File, FulfillmentMethodMethodOptionsOneOf, FulfillmentMethodQuerySpec, FulfillmentMethodType, FulfillmentMethodTypeWithLiterals, FulfillmentMethodsQueryResult, GeoCoordinates, GetAccumulatedFulfillmentMethodsAvailabilityRequest, GetAggregatedMethodAvailabilityRequest, GetCombinedMethodAvailabilityRequest, GetFulfillmentMethodRequest, GetFulfillmentMethodResponse, IdentificationData, IdentificationDataIdOneOf, InvalidateCache, InvalidateCacheGetByOneOf, ItemMetadata, ListActiveFulfillmentMethodsRequest, ListActiveFulfillmentMethodsResponse, ListAvailableFulfillmentMethodsForAddressRequest, ListFulfillmentMethodsRequest, Locale, MessageEnvelope, Multilingual, Page, Pages, PickupInfo, PlacementType, PlacementTypeWithLiterals, PostalCode, Properties, PropertiesChange, QueryFulfillmentMethodsRequest, QueryFulfillmentMethodsResponse, Radius, ResolutionMethod, ResolutionMethodWithLiterals, RestoreInfo, SiteCloned, SiteCreated, SitePropertiesEvent, SitePropertiesNotification, SortOrder, SortOrderWithLiterals, Sorting, SpecialHourPeriod, StreetAddress, Subdivision, SubdivisionType, SubdivisionTypeWithLiterals, SupportedLanguage, TagList, Tags, TimeOfDay, TimeOfDayRange, TimePeriod, Translation, Type, TypeWithLiterals, URI, URIs, Unit, UnitWithLiterals, UpdateFulfillmentMethodRequest, UpdateFulfillmentMethodResponse, WebhookIdentityType, WebhookIdentityTypeWithLiterals, utils } from './index.typings.js';
4
4
 
5
- declare function createFulfillmentMethod$1(httpClient: HttpClient, __options?: {
6
- validateRequestSchema?: boolean;
7
- }): CreateFulfillmentMethodSignature;
5
+ declare function createFulfillmentMethod$1(httpClient: HttpClient): CreateFulfillmentMethodSignature;
8
6
  interface CreateFulfillmentMethodSignature {
9
7
  /**
10
8
  * Creates a new fulfillment method.
@@ -15,18 +13,14 @@ interface CreateFulfillmentMethodSignature {
15
13
  */
16
14
  (fulfillmentMethod: NonNullablePaths<FulfillmentMethod, `deliveryOptions.deliveryArea` | `deliveryOptions.deliveryArea.postalCodeOptions.countryCode` | `deliveryOptions.deliveryArea.radiusOptions.centerPointAddress` | `deliveryOptions.deliveryArea.radiusOptions.maxDistance`, 5>): Promise<NonNullablePaths<FulfillmentMethod, `pickupOptions.address.streetAddress.number` | `pickupOptions.address.streetAddress.name` | `pickupOptions.address.streetAddress.apt` | `pickupOptions.address.subdivisions` | `pickupOptions.address.subdivisions.${number}.code` | `pickupOptions.address.subdivisions.${number}.name` | `deliveryOptions.deliveryArea.radiusOptions.unit` | `deliveryOptions.deliveryArea.postalCodeOptions.postalCodes` | `deliveryOptions.deliveryArea.customOptions.geocodes` | `deliveryOptions.deliveryArea.type` | `type` | `availability.availableTimes` | `availability.availableTimes.${number}.dayOfWeek` | `tags.privateTags.tagIds`, 6>>;
17
15
  }
18
- declare function bulkCreateFulfillmentMethods$1(httpClient: HttpClient, __options?: {
19
- validateRequestSchema?: boolean;
20
- }): BulkCreateFulfillmentMethodsSignature;
16
+ declare function bulkCreateFulfillmentMethods$1(httpClient: HttpClient): BulkCreateFulfillmentMethodsSignature;
21
17
  interface BulkCreateFulfillmentMethodsSignature {
22
18
  /**
23
19
  * Create multiple fulfillment methods at once.
24
20
  */
25
21
  (options?: BulkCreateFulfillmentMethodsOptions): Promise<NonNullablePaths<BulkCreateFulfillmentMethodsResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.fulfillmentMethod.type` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
26
22
  }
27
- declare function getFulfillmentMethod$1(httpClient: HttpClient, __options?: {
28
- validateRequestSchema?: boolean;
29
- }): GetFulfillmentMethodSignature;
23
+ declare function getFulfillmentMethod$1(httpClient: HttpClient): GetFulfillmentMethodSignature;
30
24
  interface GetFulfillmentMethodSignature {
31
25
  /**
32
26
  * Retrieves a fulfillment method.
@@ -35,9 +29,7 @@ interface GetFulfillmentMethodSignature {
35
29
  */
36
30
  (fulfillmentMethodId: string): Promise<NonNullablePaths<FulfillmentMethod, `pickupOptions.address.streetAddress.number` | `pickupOptions.address.streetAddress.name` | `pickupOptions.address.streetAddress.apt` | `pickupOptions.address.subdivisions` | `pickupOptions.address.subdivisions.${number}.code` | `pickupOptions.address.subdivisions.${number}.name` | `deliveryOptions.deliveryArea.radiusOptions.unit` | `deliveryOptions.deliveryArea.postalCodeOptions.postalCodes` | `deliveryOptions.deliveryArea.customOptions.geocodes` | `deliveryOptions.deliveryArea.type` | `type` | `availability.availableTimes` | `availability.availableTimes.${number}.dayOfWeek` | `tags.privateTags.tagIds`, 6>>;
37
31
  }
38
- declare function updateFulfillmentMethod$1(httpClient: HttpClient, __options?: {
39
- validateRequestSchema?: boolean;
40
- }): UpdateFulfillmentMethodSignature;
32
+ declare function updateFulfillmentMethod$1(httpClient: HttpClient): UpdateFulfillmentMethodSignature;
41
33
  interface UpdateFulfillmentMethodSignature {
42
34
  /**
43
35
  * Updates a fulfillment method.
@@ -49,9 +41,7 @@ interface UpdateFulfillmentMethodSignature {
49
41
  */
50
42
  (_id: string, fulfillmentMethod: NonNullablePaths<UpdateFulfillmentMethod, `revision`, 2>): Promise<NonNullablePaths<FulfillmentMethod, `pickupOptions.address.streetAddress.number` | `pickupOptions.address.streetAddress.name` | `pickupOptions.address.streetAddress.apt` | `pickupOptions.address.subdivisions` | `pickupOptions.address.subdivisions.${number}.code` | `pickupOptions.address.subdivisions.${number}.name` | `deliveryOptions.deliveryArea.radiusOptions.unit` | `deliveryOptions.deliveryArea.postalCodeOptions.postalCodes` | `deliveryOptions.deliveryArea.customOptions.geocodes` | `deliveryOptions.deliveryArea.type` | `type` | `availability.availableTimes` | `availability.availableTimes.${number}.dayOfWeek` | `tags.privateTags.tagIds`, 6>>;
51
43
  }
52
- declare function deleteFulfillmentMethod$1(httpClient: HttpClient, __options?: {
53
- validateRequestSchema?: boolean;
54
- }): DeleteFulfillmentMethodSignature;
44
+ declare function deleteFulfillmentMethod$1(httpClient: HttpClient): DeleteFulfillmentMethodSignature;
55
45
  interface DeleteFulfillmentMethodSignature {
56
46
  /**
57
47
  * Deletes a fulfillment method.
@@ -59,9 +49,7 @@ interface DeleteFulfillmentMethodSignature {
59
49
  */
60
50
  (fulfillmentMethodId: string): Promise<void>;
61
51
  }
62
- declare function listFulfillmentMethods$1(httpClient: HttpClient, __options?: {
63
- validateRequestSchema?: boolean;
64
- }): ListFulfillmentMethodsSignature;
52
+ declare function listFulfillmentMethods$1(httpClient: HttpClient): ListFulfillmentMethodsSignature;
65
53
  interface ListFulfillmentMethodsSignature {
66
54
  /**
67
55
  * Retrieves a list of up to 100 fulfillment methods.
@@ -69,9 +57,7 @@ interface ListFulfillmentMethodsSignature {
69
57
  */
70
58
  (options?: ListFulfillmentMethodsOptions): Promise<NonNullablePaths<ListFulfillmentMethodsResponse, `fulfillmentMethods` | `fulfillmentMethods.${number}.deliveryOptions.deliveryArea.type` | `fulfillmentMethods.${number}.type`, 6>>;
71
59
  }
72
- declare function listAvailableFulfillmentMethodsForAddress$1(httpClient: HttpClient, __options?: {
73
- validateRequestSchema?: boolean;
74
- }): ListAvailableFulfillmentMethodsForAddressSignature;
60
+ declare function listAvailableFulfillmentMethodsForAddress$1(httpClient: HttpClient): ListAvailableFulfillmentMethodsForAddressSignature;
75
61
  interface ListAvailableFulfillmentMethodsForAddressSignature {
76
62
  /**
77
63
  * Retrieves a list of up to 100 fulfillment methods available for a given address.
@@ -83,9 +69,7 @@ interface ListAvailableFulfillmentMethodsForAddressSignature {
83
69
  */
84
70
  (options?: ListAvailableFulfillmentMethodsForAddressOptions): Promise<NonNullablePaths<ListAvailableFulfillmentMethodsForAddressResponse, `fulfillmentMethods` | `fulfillmentMethods.${number}.deliveryOptions.deliveryArea.type` | `fulfillmentMethods.${number}.type`, 6>>;
85
71
  }
86
- declare function getAccumulatedFulfillmentMethodsAvailability$1(httpClient: HttpClient, __options?: {
87
- validateRequestSchema?: boolean;
88
- }): GetAccumulatedFulfillmentMethodsAvailabilitySignature;
72
+ declare function getAccumulatedFulfillmentMethodsAvailability$1(httpClient: HttpClient): GetAccumulatedFulfillmentMethodsAvailabilitySignature;
89
73
  interface GetAccumulatedFulfillmentMethodsAvailabilitySignature {
90
74
  /**
91
75
  * Retrieves the accumulated availability of all fulfillment methods.
@@ -93,9 +77,7 @@ interface GetAccumulatedFulfillmentMethodsAvailabilitySignature {
93
77
  */
94
78
  (options?: GetAccumulatedFulfillmentMethodsAvailabilityOptions): Promise<NonNullablePaths<GetAccumulatedFulfillmentMethodsAvailabilityResponse, `availability.availableTimes` | `availability.availableTimes.${number}.dayOfWeek` | `types`, 5>>;
95
79
  }
96
- declare function getCombinedMethodAvailability$1(httpClient: HttpClient, __options?: {
97
- validateRequestSchema?: boolean;
98
- }): GetCombinedMethodAvailabilitySignature;
80
+ declare function getCombinedMethodAvailability$1(httpClient: HttpClient): GetCombinedMethodAvailabilitySignature;
99
81
  interface GetCombinedMethodAvailabilitySignature {
100
82
  /**
101
83
  * Retrieves the combined availability of a list of fulfillment methods.
@@ -106,9 +88,7 @@ interface GetCombinedMethodAvailabilitySignature {
106
88
  */
107
89
  (fulfillmentMethodIds: string[]): Promise<NonNullablePaths<GetCombinedMethodAvailabilityResponse, `combinedAvailability.availableTimes` | `combinedAvailability.availableTimes.${number}.dayOfWeek` | `fulfillmentTypes`, 5>>;
108
90
  }
109
- declare function getAggregatedMethodAvailability$1(httpClient: HttpClient, __options?: {
110
- validateRequestSchema?: boolean;
111
- }): GetAggregatedMethodAvailabilitySignature;
91
+ declare function getAggregatedMethodAvailability$1(httpClient: HttpClient): GetAggregatedMethodAvailabilitySignature;
112
92
  interface GetAggregatedMethodAvailabilitySignature {
113
93
  /**
114
94
  * Retrieves the aggregated availability of a list of fulfillment methods.
@@ -118,9 +98,7 @@ interface GetAggregatedMethodAvailabilitySignature {
118
98
  */
119
99
  (fulfillmentMethodIds: string[]): Promise<NonNullablePaths<GetAggregatedMethodAvailabilityResponse, `aggregatedAvailability.availableTimes` | `aggregatedAvailability.availableTimes.${number}.dayOfWeek` | `fulfillmentTypes`, 5>>;
120
100
  }
121
- declare function bulkUpdateFulfillmentMethodTags$1(httpClient: HttpClient, __options?: {
122
- validateRequestSchema?: boolean;
123
- }): BulkUpdateFulfillmentMethodTagsSignature;
101
+ declare function bulkUpdateFulfillmentMethodTags$1(httpClient: HttpClient): BulkUpdateFulfillmentMethodTagsSignature;
124
102
  interface BulkUpdateFulfillmentMethodTagsSignature {
125
103
  /**
126
104
  * Synchronously update tags on multiple fulfillment methods.
@@ -131,9 +109,7 @@ interface BulkUpdateFulfillmentMethodTagsSignature {
131
109
  __applicationErrorsType?: BulkUpdateFulfillmentMethodTagsApplicationErrors;
132
110
  }>;
133
111
  }
134
- declare function bulkUpdateFulfillmentMethodTagsByFilter$1(httpClient: HttpClient, __options?: {
135
- validateRequestSchema?: boolean;
136
- }): BulkUpdateFulfillmentMethodTagsByFilterSignature;
112
+ declare function bulkUpdateFulfillmentMethodTagsByFilter$1(httpClient: HttpClient): BulkUpdateFulfillmentMethodTagsByFilterSignature;
137
113
  interface BulkUpdateFulfillmentMethodTagsByFilterSignature {
138
114
  /**
139
115
  * Asynchronously update tags on multiple fulfillment methods according to the specified filter.