@wix/auto_sdk_ecom_delivery-profile 1.0.94 → 1.0.96
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 +14 -3
- package/build/cjs/index.js +63 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +65 -1
- package/build/cjs/index.typings.js +54 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +42 -2
- package/build/cjs/meta.js +41 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +14 -3
- package/build/es/index.mjs +62 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +65 -1
- package/build/es/index.typings.mjs +53 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +42 -2
- package/build/es/meta.mjs +40 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +14 -3
- package/build/internal/cjs/index.js +63 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +65 -1
- package/build/internal/cjs/index.typings.js +54 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +42 -2
- package/build/internal/cjs/meta.js +41 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +14 -3
- package/build/internal/es/index.mjs +62 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +65 -1
- package/build/internal/es/index.typings.mjs +53 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +42 -2
- package/build/internal/es/meta.mjs +40 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -827,6 +827,22 @@ interface UpdateCarrierSettingsRequest {
|
|
|
827
827
|
}
|
|
828
828
|
interface UpdateCarrierSettingsResponse {
|
|
829
829
|
}
|
|
830
|
+
interface SetDeliveryCarrierActiveStatusRequest {
|
|
831
|
+
/**
|
|
832
|
+
* Carrier app ID.
|
|
833
|
+
* @format GUID
|
|
834
|
+
*/
|
|
835
|
+
carrierAppId: string;
|
|
836
|
+
/**
|
|
837
|
+
* Row ID that triggered the change.
|
|
838
|
+
* @format GUID
|
|
839
|
+
*/
|
|
840
|
+
rowId: string;
|
|
841
|
+
/** Whether the configuration defined in the row is active. */
|
|
842
|
+
active: boolean | null;
|
|
843
|
+
}
|
|
844
|
+
interface SetDeliveryCarrierActiveStatusResponse {
|
|
845
|
+
}
|
|
830
846
|
interface UpdateExtendedFieldsRequest {
|
|
831
847
|
/** ID of the entity to update. */
|
|
832
848
|
_id: string;
|
|
@@ -1466,6 +1482,23 @@ declare enum WebhookIdentityType {
|
|
|
1466
1482
|
}
|
|
1467
1483
|
/** @enumType */
|
|
1468
1484
|
type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
1485
|
+
interface AccountDetails {
|
|
1486
|
+
/**
|
|
1487
|
+
* ID of the account.
|
|
1488
|
+
* @format GUID
|
|
1489
|
+
*/
|
|
1490
|
+
accountId?: string | null;
|
|
1491
|
+
/**
|
|
1492
|
+
* ID of the parent account.
|
|
1493
|
+
* @format GUID
|
|
1494
|
+
*/
|
|
1495
|
+
parentAccountId?: string | null;
|
|
1496
|
+
/**
|
|
1497
|
+
* ID of the site, if applicable.
|
|
1498
|
+
* @format GUID
|
|
1499
|
+
*/
|
|
1500
|
+
siteId?: string | null;
|
|
1501
|
+
}
|
|
1469
1502
|
/** @docsIgnore */
|
|
1470
1503
|
type CreateDeliveryProfileApplicationErrors = {
|
|
1471
1504
|
code?: 'DELIVERY_PROFILES_LIMIT_EXCEEDED';
|
|
@@ -1620,6 +1653,12 @@ type UpdateCarrierSettingsApplicationErrors = {
|
|
|
1620
1653
|
description?: string;
|
|
1621
1654
|
data?: Record<string, any>;
|
|
1622
1655
|
};
|
|
1656
|
+
/** @docsIgnore */
|
|
1657
|
+
type SetDeliveryCarrierActiveStatusApplicationErrors = {
|
|
1658
|
+
code?: 'DELIVERY_CARRIER_NOT_FOUND';
|
|
1659
|
+
description?: string;
|
|
1660
|
+
data?: Record<string, any>;
|
|
1661
|
+
};
|
|
1623
1662
|
interface BaseEventMetadata {
|
|
1624
1663
|
/**
|
|
1625
1664
|
* App instance ID.
|
|
@@ -2356,6 +2395,31 @@ interface UpdateCarrierSettingsOptions {
|
|
|
2356
2395
|
/** New status */
|
|
2357
2396
|
active: boolean | null;
|
|
2358
2397
|
}
|
|
2398
|
+
/**
|
|
2399
|
+
* Sets delivery carrier's active status.
|
|
2400
|
+
* @param carrierAppId - Carrier app ID.
|
|
2401
|
+
* @public
|
|
2402
|
+
* @documentationMaturity preview
|
|
2403
|
+
* @requiredField carrierAppId
|
|
2404
|
+
* @requiredField options
|
|
2405
|
+
* @requiredField options.active
|
|
2406
|
+
* @requiredField options.rowId
|
|
2407
|
+
* @permissionId ECOM.DELIVERY_CARRIER_UPDATE
|
|
2408
|
+
* @applicableIdentity APP
|
|
2409
|
+
* @fqn wix.ecom.deliveryprofile.v1.DeliveryProfiles.SetDeliveryCarrierActiveStatus
|
|
2410
|
+
*/
|
|
2411
|
+
declare function setDeliveryCarrierActiveStatus(carrierAppId: string, options: NonNullablePaths<SetDeliveryCarrierActiveStatusOptions, `active` | `rowId`, 2>): Promise<void & {
|
|
2412
|
+
__applicationErrorsType?: SetDeliveryCarrierActiveStatusApplicationErrors;
|
|
2413
|
+
}>;
|
|
2414
|
+
interface SetDeliveryCarrierActiveStatusOptions {
|
|
2415
|
+
/**
|
|
2416
|
+
* Row ID that triggered the change.
|
|
2417
|
+
* @format GUID
|
|
2418
|
+
*/
|
|
2419
|
+
rowId: string;
|
|
2420
|
+
/** Whether the configuration defined in the row is active. */
|
|
2421
|
+
active: boolean | null;
|
|
2422
|
+
}
|
|
2359
2423
|
/**
|
|
2360
2424
|
* Updates extended fields of a DeliveryProfile without incrementing revision
|
|
2361
2425
|
* @param _id - ID of the entity to update.
|
|
@@ -2376,4 +2440,4 @@ interface UpdateExtendedFieldsOptions {
|
|
|
2376
2440
|
namespaceData: Record<string, any> | null;
|
|
2377
2441
|
}
|
|
2378
2442
|
|
|
2379
|
-
export { type ActionEvent, type AddDeliveryCarrierApplicationErrors, type AddDeliveryCarrierOptions, type AddDeliveryCarrierRequest, type AddDeliveryCarrierResponse, type AddDeliveryCarrierValidationErrors, type AddDeliveryRegionApplicationErrors, type AddDeliveryRegionOptions, type AddDeliveryRegionRequest, type AddDeliveryRegionResponse, type AddDeliveryRegionValidationErrors, type AdditionalCharge, type ApplicationError, type Asset, type BackupRate, type BaseEventMetadata, type BulkActionMetadata, ChargeType, type ChargeTypeWithLiterals, type Column, type CommonQueryWithEntityContext, type CountryDeliveryProperties, type CreateDeliveryProfileApplicationErrors, type CreateDeliveryProfileRequest, type CreateDeliveryProfileResponse, type CreatedBy, type CreatedByIdOneOf, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type DashboardTable, type DeleteContext, type DeleteDefaultDeliveryProfileRequest, type DeleteDefaultDeliveryProfileResponse, type DeleteDeliveryProfileRequest, type DeleteDeliveryProfileResponse, DeleteStatus, type DeleteStatusWithLiterals, type DeliveryCarrier, type DeliveryCarrierDetails, type DeliveryCarrierRegionalSettings, type DeliveryDestinationProperties, type DeliveryProfile, type DeliveryProfileCreatedEnvelope, type DeliveryProfileDeletedEnvelope, type DeliveryProfileQuery, type DeliveryProfileQuerySpec, type DeliveryProfileRegionAddedEnvelope, type DeliveryProfileRegionRemovedEnvelope, type DeliveryProfileRegionUpdatedEnvelope, type DeliveryProfileUpdatedEnvelope, type DeliveryProfilesQueryBuilder, type DeliveryProfilesQueryResult, type DeliveryRegion, type DeliveryRegionAdded, type DeliveryRegionRemoved, type DeliveryRegionUpdated, type Destination, DestinationScope, type DestinationScopeWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExtendedFields, type GetDeliveryDestinationPropertiesRequest, type GetDeliveryDestinationPropertiesResponse, type GetDeliveryProfileByDeliveryRegionIdApplicationErrors, type GetDeliveryProfileByDeliveryRegionIdRequest, type GetDeliveryProfileByDeliveryRegionIdResponse, type GetDeliveryProfileRequest, type GetDeliveryProfileResponse, type IdentificationData, type IdentificationDataIdOneOf, type InstalledDeliveryCarrier, type ItemMetadata, type ListDeliveryCarriersApplicationErrors, type ListDeliveryCarriersOptions, type ListDeliveryCarriersRequest, type ListDeliveryCarriersResponse, type ListDeliveryCarriersResult, type ListDeliveryDestinationsRequest, type ListDeliveryDestinationsResponse, type ListInstalledDeliveryCarriersRequest, type ListInstalledDeliveryCarriersResponse, type MessageEnvelope, type MetaSiteSpecialEvent, type MetaSiteSpecialEventPayloadOneOf, Namespace, type NamespaceChanged, type NamespaceWithLiterals, type OdeditorAssigned, type OdeditorUnassigned, type PicassoAssigned, type PicassoUnassigned, type QueryDeliveryProfilesRequest, type QueryDeliveryProfilesResponse, type RemoveDeliveryCarrierApplicationErrors, type RemoveDeliveryCarrierOptions, type RemoveDeliveryCarrierRequest, type RemoveDeliveryCarrierResponse, type RemoveDeliveryRegionApplicationErrors, type RemoveDeliveryRegionIdentifiers, type RemoveDeliveryRegionOptions, type RemoveDeliveryRegionRequest, type RemoveDeliveryRegionResponse, type RequiredZipcodeRequest, type RequiredZipcodeResponse, type RestoreInfo, type Row, type ServiceProvisioned, type ServiceRemoved, type SiteCreated, SiteCreatedContext, type SiteCreatedContextWithLiterals, type SiteDeleted, type SiteHardDeleted, type SiteMarkedAsTemplate, type SiteMarkedAsWixSite, type SitePublished, type SitePurgedExternally, type SiteRenamed, type SiteTransferred, type SiteUndeleted, type SiteUnpublished, type SiteUrlChanged, SortOrder, type SortOrderWithLiterals, type Sorting, State, type StateWithLiterals, type StudioAssigned, type StudioTwoAssigned, type StudioTwoUnassigned, type StudioUnassigned, type SubdivisionDeliveryProperties, type UpdateCarrierSettingsApplicationErrors, type UpdateCarrierSettingsOptions, type UpdateCarrierSettingsRequest, type UpdateCarrierSettingsResponse, type UpdateDeliveryCarrierApplicationErrors, type UpdateDeliveryCarrierOptions, type UpdateDeliveryCarrierRequest, type UpdateDeliveryCarrierResponse, type UpdateDeliveryProfile, type UpdateDeliveryProfileApplicationErrors, type UpdateDeliveryProfileRequest, type UpdateDeliveryProfileResponse, type UpdateDeliveryRegion, type UpdateDeliveryRegionApplicationErrors, type UpdateDeliveryRegionIdentifiers, type UpdateDeliveryRegionOptions, type UpdateDeliveryRegionRequest, type UpdateDeliveryRegionResponse, type UpdateDeliveryRegionValidationErrors, type UpdateExtendedFieldsOptions, type UpdateExtendedFieldsRequest, type UpdateExtendedFieldsResponse, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, type WixelAssigned, type WixelUnassigned, addDeliveryCarrier, addDeliveryRegion, createDeliveryProfile, deleteDeliveryProfile, getDeliveryDestinationProperties, getDeliveryProfile, getDeliveryProfileByDeliveryRegionId, listDeliveryCarriers, listInstalledDeliveryCarriers, onDeliveryProfileCreated, onDeliveryProfileDeleted, onDeliveryProfileRegionAdded, onDeliveryProfileRegionRemoved, onDeliveryProfileRegionUpdated, onDeliveryProfileUpdated, queryDeliveryProfiles, removeDeliveryCarrier, removeDeliveryRegion, typedQueryDeliveryProfiles, updateDeliveryCarrier, updateDeliveryProfile, updateDeliveryRegion, updateExtendedFields };
|
|
2443
|
+
export { type AccountDetails, type ActionEvent, type AddDeliveryCarrierApplicationErrors, type AddDeliveryCarrierOptions, type AddDeliveryCarrierRequest, type AddDeliveryCarrierResponse, type AddDeliveryCarrierValidationErrors, type AddDeliveryRegionApplicationErrors, type AddDeliveryRegionOptions, type AddDeliveryRegionRequest, type AddDeliveryRegionResponse, type AddDeliveryRegionValidationErrors, type AdditionalCharge, type ApplicationError, type Asset, type BackupRate, type BaseEventMetadata, type BulkActionMetadata, ChargeType, type ChargeTypeWithLiterals, type Column, type CommonQueryWithEntityContext, type CountryDeliveryProperties, type CreateDeliveryProfileApplicationErrors, type CreateDeliveryProfileRequest, type CreateDeliveryProfileResponse, type CreatedBy, type CreatedByIdOneOf, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type DashboardTable, type DeleteContext, type DeleteDefaultDeliveryProfileRequest, type DeleteDefaultDeliveryProfileResponse, type DeleteDeliveryProfileRequest, type DeleteDeliveryProfileResponse, DeleteStatus, type DeleteStatusWithLiterals, type DeliveryCarrier, type DeliveryCarrierDetails, type DeliveryCarrierRegionalSettings, type DeliveryDestinationProperties, type DeliveryProfile, type DeliveryProfileCreatedEnvelope, type DeliveryProfileDeletedEnvelope, type DeliveryProfileQuery, type DeliveryProfileQuerySpec, type DeliveryProfileRegionAddedEnvelope, type DeliveryProfileRegionRemovedEnvelope, type DeliveryProfileRegionUpdatedEnvelope, type DeliveryProfileUpdatedEnvelope, type DeliveryProfilesQueryBuilder, type DeliveryProfilesQueryResult, type DeliveryRegion, type DeliveryRegionAdded, type DeliveryRegionRemoved, type DeliveryRegionUpdated, type Destination, DestinationScope, type DestinationScopeWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExtendedFields, type GetDeliveryDestinationPropertiesRequest, type GetDeliveryDestinationPropertiesResponse, type GetDeliveryProfileByDeliveryRegionIdApplicationErrors, type GetDeliveryProfileByDeliveryRegionIdRequest, type GetDeliveryProfileByDeliveryRegionIdResponse, type GetDeliveryProfileRequest, type GetDeliveryProfileResponse, type IdentificationData, type IdentificationDataIdOneOf, type InstalledDeliveryCarrier, type ItemMetadata, type ListDeliveryCarriersApplicationErrors, type ListDeliveryCarriersOptions, type ListDeliveryCarriersRequest, type ListDeliveryCarriersResponse, type ListDeliveryCarriersResult, type ListDeliveryDestinationsRequest, type ListDeliveryDestinationsResponse, type ListInstalledDeliveryCarriersRequest, type ListInstalledDeliveryCarriersResponse, type MessageEnvelope, type MetaSiteSpecialEvent, type MetaSiteSpecialEventPayloadOneOf, Namespace, type NamespaceChanged, type NamespaceWithLiterals, type OdeditorAssigned, type OdeditorUnassigned, type PicassoAssigned, type PicassoUnassigned, type QueryDeliveryProfilesRequest, type QueryDeliveryProfilesResponse, type RemoveDeliveryCarrierApplicationErrors, type RemoveDeliveryCarrierOptions, type RemoveDeliveryCarrierRequest, type RemoveDeliveryCarrierResponse, type RemoveDeliveryRegionApplicationErrors, type RemoveDeliveryRegionIdentifiers, type RemoveDeliveryRegionOptions, type RemoveDeliveryRegionRequest, type RemoveDeliveryRegionResponse, type RequiredZipcodeRequest, type RequiredZipcodeResponse, type RestoreInfo, type Row, type ServiceProvisioned, type ServiceRemoved, type SetDeliveryCarrierActiveStatusApplicationErrors, type SetDeliveryCarrierActiveStatusOptions, type SetDeliveryCarrierActiveStatusRequest, type SetDeliveryCarrierActiveStatusResponse, type SiteCreated, SiteCreatedContext, type SiteCreatedContextWithLiterals, type SiteDeleted, type SiteHardDeleted, type SiteMarkedAsTemplate, type SiteMarkedAsWixSite, type SitePublished, type SitePurgedExternally, type SiteRenamed, type SiteTransferred, type SiteUndeleted, type SiteUnpublished, type SiteUrlChanged, SortOrder, type SortOrderWithLiterals, type Sorting, State, type StateWithLiterals, type StudioAssigned, type StudioTwoAssigned, type StudioTwoUnassigned, type StudioUnassigned, type SubdivisionDeliveryProperties, type UpdateCarrierSettingsApplicationErrors, type UpdateCarrierSettingsOptions, type UpdateCarrierSettingsRequest, type UpdateCarrierSettingsResponse, type UpdateDeliveryCarrierApplicationErrors, type UpdateDeliveryCarrierOptions, type UpdateDeliveryCarrierRequest, type UpdateDeliveryCarrierResponse, type UpdateDeliveryProfile, type UpdateDeliveryProfileApplicationErrors, type UpdateDeliveryProfileRequest, type UpdateDeliveryProfileResponse, type UpdateDeliveryRegion, type UpdateDeliveryRegionApplicationErrors, type UpdateDeliveryRegionIdentifiers, type UpdateDeliveryRegionOptions, type UpdateDeliveryRegionRequest, type UpdateDeliveryRegionResponse, type UpdateDeliveryRegionValidationErrors, type UpdateExtendedFieldsOptions, type UpdateExtendedFieldsRequest, type UpdateExtendedFieldsResponse, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, type WixelAssigned, type WixelUnassigned, addDeliveryCarrier, addDeliveryRegion, createDeliveryProfile, deleteDeliveryProfile, getDeliveryDestinationProperties, getDeliveryProfile, getDeliveryProfileByDeliveryRegionId, listDeliveryCarriers, listInstalledDeliveryCarriers, onDeliveryProfileCreated, onDeliveryProfileDeleted, onDeliveryProfileRegionAdded, onDeliveryProfileRegionRemoved, onDeliveryProfileRegionUpdated, onDeliveryProfileUpdated, queryDeliveryProfiles, removeDeliveryCarrier, removeDeliveryRegion, setDeliveryCarrierActiveStatus, typedQueryDeliveryProfiles, updateDeliveryCarrier, updateDeliveryProfile, updateDeliveryRegion, updateExtendedFields };
|
|
@@ -40,6 +40,7 @@ __export(index_typings_exports, {
|
|
|
40
40
|
queryDeliveryProfiles: () => queryDeliveryProfiles2,
|
|
41
41
|
removeDeliveryCarrier: () => removeDeliveryCarrier2,
|
|
42
42
|
removeDeliveryRegion: () => removeDeliveryRegion2,
|
|
43
|
+
setDeliveryCarrierActiveStatus: () => setDeliveryCarrierActiveStatus2,
|
|
43
44
|
typedQueryDeliveryProfiles: () => typedQueryDeliveryProfiles,
|
|
44
45
|
updateCarrierSettings: () => updateCarrierSettings2,
|
|
45
46
|
updateDeliveryCarrier: () => updateDeliveryCarrier2,
|
|
@@ -616,6 +617,27 @@ function updateCarrierSettings(payload) {
|
|
|
616
617
|
}
|
|
617
618
|
return __updateCarrierSettings;
|
|
618
619
|
}
|
|
620
|
+
function setDeliveryCarrierActiveStatus(payload) {
|
|
621
|
+
function __setDeliveryCarrierActiveStatus({ host }) {
|
|
622
|
+
const metadata = {
|
|
623
|
+
entityFqdn: "wix.ecom.v1.delivery_profile",
|
|
624
|
+
method: "POST",
|
|
625
|
+
methodFqn: "wix.ecom.deliveryprofile.v1.DeliveryProfiles.SetDeliveryCarrierActiveStatus",
|
|
626
|
+
packageName: PACKAGE_NAME,
|
|
627
|
+
migrationOptions: {
|
|
628
|
+
optInTransformResponse: true
|
|
629
|
+
},
|
|
630
|
+
url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({
|
|
631
|
+
protoPath: "/v1/delivery-profiles/delivery-carriers/set-active-status",
|
|
632
|
+
data: payload,
|
|
633
|
+
host
|
|
634
|
+
}),
|
|
635
|
+
data: payload
|
|
636
|
+
};
|
|
637
|
+
return metadata;
|
|
638
|
+
}
|
|
639
|
+
return __setDeliveryCarrierActiveStatus;
|
|
640
|
+
}
|
|
619
641
|
function updateExtendedFields(payload) {
|
|
620
642
|
function __updateExtendedFields({ host }) {
|
|
621
643
|
const metadata = {
|
|
@@ -1215,6 +1237,37 @@ async function updateCarrierSettings2(carrierId, options) {
|
|
|
1215
1237
|
throw transformedError;
|
|
1216
1238
|
}
|
|
1217
1239
|
}
|
|
1240
|
+
async function setDeliveryCarrierActiveStatus2(carrierAppId, options) {
|
|
1241
|
+
const { httpClient, sideEffects } = arguments[2];
|
|
1242
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
1243
|
+
carrierAppId,
|
|
1244
|
+
rowId: options?.rowId,
|
|
1245
|
+
active: options?.active
|
|
1246
|
+
});
|
|
1247
|
+
const reqOpts = setDeliveryCarrierActiveStatus(payload);
|
|
1248
|
+
sideEffects?.onSiteCall?.();
|
|
1249
|
+
try {
|
|
1250
|
+
const result = await httpClient.request(reqOpts);
|
|
1251
|
+
sideEffects?.onSuccess?.(result);
|
|
1252
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
1253
|
+
} catch (err) {
|
|
1254
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
1255
|
+
err,
|
|
1256
|
+
{
|
|
1257
|
+
spreadPathsToArguments: {},
|
|
1258
|
+
explicitPathsToArguments: {
|
|
1259
|
+
carrierAppId: "$[0]",
|
|
1260
|
+
rowId: "$[1].rowId",
|
|
1261
|
+
active: "$[1].active"
|
|
1262
|
+
},
|
|
1263
|
+
singleArgumentUnchanged: false
|
|
1264
|
+
},
|
|
1265
|
+
["carrierAppId", "options"]
|
|
1266
|
+
);
|
|
1267
|
+
sideEffects?.onError?.(err);
|
|
1268
|
+
throw transformedError;
|
|
1269
|
+
}
|
|
1270
|
+
}
|
|
1218
1271
|
async function updateExtendedFields2(_id, namespace, options) {
|
|
1219
1272
|
const { httpClient, sideEffects } = arguments[3];
|
|
1220
1273
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
@@ -1268,6 +1321,7 @@ async function updateExtendedFields2(_id, namespace, options) {
|
|
|
1268
1321
|
queryDeliveryProfiles,
|
|
1269
1322
|
removeDeliveryCarrier,
|
|
1270
1323
|
removeDeliveryRegion,
|
|
1324
|
+
setDeliveryCarrierActiveStatus,
|
|
1271
1325
|
typedQueryDeliveryProfiles,
|
|
1272
1326
|
updateCarrierSettings,
|
|
1273
1327
|
updateDeliveryCarrier,
|