@wix/auto_sdk_restaurants_fulfillment-methods 1.0.14 → 1.0.15

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.
Files changed (134) hide show
  1. package/build/index.d.mts +145 -0
  2. package/build/index.d.ts +145 -0
  3. package/build/index.js +1465 -0
  4. package/build/index.js.map +1 -0
  5. package/build/index.mjs +1418 -0
  6. package/build/index.mjs.map +1 -0
  7. package/build/internal/index.d.mts +145 -0
  8. package/build/internal/index.d.ts +145 -0
  9. package/build/internal/index.js +1465 -0
  10. package/build/internal/index.js.map +1 -0
  11. package/build/internal/index.mjs +1418 -0
  12. package/build/internal/index.mjs.map +1 -0
  13. package/build/internal/meta.d.mts +605 -0
  14. package/build/internal/meta.d.ts +605 -0
  15. package/build/internal/meta.js +892 -0
  16. package/build/internal/meta.js.map +1 -0
  17. package/build/internal/meta.mjs +855 -0
  18. package/build/internal/meta.mjs.map +1 -0
  19. package/build/internal/{cjs/src/restaurants-v1-fulfillment-method-fulfillment-methods.universal.d.ts → restaurants-v1-fulfillment-method-fulfillment-methods.universal-BR-AnSyo.d.mts} +117 -367
  20. package/build/internal/{es/src/restaurants-v1-fulfillment-method-fulfillment-methods.universal.d.ts → restaurants-v1-fulfillment-method-fulfillment-methods.universal-BR-AnSyo.d.ts} +117 -367
  21. package/build/meta.d.mts +605 -0
  22. package/build/meta.d.ts +605 -0
  23. package/build/meta.js +892 -0
  24. package/build/meta.js.map +1 -0
  25. package/build/meta.mjs +855 -0
  26. package/build/meta.mjs.map +1 -0
  27. package/build/{cjs/src/restaurants-v1-fulfillment-method-fulfillment-methods.universal.d.ts → restaurants-v1-fulfillment-method-fulfillment-methods.universal-BR-AnSyo.d.mts} +117 -367
  28. package/build/{es/src/restaurants-v1-fulfillment-method-fulfillment-methods.universal.d.ts → restaurants-v1-fulfillment-method-fulfillment-methods.universal-BR-AnSyo.d.ts} +117 -367
  29. package/package.json +13 -12
  30. package/build/cjs/index.d.ts +0 -1
  31. package/build/cjs/index.js +0 -18
  32. package/build/cjs/index.js.map +0 -1
  33. package/build/cjs/index.typings.d.ts +0 -1
  34. package/build/cjs/index.typings.js +0 -18
  35. package/build/cjs/index.typings.js.map +0 -1
  36. package/build/cjs/meta.d.ts +0 -1
  37. package/build/cjs/meta.js +0 -18
  38. package/build/cjs/meta.js.map +0 -1
  39. package/build/cjs/src/restaurants-v1-fulfillment-method-fulfillment-methods.context.d.ts +0 -29
  40. package/build/cjs/src/restaurants-v1-fulfillment-method-fulfillment-methods.context.js +0 -42
  41. package/build/cjs/src/restaurants-v1-fulfillment-method-fulfillment-methods.context.js.map +0 -1
  42. package/build/cjs/src/restaurants-v1-fulfillment-method-fulfillment-methods.http.d.ts +0 -64
  43. package/build/cjs/src/restaurants-v1-fulfillment-method-fulfillment-methods.http.js +0 -689
  44. package/build/cjs/src/restaurants-v1-fulfillment-method-fulfillment-methods.http.js.map +0 -1
  45. package/build/cjs/src/restaurants-v1-fulfillment-method-fulfillment-methods.meta.d.ts +0 -29
  46. package/build/cjs/src/restaurants-v1-fulfillment-method-fulfillment-methods.meta.js +0 -237
  47. package/build/cjs/src/restaurants-v1-fulfillment-method-fulfillment-methods.meta.js.map +0 -1
  48. package/build/cjs/src/restaurants-v1-fulfillment-method-fulfillment-methods.public.d.ts +0 -125
  49. package/build/cjs/src/restaurants-v1-fulfillment-method-fulfillment-methods.public.js +0 -179
  50. package/build/cjs/src/restaurants-v1-fulfillment-method-fulfillment-methods.public.js.map +0 -1
  51. package/build/cjs/src/restaurants-v1-fulfillment-method-fulfillment-methods.types.d.ts +0 -1130
  52. package/build/cjs/src/restaurants-v1-fulfillment-method-fulfillment-methods.types.js +0 -105
  53. package/build/cjs/src/restaurants-v1-fulfillment-method-fulfillment-methods.types.js.map +0 -1
  54. package/build/cjs/src/restaurants-v1-fulfillment-method-fulfillment-methods.universal.js +0 -737
  55. package/build/cjs/src/restaurants-v1-fulfillment-method-fulfillment-methods.universal.js.map +0 -1
  56. package/build/es/index.d.ts +0 -1
  57. package/build/es/index.js +0 -2
  58. package/build/es/index.js.map +0 -1
  59. package/build/es/index.typings.d.ts +0 -1
  60. package/build/es/index.typings.js +0 -2
  61. package/build/es/index.typings.js.map +0 -1
  62. package/build/es/meta.d.ts +0 -1
  63. package/build/es/meta.js +0 -2
  64. package/build/es/meta.js.map +0 -1
  65. package/build/es/package.json +0 -3
  66. package/build/es/src/restaurants-v1-fulfillment-method-fulfillment-methods.context.d.ts +0 -29
  67. package/build/es/src/restaurants-v1-fulfillment-method-fulfillment-methods.context.js +0 -29
  68. package/build/es/src/restaurants-v1-fulfillment-method-fulfillment-methods.context.js.map +0 -1
  69. package/build/es/src/restaurants-v1-fulfillment-method-fulfillment-methods.http.d.ts +0 -64
  70. package/build/es/src/restaurants-v1-fulfillment-method-fulfillment-methods.http.js +0 -675
  71. package/build/es/src/restaurants-v1-fulfillment-method-fulfillment-methods.http.js.map +0 -1
  72. package/build/es/src/restaurants-v1-fulfillment-method-fulfillment-methods.meta.d.ts +0 -29
  73. package/build/es/src/restaurants-v1-fulfillment-method-fulfillment-methods.meta.js +0 -200
  74. package/build/es/src/restaurants-v1-fulfillment-method-fulfillment-methods.meta.js.map +0 -1
  75. package/build/es/src/restaurants-v1-fulfillment-method-fulfillment-methods.public.d.ts +0 -125
  76. package/build/es/src/restaurants-v1-fulfillment-method-fulfillment-methods.public.js +0 -155
  77. package/build/es/src/restaurants-v1-fulfillment-method-fulfillment-methods.public.js.map +0 -1
  78. package/build/es/src/restaurants-v1-fulfillment-method-fulfillment-methods.types.d.ts +0 -1130
  79. package/build/es/src/restaurants-v1-fulfillment-method-fulfillment-methods.types.js +0 -102
  80. package/build/es/src/restaurants-v1-fulfillment-method-fulfillment-methods.types.js.map +0 -1
  81. package/build/es/src/restaurants-v1-fulfillment-method-fulfillment-methods.universal.js +0 -700
  82. package/build/es/src/restaurants-v1-fulfillment-method-fulfillment-methods.universal.js.map +0 -1
  83. package/build/internal/cjs/index.d.ts +0 -1
  84. package/build/internal/cjs/index.js +0 -18
  85. package/build/internal/cjs/index.js.map +0 -1
  86. package/build/internal/cjs/index.typings.d.ts +0 -1
  87. package/build/internal/cjs/index.typings.js +0 -18
  88. package/build/internal/cjs/index.typings.js.map +0 -1
  89. package/build/internal/cjs/meta.d.ts +0 -1
  90. package/build/internal/cjs/meta.js +0 -18
  91. package/build/internal/cjs/meta.js.map +0 -1
  92. package/build/internal/cjs/src/restaurants-v1-fulfillment-method-fulfillment-methods.context.d.ts +0 -29
  93. package/build/internal/cjs/src/restaurants-v1-fulfillment-method-fulfillment-methods.context.js +0 -42
  94. package/build/internal/cjs/src/restaurants-v1-fulfillment-method-fulfillment-methods.context.js.map +0 -1
  95. package/build/internal/cjs/src/restaurants-v1-fulfillment-method-fulfillment-methods.http.d.ts +0 -64
  96. package/build/internal/cjs/src/restaurants-v1-fulfillment-method-fulfillment-methods.http.js +0 -689
  97. package/build/internal/cjs/src/restaurants-v1-fulfillment-method-fulfillment-methods.http.js.map +0 -1
  98. package/build/internal/cjs/src/restaurants-v1-fulfillment-method-fulfillment-methods.meta.d.ts +0 -29
  99. package/build/internal/cjs/src/restaurants-v1-fulfillment-method-fulfillment-methods.meta.js +0 -237
  100. package/build/internal/cjs/src/restaurants-v1-fulfillment-method-fulfillment-methods.meta.js.map +0 -1
  101. package/build/internal/cjs/src/restaurants-v1-fulfillment-method-fulfillment-methods.public.d.ts +0 -125
  102. package/build/internal/cjs/src/restaurants-v1-fulfillment-method-fulfillment-methods.public.js +0 -179
  103. package/build/internal/cjs/src/restaurants-v1-fulfillment-method-fulfillment-methods.public.js.map +0 -1
  104. package/build/internal/cjs/src/restaurants-v1-fulfillment-method-fulfillment-methods.types.d.ts +0 -1130
  105. package/build/internal/cjs/src/restaurants-v1-fulfillment-method-fulfillment-methods.types.js +0 -105
  106. package/build/internal/cjs/src/restaurants-v1-fulfillment-method-fulfillment-methods.types.js.map +0 -1
  107. package/build/internal/cjs/src/restaurants-v1-fulfillment-method-fulfillment-methods.universal.js +0 -737
  108. package/build/internal/cjs/src/restaurants-v1-fulfillment-method-fulfillment-methods.universal.js.map +0 -1
  109. package/build/internal/es/index.d.ts +0 -1
  110. package/build/internal/es/index.js +0 -2
  111. package/build/internal/es/index.js.map +0 -1
  112. package/build/internal/es/index.typings.d.ts +0 -1
  113. package/build/internal/es/index.typings.js +0 -2
  114. package/build/internal/es/index.typings.js.map +0 -1
  115. package/build/internal/es/meta.d.ts +0 -1
  116. package/build/internal/es/meta.js +0 -2
  117. package/build/internal/es/meta.js.map +0 -1
  118. package/build/internal/es/src/restaurants-v1-fulfillment-method-fulfillment-methods.context.d.ts +0 -29
  119. package/build/internal/es/src/restaurants-v1-fulfillment-method-fulfillment-methods.context.js +0 -29
  120. package/build/internal/es/src/restaurants-v1-fulfillment-method-fulfillment-methods.context.js.map +0 -1
  121. package/build/internal/es/src/restaurants-v1-fulfillment-method-fulfillment-methods.http.d.ts +0 -64
  122. package/build/internal/es/src/restaurants-v1-fulfillment-method-fulfillment-methods.http.js +0 -675
  123. package/build/internal/es/src/restaurants-v1-fulfillment-method-fulfillment-methods.http.js.map +0 -1
  124. package/build/internal/es/src/restaurants-v1-fulfillment-method-fulfillment-methods.meta.d.ts +0 -29
  125. package/build/internal/es/src/restaurants-v1-fulfillment-method-fulfillment-methods.meta.js +0 -200
  126. package/build/internal/es/src/restaurants-v1-fulfillment-method-fulfillment-methods.meta.js.map +0 -1
  127. package/build/internal/es/src/restaurants-v1-fulfillment-method-fulfillment-methods.public.d.ts +0 -125
  128. package/build/internal/es/src/restaurants-v1-fulfillment-method-fulfillment-methods.public.js +0 -155
  129. package/build/internal/es/src/restaurants-v1-fulfillment-method-fulfillment-methods.public.js.map +0 -1
  130. package/build/internal/es/src/restaurants-v1-fulfillment-method-fulfillment-methods.types.d.ts +0 -1130
  131. package/build/internal/es/src/restaurants-v1-fulfillment-method-fulfillment-methods.types.js +0 -102
  132. package/build/internal/es/src/restaurants-v1-fulfillment-method-fulfillment-methods.types.js.map +0 -1
  133. package/build/internal/es/src/restaurants-v1-fulfillment-method-fulfillment-methods.universal.js +0 -700
  134. package/build/internal/es/src/restaurants-v1-fulfillment-method-fulfillment-methods.universal.js.map +0 -1
