@wix/auto_sdk_ecom_shippo-configurations 1.0.19 → 1.0.21
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/{internal/cjs/src/ecom-v1-shippo-configuration-shippo-configurations.universal.d.ts → ecom-v1-shippo-configuration-shippo-configurations.universal-D-nyXVmj.d.mts} +71 -240
- package/build/{internal/es/src/ecom-v1-shippo-configuration-shippo-configurations.universal.d.ts → ecom-v1-shippo-configuration-shippo-configurations.universal-D-nyXVmj.d.ts} +71 -240
- package/build/index.d.mts +105 -0
- package/build/index.d.ts +105 -0
- package/build/index.js +901 -0
- package/build/index.js.map +1 -0
- package/build/index.mjs +861 -0
- package/build/index.mjs.map +1 -0
- package/build/{cjs/src/ecom-v1-shippo-configuration-shippo-configurations.universal.d.ts → internal/ecom-v1-shippo-configuration-shippo-configurations.universal-D-nyXVmj.d.mts} +71 -240
- package/build/{es/src/ecom-v1-shippo-configuration-shippo-configurations.universal.d.ts → internal/ecom-v1-shippo-configuration-shippo-configurations.universal-D-nyXVmj.d.ts} +71 -240
- package/build/internal/index.d.mts +105 -0
- package/build/internal/index.d.ts +105 -0
- package/build/internal/index.js +901 -0
- package/build/internal/index.js.map +1 -0
- package/build/internal/index.mjs +861 -0
- package/build/internal/index.mjs.map +1 -0
- package/build/internal/{es/src/ecom-v1-shippo-configuration-shippo-configurations.types.d.ts → meta.d.mts} +78 -186
- package/build/{es/src/ecom-v1-shippo-configuration-shippo-configurations.types.d.ts → internal/meta.d.ts} +78 -186
- package/build/internal/meta.js +531 -0
- package/build/internal/meta.js.map +1 -0
- package/build/internal/meta.mjs +497 -0
- package/build/internal/meta.mjs.map +1 -0
- package/build/{cjs/src/ecom-v1-shippo-configuration-shippo-configurations.types.d.ts → meta.d.mts} +78 -186
- package/build/{internal/cjs/src/ecom-v1-shippo-configuration-shippo-configurations.types.d.ts → meta.d.ts} +78 -186
- package/build/meta.js +531 -0
- package/build/meta.js.map +1 -0
- package/build/meta.mjs +497 -0
- package/build/meta.mjs.map +1 -0
- package/package.json +13 -12
- package/build/cjs/index.d.ts +0 -1
- package/build/cjs/index.js +0 -18
- package/build/cjs/index.js.map +0 -1
- package/build/cjs/index.typings.d.ts +0 -1
- package/build/cjs/index.typings.js +0 -18
- package/build/cjs/index.typings.js.map +0 -1
- package/build/cjs/meta.d.ts +0 -1
- package/build/cjs/meta.js +0 -18
- package/build/cjs/meta.js.map +0 -1
- package/build/cjs/src/ecom-v1-shippo-configuration-shippo-configurations.context.d.ts +0 -28
- package/build/cjs/src/ecom-v1-shippo-configuration-shippo-configurations.context.js +0 -37
- package/build/cjs/src/ecom-v1-shippo-configuration-shippo-configurations.context.js.map +0 -1
- package/build/cjs/src/ecom-v1-shippo-configuration-shippo-configurations.http.d.ts +0 -29
- package/build/cjs/src/ecom-v1-shippo-configuration-shippo-configurations.http.js +0 -363
- package/build/cjs/src/ecom-v1-shippo-configuration-shippo-configurations.http.js.map +0 -1
- package/build/cjs/src/ecom-v1-shippo-configuration-shippo-configurations.meta.d.ts +0 -33
- package/build/cjs/src/ecom-v1-shippo-configuration-shippo-configurations.meta.js +0 -188
- package/build/cjs/src/ecom-v1-shippo-configuration-shippo-configurations.meta.js.map +0 -1
- package/build/cjs/src/ecom-v1-shippo-configuration-shippo-configurations.public.d.ts +0 -84
- package/build/cjs/src/ecom-v1-shippo-configuration-shippo-configurations.public.js +0 -108
- package/build/cjs/src/ecom-v1-shippo-configuration-shippo-configurations.public.js.map +0 -1
- package/build/cjs/src/ecom-v1-shippo-configuration-shippo-configurations.types.js +0 -48
- package/build/cjs/src/ecom-v1-shippo-configuration-shippo-configurations.types.js.map +0 -1
- package/build/cjs/src/ecom-v1-shippo-configuration-shippo-configurations.universal.js +0 -478
- package/build/cjs/src/ecom-v1-shippo-configuration-shippo-configurations.universal.js.map +0 -1
- package/build/es/index.d.ts +0 -1
- package/build/es/index.js +0 -2
- package/build/es/index.js.map +0 -1
- package/build/es/index.typings.d.ts +0 -1
- package/build/es/index.typings.js +0 -2
- package/build/es/index.typings.js.map +0 -1
- package/build/es/meta.d.ts +0 -1
- package/build/es/meta.js +0 -2
- package/build/es/meta.js.map +0 -1
- package/build/es/package.json +0 -3
- package/build/es/src/ecom-v1-shippo-configuration-shippo-configurations.context.d.ts +0 -28
- package/build/es/src/ecom-v1-shippo-configuration-shippo-configurations.context.js +0 -28
- package/build/es/src/ecom-v1-shippo-configuration-shippo-configurations.context.js.map +0 -1
- package/build/es/src/ecom-v1-shippo-configuration-shippo-configurations.http.d.ts +0 -29
- package/build/es/src/ecom-v1-shippo-configuration-shippo-configurations.http.js +0 -352
- package/build/es/src/ecom-v1-shippo-configuration-shippo-configurations.http.js.map +0 -1
- package/build/es/src/ecom-v1-shippo-configuration-shippo-configurations.meta.d.ts +0 -33
- package/build/es/src/ecom-v1-shippo-configuration-shippo-configurations.meta.js +0 -154
- package/build/es/src/ecom-v1-shippo-configuration-shippo-configurations.meta.js.map +0 -1
- package/build/es/src/ecom-v1-shippo-configuration-shippo-configurations.public.d.ts +0 -84
- package/build/es/src/ecom-v1-shippo-configuration-shippo-configurations.public.js +0 -91
- package/build/es/src/ecom-v1-shippo-configuration-shippo-configurations.public.js.map +0 -1
- package/build/es/src/ecom-v1-shippo-configuration-shippo-configurations.types.js +0 -45
- package/build/es/src/ecom-v1-shippo-configuration-shippo-configurations.types.js.map +0 -1
- package/build/es/src/ecom-v1-shippo-configuration-shippo-configurations.universal.js +0 -444
- package/build/es/src/ecom-v1-shippo-configuration-shippo-configurations.universal.js.map +0 -1
- package/build/internal/cjs/index.d.ts +0 -1
- package/build/internal/cjs/index.js +0 -18
- package/build/internal/cjs/index.js.map +0 -1
- package/build/internal/cjs/index.typings.d.ts +0 -1
- package/build/internal/cjs/index.typings.js +0 -18
- package/build/internal/cjs/index.typings.js.map +0 -1
- package/build/internal/cjs/meta.d.ts +0 -1
- package/build/internal/cjs/meta.js +0 -18
- package/build/internal/cjs/meta.js.map +0 -1
- package/build/internal/cjs/src/ecom-v1-shippo-configuration-shippo-configurations.context.d.ts +0 -28
- package/build/internal/cjs/src/ecom-v1-shippo-configuration-shippo-configurations.context.js +0 -37
- package/build/internal/cjs/src/ecom-v1-shippo-configuration-shippo-configurations.context.js.map +0 -1
- package/build/internal/cjs/src/ecom-v1-shippo-configuration-shippo-configurations.http.d.ts +0 -29
- package/build/internal/cjs/src/ecom-v1-shippo-configuration-shippo-configurations.http.js +0 -363
- package/build/internal/cjs/src/ecom-v1-shippo-configuration-shippo-configurations.http.js.map +0 -1
- package/build/internal/cjs/src/ecom-v1-shippo-configuration-shippo-configurations.meta.d.ts +0 -33
- package/build/internal/cjs/src/ecom-v1-shippo-configuration-shippo-configurations.meta.js +0 -188
- package/build/internal/cjs/src/ecom-v1-shippo-configuration-shippo-configurations.meta.js.map +0 -1
- package/build/internal/cjs/src/ecom-v1-shippo-configuration-shippo-configurations.public.d.ts +0 -84
- package/build/internal/cjs/src/ecom-v1-shippo-configuration-shippo-configurations.public.js +0 -108
- package/build/internal/cjs/src/ecom-v1-shippo-configuration-shippo-configurations.public.js.map +0 -1
- package/build/internal/cjs/src/ecom-v1-shippo-configuration-shippo-configurations.types.js +0 -48
- package/build/internal/cjs/src/ecom-v1-shippo-configuration-shippo-configurations.types.js.map +0 -1
- package/build/internal/cjs/src/ecom-v1-shippo-configuration-shippo-configurations.universal.js +0 -478
- package/build/internal/cjs/src/ecom-v1-shippo-configuration-shippo-configurations.universal.js.map +0 -1
- package/build/internal/es/index.d.ts +0 -1
- package/build/internal/es/index.js +0 -2
- package/build/internal/es/index.js.map +0 -1
- package/build/internal/es/index.typings.d.ts +0 -1
- package/build/internal/es/index.typings.js +0 -2
- package/build/internal/es/index.typings.js.map +0 -1
- package/build/internal/es/meta.d.ts +0 -1
- package/build/internal/es/meta.js +0 -2
- package/build/internal/es/meta.js.map +0 -1
- package/build/internal/es/src/ecom-v1-shippo-configuration-shippo-configurations.context.d.ts +0 -28
- package/build/internal/es/src/ecom-v1-shippo-configuration-shippo-configurations.context.js +0 -28
- package/build/internal/es/src/ecom-v1-shippo-configuration-shippo-configurations.context.js.map +0 -1
- package/build/internal/es/src/ecom-v1-shippo-configuration-shippo-configurations.http.d.ts +0 -29
- package/build/internal/es/src/ecom-v1-shippo-configuration-shippo-configurations.http.js +0 -352
- package/build/internal/es/src/ecom-v1-shippo-configuration-shippo-configurations.http.js.map +0 -1
- package/build/internal/es/src/ecom-v1-shippo-configuration-shippo-configurations.meta.d.ts +0 -33
- package/build/internal/es/src/ecom-v1-shippo-configuration-shippo-configurations.meta.js +0 -154
- package/build/internal/es/src/ecom-v1-shippo-configuration-shippo-configurations.meta.js.map +0 -1
- package/build/internal/es/src/ecom-v1-shippo-configuration-shippo-configurations.public.d.ts +0 -84
- package/build/internal/es/src/ecom-v1-shippo-configuration-shippo-configurations.public.js +0 -91
- package/build/internal/es/src/ecom-v1-shippo-configuration-shippo-configurations.public.js.map +0 -1
- package/build/internal/es/src/ecom-v1-shippo-configuration-shippo-configurations.types.js +0 -45
- package/build/internal/es/src/ecom-v1-shippo-configuration-shippo-configurations.types.js.map +0 -1
- package/build/internal/es/src/ecom-v1-shippo-configuration-shippo-configurations.universal.js +0 -444
- package/build/internal/es/src/ecom-v1-shippo-configuration-shippo-configurations.universal.js.map +0 -1
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { HttpClient, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
|
+
import { S as ShippoConfiguration, C as CreateShippoConfigurationOptions, U as UpdateShippoConfiguration, a as ShippoConfigurationsQueryBuilder, b as UpdateExtendedFieldsOptions, c as UpdateExtendedFieldsResponse, A as AddDeliveryRegionOptions, d as AddDeliveryRegionResponse, R as RemoveDeliveryRegionIdentifiers, e as RemoveDeliveryRegionOptions, f as RemoveDeliveryRegionResponse, g as ShippoConfigurationCreatedEnvelope, h as ShippoConfigurationDeletedEnvelope, i as ShippoConfigurationUpdatedEnvelope } from './ecom-v1-shippo-configuration-shippo-configurations.universal-D-nyXVmj.mjs';
|
|
3
|
+
export { $ as ActionEvent, a1 as AddDeliveryRegionRequest, q as Address, s as AddressLocation, a6 as BaseEventMetadata, j as CalculationType, t as CreateShippoConfigurationRequest, u as CreateShippoConfigurationResponse, K as CursorPaging, M as CursorPagingMetadata, B as CursorQuery, F as CursorQueryPagingMethodOneOf, N as Cursors, y as DeleteShippoConfigurationRequest, z as DeleteShippoConfigurationResponse, T as DomainEvent, V as DomainEventBodyOneOf, D as DomesticService, l as DomesticServiceSettings, a0 as Empty, X as EntityCreatedEvent, _ as EntityDeletedEvent, Z as EntityUpdatedEvent, a7 as EventMetadata, E as ExtendedFields, G as GetShippoConfigurationRequest, v as GetShippoConfigurationResponse, H as HandlingFee, a4 as IdentificationData, a5 as IdentificationDataIdOneOf, I as InternationalService, n as InternationalServiceSettings, a3 as MessageEnvelope, o as PackageDetails, p as PackageDimensions, P as PackageType, Q as QueryShippoConfigurationsRequest, L as QueryShippoConfigurationsResponse, a2 as RemoveDeliveryRegionRequest, Y as RestoreInfo, m as ServiceSettings, a8 as ShippoConfigurationsQueryResult, k as SortOrder, J as Sorting, r as StreetAddress, O as UpdateExtendedFieldsRequest, w as UpdateShippoConfigurationRequest, x as UpdateShippoConfigurationResponse, W as WebhookIdentityType } from './ecom-v1-shippo-configuration-shippo-configurations.universal-D-nyXVmj.mjs';
|
|
4
|
+
|
|
5
|
+
declare function createShippoConfiguration$1(httpClient: HttpClient): CreateShippoConfigurationSignature;
|
|
6
|
+
interface CreateShippoConfigurationSignature {
|
|
7
|
+
/**
|
|
8
|
+
* Creates a ShippoConfiguration.
|
|
9
|
+
* @param - ShippoConfiguration to be created.
|
|
10
|
+
* @returns The created ShippoConfiguration.
|
|
11
|
+
*/
|
|
12
|
+
(shippoConfiguration: ShippoConfiguration, options?: CreateShippoConfigurationOptions | undefined): Promise<ShippoConfiguration>;
|
|
13
|
+
}
|
|
14
|
+
declare function getShippoConfiguration$1(httpClient: HttpClient): GetShippoConfigurationSignature;
|
|
15
|
+
interface GetShippoConfigurationSignature {
|
|
16
|
+
/**
|
|
17
|
+
* Retrieves a ShippoConfiguration.
|
|
18
|
+
* @param - ID of the ShippoConfiguration to retrieve.
|
|
19
|
+
* @returns The requested ShippoConfiguration.
|
|
20
|
+
*/
|
|
21
|
+
(shippoConfigurationId: string): Promise<ShippoConfiguration>;
|
|
22
|
+
}
|
|
23
|
+
declare function updateShippoConfiguration$1(httpClient: HttpClient): UpdateShippoConfigurationSignature;
|
|
24
|
+
interface UpdateShippoConfigurationSignature {
|
|
25
|
+
/**
|
|
26
|
+
* Updates a ShippoConfiguration.
|
|
27
|
+
* @param - ShippoConfiguration ID.
|
|
28
|
+
* @returns Updated ShippoConfiguration.
|
|
29
|
+
*/
|
|
30
|
+
(_id: string, shippoConfiguration: UpdateShippoConfiguration): Promise<ShippoConfiguration>;
|
|
31
|
+
}
|
|
32
|
+
declare function deleteShippoConfiguration$1(httpClient: HttpClient): DeleteShippoConfigurationSignature;
|
|
33
|
+
interface DeleteShippoConfigurationSignature {
|
|
34
|
+
/**
|
|
35
|
+
* Deletes a ShippoConfiguration.
|
|
36
|
+
* @param - ID of the ShippoConfiguration to delete.
|
|
37
|
+
*/
|
|
38
|
+
(shippoConfigurationId: string): Promise<void>;
|
|
39
|
+
}
|
|
40
|
+
declare function queryShippoConfigurations$1(httpClient: HttpClient): QueryShippoConfigurationsSignature;
|
|
41
|
+
interface QueryShippoConfigurationsSignature {
|
|
42
|
+
/**
|
|
43
|
+
* Retrieves a list of ShippoConfigurations, given the provided [paging, filtering, and sorting][1].
|
|
44
|
+
*
|
|
45
|
+
* Up to 1,000 ShippoConfigurations can be returned per request.
|
|
46
|
+
*
|
|
47
|
+
* To learn how to query ShippoConfigurations, see [API Query Language][2].
|
|
48
|
+
*
|
|
49
|
+
* [1]: https://dev.wix.com/api/rest/getting-started/sorting-and-paging
|
|
50
|
+
* [2]: https://dev.wix.com/api/rest/getting-started/api-query-language
|
|
51
|
+
*/
|
|
52
|
+
(): ShippoConfigurationsQueryBuilder;
|
|
53
|
+
}
|
|
54
|
+
declare function updateExtendedFields$1(httpClient: HttpClient): UpdateExtendedFieldsSignature;
|
|
55
|
+
interface UpdateExtendedFieldsSignature {
|
|
56
|
+
/**
|
|
57
|
+
* Updates extended fields of a ShippoConfiguration without incrementing revision
|
|
58
|
+
* @param - ID of the entity to update.
|
|
59
|
+
* @param - Identifier for the app whose extended fields are being updated.
|
|
60
|
+
*/
|
|
61
|
+
(_id: string, namespace: string, options: UpdateExtendedFieldsOptions): Promise<UpdateExtendedFieldsResponse>;
|
|
62
|
+
}
|
|
63
|
+
declare function addDeliveryRegion$1(httpClient: HttpClient): AddDeliveryRegionSignature;
|
|
64
|
+
interface AddDeliveryRegionSignature {
|
|
65
|
+
/**
|
|
66
|
+
* Adds a delivery region to a Shippo configuration.
|
|
67
|
+
* @param - ID of the ShippoConfiguration to add the delivery region to.
|
|
68
|
+
* @param - ID of the delivery region to add.
|
|
69
|
+
*/
|
|
70
|
+
(shippoConfigurationId: string, deliveryRegionId: string, options?: AddDeliveryRegionOptions | undefined): Promise<AddDeliveryRegionResponse>;
|
|
71
|
+
}
|
|
72
|
+
declare function removeDeliveryRegion$1(httpClient: HttpClient): RemoveDeliveryRegionSignature;
|
|
73
|
+
interface RemoveDeliveryRegionSignature {
|
|
74
|
+
/**
|
|
75
|
+
* Removes a delivery region from a Shippo configuration.
|
|
76
|
+
* When passing the ID of the only existing delivery region, removing it will delete the Shippo configuration.
|
|
77
|
+
*/
|
|
78
|
+
(identifiers: RemoveDeliveryRegionIdentifiers, options?: RemoveDeliveryRegionOptions | undefined): Promise<RemoveDeliveryRegionResponse>;
|
|
79
|
+
}
|
|
80
|
+
declare const onShippoConfigurationCreated$1: EventDefinition<ShippoConfigurationCreatedEnvelope, "wix.ecom.v1.shippo_configuration_created">;
|
|
81
|
+
declare const onShippoConfigurationDeleted$1: EventDefinition<ShippoConfigurationDeletedEnvelope, "wix.ecom.v1.shippo_configuration_deleted">;
|
|
82
|
+
declare const onShippoConfigurationUpdated$1: EventDefinition<ShippoConfigurationUpdatedEnvelope, "wix.ecom.v1.shippo_configuration_updated">;
|
|
83
|
+
|
|
84
|
+
declare const createShippoConfiguration: MaybeContext<BuildRESTFunction<typeof createShippoConfiguration$1> & typeof createShippoConfiguration$1>;
|
|
85
|
+
declare const getShippoConfiguration: MaybeContext<BuildRESTFunction<typeof getShippoConfiguration$1> & typeof getShippoConfiguration$1>;
|
|
86
|
+
declare const updateShippoConfiguration: MaybeContext<BuildRESTFunction<typeof updateShippoConfiguration$1> & typeof updateShippoConfiguration$1>;
|
|
87
|
+
declare const deleteShippoConfiguration: MaybeContext<BuildRESTFunction<typeof deleteShippoConfiguration$1> & typeof deleteShippoConfiguration$1>;
|
|
88
|
+
declare const queryShippoConfigurations: MaybeContext<BuildRESTFunction<typeof queryShippoConfigurations$1> & typeof queryShippoConfigurations$1>;
|
|
89
|
+
declare const updateExtendedFields: MaybeContext<BuildRESTFunction<typeof updateExtendedFields$1> & typeof updateExtendedFields$1>;
|
|
90
|
+
declare const addDeliveryRegion: MaybeContext<BuildRESTFunction<typeof addDeliveryRegion$1> & typeof addDeliveryRegion$1>;
|
|
91
|
+
declare const removeDeliveryRegion: MaybeContext<BuildRESTFunction<typeof removeDeliveryRegion$1> & typeof removeDeliveryRegion$1>;
|
|
92
|
+
/**
|
|
93
|
+
* Triggered when a shipping option is created.
|
|
94
|
+
*/
|
|
95
|
+
declare const onShippoConfigurationCreated: BuildEventDefinition<typeof onShippoConfigurationCreated$1>;
|
|
96
|
+
/**
|
|
97
|
+
* Triggered when a shipping option is deleted.
|
|
98
|
+
*/
|
|
99
|
+
declare const onShippoConfigurationDeleted: BuildEventDefinition<typeof onShippoConfigurationDeleted$1>;
|
|
100
|
+
/**
|
|
101
|
+
* Triggered when a shipping option is updated.
|
|
102
|
+
*/
|
|
103
|
+
declare const onShippoConfigurationUpdated: BuildEventDefinition<typeof onShippoConfigurationUpdated$1>;
|
|
104
|
+
|
|
105
|
+
export { AddDeliveryRegionOptions, AddDeliveryRegionResponse, CreateShippoConfigurationOptions, RemoveDeliveryRegionIdentifiers, RemoveDeliveryRegionOptions, RemoveDeliveryRegionResponse, ShippoConfiguration, ShippoConfigurationCreatedEnvelope, ShippoConfigurationDeletedEnvelope, ShippoConfigurationUpdatedEnvelope, ShippoConfigurationsQueryBuilder, UpdateExtendedFieldsOptions, UpdateExtendedFieldsResponse, UpdateShippoConfiguration, addDeliveryRegion, createShippoConfiguration, deleteShippoConfiguration, getShippoConfiguration, onShippoConfigurationCreated, onShippoConfigurationDeleted, onShippoConfigurationUpdated, queryShippoConfigurations, removeDeliveryRegion, updateExtendedFields, updateShippoConfiguration };
|
package/build/index.d.ts
ADDED
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { HttpClient, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
|
+
import { S as ShippoConfiguration, C as CreateShippoConfigurationOptions, U as UpdateShippoConfiguration, a as ShippoConfigurationsQueryBuilder, b as UpdateExtendedFieldsOptions, c as UpdateExtendedFieldsResponse, A as AddDeliveryRegionOptions, d as AddDeliveryRegionResponse, R as RemoveDeliveryRegionIdentifiers, e as RemoveDeliveryRegionOptions, f as RemoveDeliveryRegionResponse, g as ShippoConfigurationCreatedEnvelope, h as ShippoConfigurationDeletedEnvelope, i as ShippoConfigurationUpdatedEnvelope } from './ecom-v1-shippo-configuration-shippo-configurations.universal-D-nyXVmj.js';
|
|
3
|
+
export { $ as ActionEvent, a1 as AddDeliveryRegionRequest, q as Address, s as AddressLocation, a6 as BaseEventMetadata, j as CalculationType, t as CreateShippoConfigurationRequest, u as CreateShippoConfigurationResponse, K as CursorPaging, M as CursorPagingMetadata, B as CursorQuery, F as CursorQueryPagingMethodOneOf, N as Cursors, y as DeleteShippoConfigurationRequest, z as DeleteShippoConfigurationResponse, T as DomainEvent, V as DomainEventBodyOneOf, D as DomesticService, l as DomesticServiceSettings, a0 as Empty, X as EntityCreatedEvent, _ as EntityDeletedEvent, Z as EntityUpdatedEvent, a7 as EventMetadata, E as ExtendedFields, G as GetShippoConfigurationRequest, v as GetShippoConfigurationResponse, H as HandlingFee, a4 as IdentificationData, a5 as IdentificationDataIdOneOf, I as InternationalService, n as InternationalServiceSettings, a3 as MessageEnvelope, o as PackageDetails, p as PackageDimensions, P as PackageType, Q as QueryShippoConfigurationsRequest, L as QueryShippoConfigurationsResponse, a2 as RemoveDeliveryRegionRequest, Y as RestoreInfo, m as ServiceSettings, a8 as ShippoConfigurationsQueryResult, k as SortOrder, J as Sorting, r as StreetAddress, O as UpdateExtendedFieldsRequest, w as UpdateShippoConfigurationRequest, x as UpdateShippoConfigurationResponse, W as WebhookIdentityType } from './ecom-v1-shippo-configuration-shippo-configurations.universal-D-nyXVmj.js';
|
|
4
|
+
|
|
5
|
+
declare function createShippoConfiguration$1(httpClient: HttpClient): CreateShippoConfigurationSignature;
|
|
6
|
+
interface CreateShippoConfigurationSignature {
|
|
7
|
+
/**
|
|
8
|
+
* Creates a ShippoConfiguration.
|
|
9
|
+
* @param - ShippoConfiguration to be created.
|
|
10
|
+
* @returns The created ShippoConfiguration.
|
|
11
|
+
*/
|
|
12
|
+
(shippoConfiguration: ShippoConfiguration, options?: CreateShippoConfigurationOptions | undefined): Promise<ShippoConfiguration>;
|
|
13
|
+
}
|
|
14
|
+
declare function getShippoConfiguration$1(httpClient: HttpClient): GetShippoConfigurationSignature;
|
|
15
|
+
interface GetShippoConfigurationSignature {
|
|
16
|
+
/**
|
|
17
|
+
* Retrieves a ShippoConfiguration.
|
|
18
|
+
* @param - ID of the ShippoConfiguration to retrieve.
|
|
19
|
+
* @returns The requested ShippoConfiguration.
|
|
20
|
+
*/
|
|
21
|
+
(shippoConfigurationId: string): Promise<ShippoConfiguration>;
|
|
22
|
+
}
|
|
23
|
+
declare function updateShippoConfiguration$1(httpClient: HttpClient): UpdateShippoConfigurationSignature;
|
|
24
|
+
interface UpdateShippoConfigurationSignature {
|
|
25
|
+
/**
|
|
26
|
+
* Updates a ShippoConfiguration.
|
|
27
|
+
* @param - ShippoConfiguration ID.
|
|
28
|
+
* @returns Updated ShippoConfiguration.
|
|
29
|
+
*/
|
|
30
|
+
(_id: string, shippoConfiguration: UpdateShippoConfiguration): Promise<ShippoConfiguration>;
|
|
31
|
+
}
|
|
32
|
+
declare function deleteShippoConfiguration$1(httpClient: HttpClient): DeleteShippoConfigurationSignature;
|
|
33
|
+
interface DeleteShippoConfigurationSignature {
|
|
34
|
+
/**
|
|
35
|
+
* Deletes a ShippoConfiguration.
|
|
36
|
+
* @param - ID of the ShippoConfiguration to delete.
|
|
37
|
+
*/
|
|
38
|
+
(shippoConfigurationId: string): Promise<void>;
|
|
39
|
+
}
|
|
40
|
+
declare function queryShippoConfigurations$1(httpClient: HttpClient): QueryShippoConfigurationsSignature;
|
|
41
|
+
interface QueryShippoConfigurationsSignature {
|
|
42
|
+
/**
|
|
43
|
+
* Retrieves a list of ShippoConfigurations, given the provided [paging, filtering, and sorting][1].
|
|
44
|
+
*
|
|
45
|
+
* Up to 1,000 ShippoConfigurations can be returned per request.
|
|
46
|
+
*
|
|
47
|
+
* To learn how to query ShippoConfigurations, see [API Query Language][2].
|
|
48
|
+
*
|
|
49
|
+
* [1]: https://dev.wix.com/api/rest/getting-started/sorting-and-paging
|
|
50
|
+
* [2]: https://dev.wix.com/api/rest/getting-started/api-query-language
|
|
51
|
+
*/
|
|
52
|
+
(): ShippoConfigurationsQueryBuilder;
|
|
53
|
+
}
|
|
54
|
+
declare function updateExtendedFields$1(httpClient: HttpClient): UpdateExtendedFieldsSignature;
|
|
55
|
+
interface UpdateExtendedFieldsSignature {
|
|
56
|
+
/**
|
|
57
|
+
* Updates extended fields of a ShippoConfiguration without incrementing revision
|
|
58
|
+
* @param - ID of the entity to update.
|
|
59
|
+
* @param - Identifier for the app whose extended fields are being updated.
|
|
60
|
+
*/
|
|
61
|
+
(_id: string, namespace: string, options: UpdateExtendedFieldsOptions): Promise<UpdateExtendedFieldsResponse>;
|
|
62
|
+
}
|
|
63
|
+
declare function addDeliveryRegion$1(httpClient: HttpClient): AddDeliveryRegionSignature;
|
|
64
|
+
interface AddDeliveryRegionSignature {
|
|
65
|
+
/**
|
|
66
|
+
* Adds a delivery region to a Shippo configuration.
|
|
67
|
+
* @param - ID of the ShippoConfiguration to add the delivery region to.
|
|
68
|
+
* @param - ID of the delivery region to add.
|
|
69
|
+
*/
|
|
70
|
+
(shippoConfigurationId: string, deliveryRegionId: string, options?: AddDeliveryRegionOptions | undefined): Promise<AddDeliveryRegionResponse>;
|
|
71
|
+
}
|
|
72
|
+
declare function removeDeliveryRegion$1(httpClient: HttpClient): RemoveDeliveryRegionSignature;
|
|
73
|
+
interface RemoveDeliveryRegionSignature {
|
|
74
|
+
/**
|
|
75
|
+
* Removes a delivery region from a Shippo configuration.
|
|
76
|
+
* When passing the ID of the only existing delivery region, removing it will delete the Shippo configuration.
|
|
77
|
+
*/
|
|
78
|
+
(identifiers: RemoveDeliveryRegionIdentifiers, options?: RemoveDeliveryRegionOptions | undefined): Promise<RemoveDeliveryRegionResponse>;
|
|
79
|
+
}
|
|
80
|
+
declare const onShippoConfigurationCreated$1: EventDefinition<ShippoConfigurationCreatedEnvelope, "wix.ecom.v1.shippo_configuration_created">;
|
|
81
|
+
declare const onShippoConfigurationDeleted$1: EventDefinition<ShippoConfigurationDeletedEnvelope, "wix.ecom.v1.shippo_configuration_deleted">;
|
|
82
|
+
declare const onShippoConfigurationUpdated$1: EventDefinition<ShippoConfigurationUpdatedEnvelope, "wix.ecom.v1.shippo_configuration_updated">;
|
|
83
|
+
|
|
84
|
+
declare const createShippoConfiguration: MaybeContext<BuildRESTFunction<typeof createShippoConfiguration$1> & typeof createShippoConfiguration$1>;
|
|
85
|
+
declare const getShippoConfiguration: MaybeContext<BuildRESTFunction<typeof getShippoConfiguration$1> & typeof getShippoConfiguration$1>;
|
|
86
|
+
declare const updateShippoConfiguration: MaybeContext<BuildRESTFunction<typeof updateShippoConfiguration$1> & typeof updateShippoConfiguration$1>;
|
|
87
|
+
declare const deleteShippoConfiguration: MaybeContext<BuildRESTFunction<typeof deleteShippoConfiguration$1> & typeof deleteShippoConfiguration$1>;
|
|
88
|
+
declare const queryShippoConfigurations: MaybeContext<BuildRESTFunction<typeof queryShippoConfigurations$1> & typeof queryShippoConfigurations$1>;
|
|
89
|
+
declare const updateExtendedFields: MaybeContext<BuildRESTFunction<typeof updateExtendedFields$1> & typeof updateExtendedFields$1>;
|
|
90
|
+
declare const addDeliveryRegion: MaybeContext<BuildRESTFunction<typeof addDeliveryRegion$1> & typeof addDeliveryRegion$1>;
|
|
91
|
+
declare const removeDeliveryRegion: MaybeContext<BuildRESTFunction<typeof removeDeliveryRegion$1> & typeof removeDeliveryRegion$1>;
|
|
92
|
+
/**
|
|
93
|
+
* Triggered when a shipping option is created.
|
|
94
|
+
*/
|
|
95
|
+
declare const onShippoConfigurationCreated: BuildEventDefinition<typeof onShippoConfigurationCreated$1>;
|
|
96
|
+
/**
|
|
97
|
+
* Triggered when a shipping option is deleted.
|
|
98
|
+
*/
|
|
99
|
+
declare const onShippoConfigurationDeleted: BuildEventDefinition<typeof onShippoConfigurationDeleted$1>;
|
|
100
|
+
/**
|
|
101
|
+
* Triggered when a shipping option is updated.
|
|
102
|
+
*/
|
|
103
|
+
declare const onShippoConfigurationUpdated: BuildEventDefinition<typeof onShippoConfigurationUpdated$1>;
|
|
104
|
+
|
|
105
|
+
export { AddDeliveryRegionOptions, AddDeliveryRegionResponse, CreateShippoConfigurationOptions, RemoveDeliveryRegionIdentifiers, RemoveDeliveryRegionOptions, RemoveDeliveryRegionResponse, ShippoConfiguration, ShippoConfigurationCreatedEnvelope, ShippoConfigurationDeletedEnvelope, ShippoConfigurationUpdatedEnvelope, ShippoConfigurationsQueryBuilder, UpdateExtendedFieldsOptions, UpdateExtendedFieldsResponse, UpdateShippoConfiguration, addDeliveryRegion, createShippoConfiguration, deleteShippoConfiguration, getShippoConfiguration, onShippoConfigurationCreated, onShippoConfigurationDeleted, onShippoConfigurationUpdated, queryShippoConfigurations, removeDeliveryRegion, updateExtendedFields, updateShippoConfiguration };
|