@@ -0,0 +1,145 @@
1
+ import { HttpClient, MaybeContext, BuildRESTFunction } from '@wix/sdk-types';
2
+ import { F as FulfillmentMethod, B as BulkCreateFulfillmentMethodsOptions, a as BulkCreateFulfillmentMethodsResponse, U as UpdateFulfillmentMethod, Q as QueryFulfillmentMethodsOptions, b as FulfillmentMethodsQueryBuilder, L as ListFulfillmentMethodsOptions, c as ListFulfillmentMethodsResponse, d as ListAvailableFulfillmentMethodsForAddressOptions, e as ListAvailableFulfillmentMethodsForAddressResponse, G as GetAccumulatedFulfillmentMethodsAvailabilityOptions, f as GetAccumulatedFulfillmentMethodsAvailabilityResponse, g as GetCombinedMethodAvailabilityResponse, h as GetAggregatedMethodAvailabilityResponse } from './restaurants-v1-fulfillment-method-fulfillment-methods.universal-BR-AnSyo.mjs';
3
+ export { Y as ActionEvent, aD as Address, aE as AddressHint, A as AddressLocation, a2 as App, ab as ApplicationError, w as Availability, aT as BaseEventMetadata, ac as BulkActionMetadata, a9 as BulkCreateFulfillmentMethodResult, a8 as BulkCreateFulfillmentMethodsRequest, aG as BusinessSchedule, aB as Categories, aN as ChangeContext, aO as ChangeContextPayloadOneOf, C as CommonAddress, n as CommonAddressStreetOneOf, aL as ConsentPolicy, a6 as CreateFulfillmentMethodRequest, a7 as CreateFulfillmentMethodResponse, an as CursorPaging, ap as CursorPagingMetadata, ak as CursorQuery, al as CursorQueryPagingMethodOneOf, aq as Cursors, v as CustomArea, D as DayOfWeek, x as DayOfWeekAvailability, ah as DeleteFulfillmentMethodRequest, ai as DeleteFulfillmentMethodResponse, r as DeliveryArea, s as DeliveryAreaAreaOptionsOneOf, q as DeliveryInfo, K as DomainEvent, M as DomainEventBodyOneOf, aS as Empty, E as EntitiesDayOfWeek, N as EntityCreatedEvent, X as EntityDeletedEvent, V as EntityUpdatedEvent, aU as EventMetadata, H as ExtendedFields, a5 as File, aV as FulfillmentMethodCreatedEnvelope, aW as FulfillmentMethodDeletedEnvelope, l as FulfillmentMethodMethodOptionsOneOf, i as FulfillmentMethodType, aX as FulfillmentMethodUpdatedEnvelope, aY as FulfillmentMethodsQueryResult, aF as GeoCoordinates, av as GetAccumulatedFulfillmentMethodsAvailabilityRequest, ax as GetAggregatedMethodAvailabilityRequest, aw as GetCombinedMethodAvailabilityRequest, ad as GetFulfillmentMethodRequest, ae as GetFulfillmentMethodResponse, _ as IdentificationData, $ as IdentificationDataIdOneOf, a0 as InvalidateCache, a1 as InvalidateCacheGetByOneOf, aa as ItemMetadata, at as ListActiveFulfillmentMethodsRequest, au as ListActiveFulfillmentMethodsResponse, as as ListAvailableFulfillmentMethodsForAddressRequest, ar as ListFulfillmentMethodsRequest, aC as Locale, Z as MessageEnvelope, aJ as Multilingual, a3 as Page, m as PickupInfo, P as PlacementType, u as PostalCode, aA as Properties, aP as PropertiesChange, aj as QueryFulfillmentMethodsRequest, ao as QueryFulfillmentMethodsResponse, t as Radius, R as ResolutionMethod, O as RestoreInfo, aR as SiteCloned, aQ as SiteCreated, az as SitePropertiesEvent, ay as SitePropertiesNotification, k as SortOrder, am as Sorting, aI as SpecialHourPeriod, o as StreetAddress, p as Subdivision, S as SubdivisionType, aK as SupportedLanguage, J as TagList, I as Tags, z as TimeOfDay, y as TimeOfDayRange, aH as TimePeriod, aM as Translation, T as Type, a4 as URI, j as Unit, af as UpdateFulfillmentMethodRequest, ag as UpdateFulfillmentMethodResponse, W as WebhookIdentityType } from './restaurants-v1-fulfillment-method-fulfillment-methods.universal-BR-AnSyo.mjs';
4
+ import { createEventModule } from '@wix/sdk-runtime/event-definition-modules';
5
+
6
+ declare function createFulfillmentMethod$1(httpClient: HttpClient): CreateFulfillmentMethodSignature;
7
+ interface CreateFulfillmentMethodSignature {
8
+ /**
9
+ * Creates a new fulfillment method.
10
+ *
11
+ * >**Note:** `fulfillmentMethod.availability.time_zone` uses the time zone specified in the [`language and regions`](https://www.wix.com/my-account/site-selector/?buttonText=Select%20Site&title=Select%20a%20Site&autoSelectOnSingleSite=true&actionUrl=https:%2F%2Fwww.wix.com%2Fdashboard%2F%7B%7BmetaSiteId%7D%7D%2Fsettings/language-and-region) settings in the dashboard, regardless of the value provided.
12
+ * @param - Fulfillment method to create.
13
+ * @returns The created fulfillment method.
14
+ */
15
+ (fulfillmentMethod: FulfillmentMethod): Promise<FulfillmentMethod>;
16
+ }
17
+ declare function bulkCreateFulfillmentMethods$1(httpClient: HttpClient): BulkCreateFulfillmentMethodsSignature;
18
+ interface BulkCreateFulfillmentMethodsSignature {
19
+ /**
20
+ * Create multiple fulfillment methods at once.
21
+ */
22
+ (options?: BulkCreateFulfillmentMethodsOptions | undefined): Promise<BulkCreateFulfillmentMethodsResponse>;
23
+ }
24
+ declare function getFulfillmentMethod$1(httpClient: HttpClient): GetFulfillmentMethodSignature;
25
+ interface GetFulfillmentMethodSignature {
26
+ /**
27
+ * Retrieves a fulfillment method.
28
+ * @param - The ID of the fulfillment method to retrieve.
29
+ * @returns The retrieved fulfillment method.
30
+ */
31
+ (fulfillmentMethodId: string): Promise<FulfillmentMethod>;
32
+ }
33
+ declare function updateFulfillmentMethod$1(httpClient: HttpClient): UpdateFulfillmentMethodSignature;
34
+ interface UpdateFulfillmentMethodSignature {
35
+ /**
36
+ * Updates a fulfillment method.
37
+ *
38
+ * Each time the fulfillment method is updated, its revision increments by 1. The existing revision must be included when updating the fulfillment method. This ensures you're working with the latest fulfillment method information, and it prevents unintended overwrites.
39
+ * @param - Fulfillment method ID.
40
+ * @param - Fulfillment method information to update.
41
+ * @returns The updated fulfillment method.
42
+ */
43
+ (_id: string, fulfillmentMethod: UpdateFulfillmentMethod): Promise<FulfillmentMethod>;
44
+ }
45
+ declare function deleteFulfillmentMethod$1(httpClient: HttpClient): DeleteFulfillmentMethodSignature;
46
+ interface DeleteFulfillmentMethodSignature {
47
+ /**
48
+ * Deletes a fulfillment method.
49
+ * @param - The ID of the fulfillment method to delete.
50
+ */
51
+ (fulfillmentMethodId: string): Promise<void>;
52
+ }
53
+ declare function queryFulfillmentMethods$1(httpClient: HttpClient): QueryFulfillmentMethodsSignature;
54
+ interface QueryFulfillmentMethodsSignature {
55
+ /**
56
+ * Creates a query to retrieve a list of fulfillment methods.
57
+ *
58
+ * The `queryFulfillmentMethods()` function builds a query to retrieve a list of fulfillment methods and returns a `FulfillmentMethodsQueryBuilder` object.
59
+ *
60
+ * The returned object contains the query definition, which is used to run the query using the [`find()`](/fulfillment-methods/fulfillment-methods-query-builder/find) function.
61
+ *
62
+ * You can refine the query by chaining `FulfillmentMethodsQueryBuilder` functions onto the query. `FulfillmentMethodsQueryBuilder` functions enable you to filter, sort, and control the results that `queryFulfillmentMethods()` returns.
63
+ *
64
+ * `queryFulfillmentMethods()` runs with the following `FulfillmentMethodsQueryBuilder` defaults, which you can override:
65
+ *
66
+ * * [`limit(50)`](/fulfillment-methods/fulfillment-methods-query-builder/limit)
67
+ * * [`ascending('entityId')`](/fulfillment-methods/fulfillment-methods-query-builder/ascending)
68
+ *
69
+ * The following `FulfillmentMethodsQueryBuilder` functions are supported for `queryFulfillmentMethods()`. For a full description of the fulfillment method object, see the object returned for the [`items`](/fulfillment-methods/fulfillment-methods-query-result/items) property in `FulfillmentMethodsQueryResult`.
70
+ */
71
+ (options?: QueryFulfillmentMethodsOptions | undefined): FulfillmentMethodsQueryBuilder;
72
+ }
73
+ declare function listFulfillmentMethods$1(httpClient: HttpClient): ListFulfillmentMethodsSignature;
74
+ interface ListFulfillmentMethodsSignature {
75
+ /**
76
+ * Retrieves a list of up to 100 fulfillment methods.
77
+ * @param - Options for listing the fulfillment methods.
78
+ */
79
+ (options?: ListFulfillmentMethodsOptions | undefined): Promise<ListFulfillmentMethodsResponse>;
80
+ }
81
+ declare function listAvailableFulfillmentMethodsForAddress$1(httpClient: HttpClient): ListAvailableFulfillmentMethodsForAddressSignature;
82
+ interface ListAvailableFulfillmentMethodsForAddressSignature {
83
+ /**
84
+ * Retrieves a list of up to 100 fulfillment methods available for a given address.
85
+ *
86
+ * The response will only include:
87
+ * - Non-delivery fulfillment methods.
88
+ * - Delivery fulfillment methods that are available to the given address according to their delivery areas.
89
+ * @param - Options for listing the available fulfillment methods.
90
+ */
91
+ (options?: ListAvailableFulfillmentMethodsForAddressOptions | undefined): Promise<ListAvailableFulfillmentMethodsForAddressResponse>;
92
+ }
93
+ declare function getAccumulatedFulfillmentMethodsAvailability$1(httpClient: HttpClient): GetAccumulatedFulfillmentMethodsAvailabilitySignature;
94
+ interface GetAccumulatedFulfillmentMethodsAvailabilitySignature {
95
+ /**
96
+ * Retrieves the accumulated availability of all fulfillment methods.
97
+ * @deprecated
98
+ */
99
+ (options?: GetAccumulatedFulfillmentMethodsAvailabilityOptions | undefined): Promise<GetAccumulatedFulfillmentMethodsAvailabilityResponse>;
100
+ }
101
+ declare function getCombinedMethodAvailability$1(httpClient: HttpClient): GetCombinedMethodAvailabilitySignature;
102
+ interface GetCombinedMethodAvailabilitySignature {
103
+ /**
104
+ * Retrieves the combined availability of a list of fulfillment methods.
105
+ *
106
+ * The combined availability is a list of times during which one or more of the given fulfillment methods is available, and the types of those fulfillment methods.
107
+ * @param - IDs of fulfillment methods used to determine the combined availability.
108
+ * @deprecated
109
+ */
110
+ (fulfillmentMethodIds: string[]): Promise<GetCombinedMethodAvailabilityResponse>;
111
+ }
112
+ declare function getAggregatedMethodAvailability$1(httpClient: HttpClient): GetAggregatedMethodAvailabilitySignature;
113
+ interface GetAggregatedMethodAvailabilitySignature {
114
+ /**
115
+ * Retrieves the aggregated availability of a list of fulfillment methods.
116
+ *
117
+ * The aggregated availability is a list of times during which one or more of the given fulfillment methods is available, and the types of those fulfillment methods.
118
+ * @param - IDs of fulfillment methods used to determine the aggregated availability.
119
+ */
120
+ (fulfillmentMethodIds: string[]): Promise<GetAggregatedMethodAvailabilityResponse>;
121
+ }
122
+
123
+ declare const createFulfillmentMethod: MaybeContext<BuildRESTFunction<typeof createFulfillmentMethod$1> & typeof createFulfillmentMethod$1>;
124
+ declare const bulkCreateFulfillmentMethods: MaybeContext<BuildRESTFunction<typeof bulkCreateFulfillmentMethods$1> & typeof bulkCreateFulfillmentMethods$1>;
125
+ declare const getFulfillmentMethod: MaybeContext<BuildRESTFunction<typeof getFulfillmentMethod$1> & typeof getFulfillmentMethod$1>;
126
+ declare const updateFulfillmentMethod: MaybeContext<BuildRESTFunction<typeof updateFulfillmentMethod$1> & typeof updateFulfillmentMethod$1>;
127
+ declare const deleteFulfillmentMethod: MaybeContext<BuildRESTFunction<typeof deleteFulfillmentMethod$1> & typeof deleteFulfillmentMethod$1>;
128
+ declare const queryFulfillmentMethods: MaybeContext<BuildRESTFunction<typeof queryFulfillmentMethods$1> & typeof queryFulfillmentMethods$1>;
129
+ declare const listFulfillmentMethods: MaybeContext<BuildRESTFunction<typeof listFulfillmentMethods$1> & typeof listFulfillmentMethods$1>;
130
+ declare const listAvailableFulfillmentMethodsForAddress: MaybeContext<BuildRESTFunction<typeof listAvailableFulfillmentMethodsForAddress$1> & typeof listAvailableFulfillmentMethodsForAddress$1>;
131
+ declare const getAccumulatedFulfillmentMethodsAvailability: MaybeContext<BuildRESTFunction<typeof getAccumulatedFulfillmentMethodsAvailability$1> & typeof getAccumulatedFulfillmentMethodsAvailability$1>;
132
+ declare const getCombinedMethodAvailability: MaybeContext<BuildRESTFunction<typeof getCombinedMethodAvailability$1> & typeof getCombinedMethodAvailability$1>;
133
+ declare const getAggregatedMethodAvailability: MaybeContext<BuildRESTFunction<typeof getAggregatedMethodAvailability$1> & typeof getAggregatedMethodAvailability$1>;
134
+ /** */
135
+ declare const onFulfillmentMethodCreated: ReturnType<typeof createEventModule<typeof publicOnFulfillmentMethodCreated>>;
136
+ /**
137
+ * Triggered when a fulfillment method is deleted.
138
+ */
139
+ declare const onFulfillmentMethodDeleted: ReturnType<typeof createEventModule<typeof publicOnFulfillmentMethodDeleted>>;
140
+ /**
141
+ * Triggered when a fulfillment method is updated.
142
+ */
143
+ declare const onFulfillmentMethodUpdated: ReturnType<typeof createEventModule<typeof publicOnFulfillmentMethodUpdated>>;
144
+
145
+ export { BulkCreateFulfillmentMethodsOptions, BulkCreateFulfillmentMethodsResponse, FulfillmentMethod, FulfillmentMethodsQueryBuilder, GetAccumulatedFulfillmentMethodsAvailabilityOptions, GetAccumulatedFulfillmentMethodsAvailabilityResponse, GetAggregatedMethodAvailabilityResponse, GetCombinedMethodAvailabilityResponse, ListAvailableFulfillmentMethodsForAddressOptions, ListAvailableFulfillmentMethodsForAddressResponse, ListFulfillmentMethodsOptions, ListFulfillmentMethodsResponse, QueryFulfillmentMethodsOptions, UpdateFulfillmentMethod, bulkCreateFulfillmentMethods, createFulfillmentMethod, deleteFulfillmentMethod, getAccumulatedFulfillmentMethodsAvailability, getAggregatedMethodAvailability, getCombinedMethodAvailability, getFulfillmentMethod, listAvailableFulfillmentMethodsForAddress, listFulfillmentMethods, onFulfillmentMethodCreated, onFulfillmentMethodDeleted, onFulfillmentMethodUpdated, queryFulfillmentMethods, updateFulfillmentMethod };
@@ -0,0 +1,145 @@
1
+ import { HttpClient, MaybeContext, BuildRESTFunction } from '@wix/sdk-types';
2
+ import { F as FulfillmentMethod, B as BulkCreateFulfillmentMethodsOptions, a as BulkCreateFulfillmentMethodsResponse, U as UpdateFulfillmentMethod, Q as QueryFulfillmentMethodsOptions, b as FulfillmentMethodsQueryBuilder, L as ListFulfillmentMethodsOptions, c as ListFulfillmentMethodsResponse, d as ListAvailableFulfillmentMethodsForAddressOptions, e as ListAvailableFulfillmentMethodsForAddressResponse, G as GetAccumulatedFulfillmentMethodsAvailabilityOptions, f as GetAccumulatedFulfillmentMethodsAvailabilityResponse, g as GetCombinedMethodAvailabilityResponse, h as GetAggregatedMethodAvailabilityResponse } from './restaurants-v1-fulfillment-method-fulfillment-methods.universal-BR-AnSyo.js';
3
+ export { Y as ActionEvent, aD as Address, aE as AddressHint, A as AddressLocation, a2 as App, ab as ApplicationError, w as Availability, aT as BaseEventMetadata, ac as BulkActionMetadata, a9 as BulkCreateFulfillmentMethodResult, a8 as BulkCreateFulfillmentMethodsRequest, aG as BusinessSchedule, aB as Categories, aN as ChangeContext, aO as ChangeContextPayloadOneOf, C as CommonAddress, n as CommonAddressStreetOneOf, aL as ConsentPolicy, a6 as CreateFulfillmentMethodRequest, a7 as CreateFulfillmentMethodResponse, an as CursorPaging, ap as CursorPagingMetadata, ak as CursorQuery, al as CursorQueryPagingMethodOneOf, aq as Cursors, v as CustomArea, D as DayOfWeek, x as DayOfWeekAvailability, ah as DeleteFulfillmentMethodRequest, ai as DeleteFulfillmentMethodResponse, r as DeliveryArea, s as DeliveryAreaAreaOptionsOneOf, q as DeliveryInfo, K as DomainEvent, M as DomainEventBodyOneOf, aS as Empty, E as EntitiesDayOfWeek, N as EntityCreatedEvent, X as EntityDeletedEvent, V as EntityUpdatedEvent, aU as EventMetadata, H as ExtendedFields, a5 as File, aV as FulfillmentMethodCreatedEnvelope, aW as FulfillmentMethodDeletedEnvelope, l as FulfillmentMethodMethodOptionsOneOf, i as FulfillmentMethodType, aX as FulfillmentMethodUpdatedEnvelope, aY as FulfillmentMethodsQueryResult, aF as GeoCoordinates, av as GetAccumulatedFulfillmentMethodsAvailabilityRequest, ax as GetAggregatedMethodAvailabilityRequest, aw as GetCombinedMethodAvailabilityRequest, ad as GetFulfillmentMethodRequest, ae as GetFulfillmentMethodResponse, _ as IdentificationData, $ as IdentificationDataIdOneOf, a0 as InvalidateCache, a1 as InvalidateCacheGetByOneOf, aa as ItemMetadata, at as ListActiveFulfillmentMethodsRequest, au as ListActiveFulfillmentMethodsResponse, as as ListAvailableFulfillmentMethodsForAddressRequest, ar as ListFulfillmentMethodsRequest, aC as Locale, Z as MessageEnvelope, aJ as Multilingual, a3 as Page, m as PickupInfo, P as PlacementType, u as PostalCode, aA as Properties, aP as PropertiesChange, aj as QueryFulfillmentMethodsRequest, ao as QueryFulfillmentMethodsResponse, t as Radius, R as ResolutionMethod, O as RestoreInfo, aR as SiteCloned, aQ as SiteCreated, az as SitePropertiesEvent, ay as SitePropertiesNotification, k as SortOrder, am as Sorting, aI as SpecialHourPeriod, o as StreetAddress, p as Subdivision, S as SubdivisionType, aK as SupportedLanguage, J as TagList, I as Tags, z as TimeOfDay, y as TimeOfDayRange, aH as TimePeriod, aM as Translation, T as Type, a4 as URI, j as Unit, af as UpdateFulfillmentMethodRequest, ag as UpdateFulfillmentMethodResponse, W as WebhookIdentityType } from './restaurants-v1-fulfillment-method-fulfillment-methods.universal-BR-AnSyo.js';
4
+ import { createEventModule } from '@wix/sdk-runtime/event-definition-modules';
5
+
6
+ declare function createFulfillmentMethod$1(httpClient: HttpClient): CreateFulfillmentMethodSignature;
7
+ interface CreateFulfillmentMethodSignature {
8
+ /**
9
+ * Creates a new fulfillment method.
10
+ *
11
+ * >**Note:** `fulfillmentMethod.availability.time_zone` uses the time zone specified in the [`language and regions`](https://www.wix.com/my-account/site-selector/?buttonText=Select%20Site&title=Select%20a%20Site&autoSelectOnSingleSite=true&actionUrl=https:%2F%2Fwww.wix.com%2Fdashboard%2F%7B%7BmetaSiteId%7D%7D%2Fsettings/language-and-region) settings in the dashboard, regardless of the value provided.
12
+ * @param - Fulfillment method to create.
13
+ * @returns The created fulfillment method.
14
+ */
15
+ (fulfillmentMethod: FulfillmentMethod): Promise<FulfillmentMethod>;
16
+ }
17
+ declare function bulkCreateFulfillmentMethods$1(httpClient: HttpClient): BulkCreateFulfillmentMethodsSignature;
18
+ interface BulkCreateFulfillmentMethodsSignature {
19
+ /**
20
+ * Create multiple fulfillment methods at once.
21
+ */
22
+ (options?: BulkCreateFulfillmentMethodsOptions | undefined): Promise<BulkCreateFulfillmentMethodsResponse>;
23
+ }
24
+ declare function getFulfillmentMethod$1(httpClient: HttpClient): GetFulfillmentMethodSignature;
25
+ interface GetFulfillmentMethodSignature {
26
+ /**
27
+ * Retrieves a fulfillment method.
28
+ * @param - The ID of the fulfillment method to retrieve.
29
+ * @returns The retrieved fulfillment method.
30
+ */
31
+ (fulfillmentMethodId: string): Promise<FulfillmentMethod>;
32
+ }
33
+ declare function updateFulfillmentMethod$1(httpClient: HttpClient): UpdateFulfillmentMethodSignature;
34
+ interface UpdateFulfillmentMethodSignature {
35
+ /**
36
+ * Updates a fulfillment method.
37
+ *
38
+ * Each time the fulfillment method is updated, its revision increments by 1. The existing revision must be included when updating the fulfillment method. This ensures you're working with the latest fulfillment method information, and it prevents unintended overwrites.
39
+ * @param - Fulfillment method ID.
40
+ * @param - Fulfillment method information to update.
41
+ * @returns The updated fulfillment method.
42
+ */
43
+ (_id: string, fulfillmentMethod: UpdateFulfillmentMethod): Promise<FulfillmentMethod>;
44
+ }
45
+ declare function deleteFulfillmentMethod$1(httpClient: HttpClient): DeleteFulfillmentMethodSignature;
46
+ interface DeleteFulfillmentMethodSignature {
47
+ /**
48
+ * Deletes a fulfillment method.
49
+ * @param - The ID of the fulfillment method to delete.
50
+ */
51
+ (fulfillmentMethodId: string): Promise<void>;
52
+ }
53
+ declare function queryFulfillmentMethods$1(httpClient: HttpClient): QueryFulfillmentMethodsSignature;
54
+ interface QueryFulfillmentMethodsSignature {
55
+ /**
56
+ * Creates a query to retrieve a list of fulfillment methods.
57
+ *
58
+ * The `queryFulfillmentMethods()` function builds a query to retrieve a list of fulfillment methods and returns a `FulfillmentMethodsQueryBuilder` object.
59
+ *
60
+ * The returned object contains the query definition, which is used to run the query using the [`find()`](/fulfillment-methods/fulfillment-methods-query-builder/find) function.
61
+ *
62
+ * You can refine the query by chaining `FulfillmentMethodsQueryBuilder` functions onto the query. `FulfillmentMethodsQueryBuilder` functions enable you to filter, sort, and control the results that `queryFulfillmentMethods()` returns.
63
+ *
64
+ * `queryFulfillmentMethods()` runs with the following `FulfillmentMethodsQueryBuilder` defaults, which you can override:
65
+ *
66
+ * * [`limit(50)`](/fulfillment-methods/fulfillment-methods-query-builder/limit)
67
+ * * [`ascending('entityId')`](/fulfillment-methods/fulfillment-methods-query-builder/ascending)
68
+ *
69
+ * The following `FulfillmentMethodsQueryBuilder` functions are supported for `queryFulfillmentMethods()`. For a full description of the fulfillment method object, see the object returned for the [`items`](/fulfillment-methods/fulfillment-methods-query-result/items) property in `FulfillmentMethodsQueryResult`.
70
+ */
71
+ (options?: QueryFulfillmentMethodsOptions | undefined): FulfillmentMethodsQueryBuilder;
72
+ }
73
+ declare function listFulfillmentMethods$1(httpClient: HttpClient): ListFulfillmentMethodsSignature;
74
+ interface ListFulfillmentMethodsSignature {
75
+ /**
76
+ * Retrieves a list of up to 100 fulfillment methods.
77
+ * @param - Options for listing the fulfillment methods.
78
+ */
79
+ (options?: ListFulfillmentMethodsOptions | undefined): Promise<ListFulfillmentMethodsResponse>;
80
+ }
81
+ declare function listAvailableFulfillmentMethodsForAddress$1(httpClient: HttpClient): ListAvailableFulfillmentMethodsForAddressSignature;
82
+ interface ListAvailableFulfillmentMethodsForAddressSignature {
83
+ /**
84
+ * Retrieves a list of up to 100 fulfillment methods available for a given address.
85
+ *
86
+ * The response will only include:
87
+ * - Non-delivery fulfillment methods.
88
+ * - Delivery fulfillment methods that are available to the given address according to their delivery areas.
89
+ * @param - Options for listing the available fulfillment methods.
90
+ */
91
+ (options?: ListAvailableFulfillmentMethodsForAddressOptions | undefined): Promise<ListAvailableFulfillmentMethodsForAddressResponse>;
92
+ }
93
+ declare function getAccumulatedFulfillmentMethodsAvailability$1(httpClient: HttpClient): GetAccumulatedFulfillmentMethodsAvailabilitySignature;
94
+ interface GetAccumulatedFulfillmentMethodsAvailabilitySignature {
95
+ /**
96
+ * Retrieves the accumulated availability of all fulfillment methods.
97
+ * @deprecated
98
+ */
99
+ (options?: GetAccumulatedFulfillmentMethodsAvailabilityOptions | undefined): Promise<GetAccumulatedFulfillmentMethodsAvailabilityResponse>;
100
+ }
101
+ declare function getCombinedMethodAvailability$1(httpClient: HttpClient): GetCombinedMethodAvailabilitySignature;
102
+ interface GetCombinedMethodAvailabilitySignature {
103
+ /**
104
+ * Retrieves the combined availability of a list of fulfillment methods.
105
+ *
106
+ * The combined availability is a list of times during which one or more of the given fulfillment methods is available, and the types of those fulfillment methods.
107
+ * @param - IDs of fulfillment methods used to determine the combined availability.
108
+ * @deprecated
109
+ */
110
+ (fulfillmentMethodIds: string[]): Promise<GetCombinedMethodAvailabilityResponse>;
111
+ }
112
+ declare function getAggregatedMethodAvailability$1(httpClient: HttpClient): GetAggregatedMethodAvailabilitySignature;
113
+ interface GetAggregatedMethodAvailabilitySignature {
114
+ /**
115
+ * Retrieves the aggregated availability of a list of fulfillment methods.
116
+ *
117
+ * The aggregated availability is a list of times during which one or more of the given fulfillment methods is available, and the types of those fulfillment methods.
118
+ * @param - IDs of fulfillment methods used to determine the aggregated availability.
119
+ */
120
+ (fulfillmentMethodIds: string[]): Promise<GetAggregatedMethodAvailabilityResponse>;
121
+ }
122
+
123
+ declare const createFulfillmentMethod: MaybeContext<BuildRESTFunction<typeof createFulfillmentMethod$1> & typeof createFulfillmentMethod$1>;
124
+ declare const bulkCreateFulfillmentMethods: MaybeContext<BuildRESTFunction<typeof bulkCreateFulfillmentMethods$1> & typeof bulkCreateFulfillmentMethods$1>;
125
+ declare const getFulfillmentMethod: MaybeContext<BuildRESTFunction<typeof getFulfillmentMethod$1> & typeof getFulfillmentMethod$1>;
126
+ declare const updateFulfillmentMethod: MaybeContext<BuildRESTFunction<typeof updateFulfillmentMethod$1> & typeof updateFulfillmentMethod$1>;
127
+ declare const deleteFulfillmentMethod: MaybeContext<BuildRESTFunction<typeof deleteFulfillmentMethod$1> & typeof deleteFulfillmentMethod$1>;
128
+ declare const queryFulfillmentMethods: MaybeContext<BuildRESTFunction<typeof queryFulfillmentMethods$1> & typeof queryFulfillmentMethods$1>;
129
+ declare const listFulfillmentMethods: MaybeContext<BuildRESTFunction<typeof listFulfillmentMethods$1> & typeof listFulfillmentMethods$1>;
130
+ declare const listAvailableFulfillmentMethodsForAddress: MaybeContext<BuildRESTFunction<typeof listAvailableFulfillmentMethodsForAddress$1> & typeof listAvailableFulfillmentMethodsForAddress$1>;
131
+ declare const getAccumulatedFulfillmentMethodsAvailability: MaybeContext<BuildRESTFunction<typeof getAccumulatedFulfillmentMethodsAvailability$1> & typeof getAccumulatedFulfillmentMethodsAvailability$1>;
132
+ declare const getCombinedMethodAvailability: MaybeContext<BuildRESTFunction<typeof getCombinedMethodAvailability$1> & typeof getCombinedMethodAvailability$1>;
133
+ declare const getAggregatedMethodAvailability: MaybeContext<BuildRESTFunction<typeof getAggregatedMethodAvailability$1> & typeof getAggregatedMethodAvailability$1>;
134
+ /** */
135
+ declare const onFulfillmentMethodCreated: ReturnType<typeof createEventModule<typeof publicOnFulfillmentMethodCreated>>;
136
+ /**
137
+ * Triggered when a fulfillment method is deleted.
138
+ */
139
+ declare const onFulfillmentMethodDeleted: ReturnType<typeof createEventModule<typeof publicOnFulfillmentMethodDeleted>>;
140
+ /**
141
+ * Triggered when a fulfillment method is updated.
142
+ */
143
+ declare const onFulfillmentMethodUpdated: ReturnType<typeof createEventModule<typeof publicOnFulfillmentMethodUpdated>>;
144
+
145
+ export { BulkCreateFulfillmentMethodsOptions, BulkCreateFulfillmentMethodsResponse, FulfillmentMethod, FulfillmentMethodsQueryBuilder, GetAccumulatedFulfillmentMethodsAvailabilityOptions, GetAccumulatedFulfillmentMethodsAvailabilityResponse, GetAggregatedMethodAvailabilityResponse, GetCombinedMethodAvailabilityResponse, ListAvailableFulfillmentMethodsForAddressOptions, ListAvailableFulfillmentMethodsForAddressResponse, ListFulfillmentMethodsOptions, ListFulfillmentMethodsResponse, QueryFulfillmentMethodsOptions, UpdateFulfillmentMethod, bulkCreateFulfillmentMethods, createFulfillmentMethod, deleteFulfillmentMethod, getAccumulatedFulfillmentMethodsAvailability, getAggregatedMethodAvailability, getCombinedMethodAvailability, getFulfillmentMethod, listAvailableFulfillmentMethodsForAddress, listFulfillmentMethods, onFulfillmentMethodCreated, onFulfillmentMethodDeleted, onFulfillmentMethodUpdated, queryFulfillmentMethods, updateFulfillmentMethod };