@shipengine/connect-carrier-api 4.19.0 → 4.21.0
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/lib/app/metadata/confirmation-type.d.ts +2 -1
- package/lib/app/metadata/confirmation-type.js +2 -0
- package/lib/app/metadata/confirmation-type.js.map +1 -1
- package/lib/app/metadata/shipping-option.d.ts +3 -1
- package/lib/app/metadata/shipping-option.js +2 -0
- package/lib/app/metadata/shipping-option.js.map +1 -1
- package/lib/models/advanced-options.d.ts +4 -0
- package/lib/models/advanced-options.js +4 -0
- package/lib/models/advanced-options.js.map +1 -1
- package/lib/models/index.d.ts +1 -0
- package/lib/models/index.js +1 -0
- package/lib/models/index.js.map +1 -1
- package/lib/models/native-rating-details.d.ts +35 -0
- package/lib/models/native-rating-details.js +3 -0
- package/lib/models/native-rating-details.js.map +1 -0
- package/lib/models/rates/rate.d.ts +3 -0
- package/lib/models/rates/rate.js +2 -0
- package/lib/models/rates/rate.js.map +1 -1
- package/lib/responses/create-label-response.d.ts +2 -1
- package/lib/responses/create-label-response.js +1 -0
- package/lib/responses/create-label-response.js.map +1 -1
- package/package.json +1 -1
- package/spec.json +310 -449
- package/src/app/metadata/confirmation-type.ts +2 -0
- package/src/app/metadata/shipping-option.ts +2 -0
- package/src/models/advanced-options.ts +4 -0
- package/src/models/index.ts +1 -0
- package/src/models/native-rating-details.ts +37 -0
- package/src/models/rates/rate.ts +3 -0
- package/src/responses/create-label-response.ts +2 -0
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -13,7 +13,8 @@ export declare enum ConfirmationTypeEnum {
|
|
|
13
13
|
Signature = "Signature",
|
|
14
14
|
AdultSignature = "AdultSignature",
|
|
15
15
|
DirectSignature = "DirectSignature",
|
|
16
|
-
DeliveryCode = "DeliveryCode"
|
|
16
|
+
DeliveryCode = "DeliveryCode",
|
|
17
|
+
AgeVerification16Plus = "AgeVerification16Plus"
|
|
17
18
|
}
|
|
18
19
|
export declare const ConfirmationTypeEnumSchema: Joi.StringSchema;
|
|
19
20
|
export declare const ConfirmationTypeSchema: Joi.ObjectSchema<any>;
|
|
@@ -10,6 +10,7 @@ exports.ConfirmationDictionarySchema = joi_1.default.object({
|
|
|
10
10
|
AdultSignature: joi_1.default.string().optional(),
|
|
11
11
|
DirectSignature: joi_1.default.string().optional(),
|
|
12
12
|
DeliveryCode: joi_1.default.string().optional(),
|
|
13
|
+
AgeVerification16Plus: joi_1.default.string().optional(),
|
|
13
14
|
});
|
|
14
15
|
var ConfirmationTypeEnum;
|
|
15
16
|
(function (ConfirmationTypeEnum) {
|
|
@@ -19,6 +20,7 @@ var ConfirmationTypeEnum;
|
|
|
19
20
|
ConfirmationTypeEnum["AdultSignature"] = "AdultSignature";
|
|
20
21
|
ConfirmationTypeEnum["DirectSignature"] = "DirectSignature";
|
|
21
22
|
ConfirmationTypeEnum["DeliveryCode"] = "DeliveryCode";
|
|
23
|
+
ConfirmationTypeEnum["AgeVerification16Plus"] = "AgeVerification16Plus";
|
|
22
24
|
})(ConfirmationTypeEnum || (exports.ConfirmationTypeEnum = ConfirmationTypeEnum = {}));
|
|
23
25
|
exports.ConfirmationTypeEnumSchema = joi_1.default.string().valid(...Object.values(ConfirmationTypeEnum));
|
|
24
26
|
exports.ConfirmationTypeSchema = joi_1.default.object({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"confirmation-type.js","sourceRoot":"","sources":["../../../src/app/metadata/confirmation-type.ts"],"names":[],"mappings":";;;;AAAA,sDAAsB;AAWT,QAAA,4BAA4B,GAAG,aAAG,CAAC,MAAM,CAAC;IACrD,IAAI,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC7B,QAAQ,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,SAAS,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAClC,cAAc,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC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,CAAC,EAAE,CAAC;IACrC,IAAI,EAAE,kCAA0B,CAAC,QAAQ,EAAE;CAC5C,CAAC,CAAC"}
|
|
@@ -41,6 +41,8 @@ export declare enum ShippingOptionEnum {
|
|
|
41
41
|
CarrierInsurance = "carrier-insurance",
|
|
42
42
|
WindsorFrameworkMovementIndicator = "windsor-framework-movement-indicator",
|
|
43
43
|
WindsorFrameworkNotAtRisk = "windsor-framework-not-at-risk",
|
|
44
|
-
EnableDocumentUpload = "enable-document-upload"
|
|
44
|
+
EnableDocumentUpload = "enable-document-upload",
|
|
45
|
+
DeliveryAsAddressed = "delivery-as-addressed",
|
|
46
|
+
ReturnAfterFirstAttempt = "return-after-first-attempt"
|
|
45
47
|
}
|
|
46
48
|
export declare const ShippingOptionDictionarySchema: Joi.ObjectSchema<any>;
|
|
@@ -38,6 +38,8 @@ var ShippingOptionEnum;
|
|
|
38
38
|
ShippingOptionEnum["WindsorFrameworkMovementIndicator"] = "windsor-framework-movement-indicator";
|
|
39
39
|
ShippingOptionEnum["WindsorFrameworkNotAtRisk"] = "windsor-framework-not-at-risk";
|
|
40
40
|
ShippingOptionEnum["EnableDocumentUpload"] = "enable-document-upload";
|
|
41
|
+
ShippingOptionEnum["DeliveryAsAddressed"] = "delivery-as-addressed";
|
|
42
|
+
ShippingOptionEnum["ReturnAfterFirstAttempt"] = "return-after-first-attempt";
|
|
41
43
|
})(ShippingOptionEnum || (exports.ShippingOptionEnum = ShippingOptionEnum = {}));
|
|
42
44
|
exports.ShippingOptionDictionarySchema = joi_1.default.object(Object.values(ShippingOptionEnum).reduce((accumulator, option) => {
|
|
43
45
|
accumulator[option] = exports.ShippingOptionDescriptionSchema;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shipping-option.js","sourceRoot":"","sources":["../../../src/app/metadata/shipping-option.ts"],"names":[],"mappings":";;;;AAAA,sDAAsB;AAYT,QAAA,+BAA+B,GAAG,aAAG,CAAC,MAAM,CAAC;IACxD,IAAI,EAAE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A+C,CAAA;IAC/C,mEAA6C,CAAA;IAC7C,4EAAsD,CAAA;AACxD,CAAC,EAhCW,kBAAkB,kCAAlB,kBAAkB,QAgC7B;AAEY,QAAA,8BAA8B,GAAG,aAAG,CAAC,MAAM,CACtD,MAAM,CAAC,MAAM,CAAC,kBAAkB,CAAC,CAAC,MAAM,CAAC,CAAC,WAAgB,EAAE,MAAM,EAAE,EAAE;IACpE,WAAW,CAAC,MAAM,CAAC,GAAG,uCAA+B,CAAC;IACtD,OAAO,WAAW,CAAC;AACrB,CAAC,EAAE,EAAE,CAAC,CACP,CAAC"}
|
|
@@ -47,5 +47,9 @@ export declare class AdvancedOptions {
|
|
|
47
47
|
/** @description Transportation means through which the dangerous goods are transported */
|
|
48
48
|
transport_mean?: TransportMeanTypes;
|
|
49
49
|
/** @description Indicates whether the recipient should be notified of events related to the shipment. */
|
|
50
|
+
delivery_as_addressed?: boolean;
|
|
51
|
+
/** @description Instructs the carrier to deliver the package only to the exact address provided. */
|
|
52
|
+
return_after_first_attempt?: boolean;
|
|
53
|
+
/** @description Ensures the shipment is immediately flagged for return to the sender if the initial delivery attempt fails. */
|
|
50
54
|
[key: string]: any;
|
|
51
55
|
}
|
|
@@ -41,6 +41,10 @@ class AdvancedOptions {
|
|
|
41
41
|
regulation_level;
|
|
42
42
|
/** @description Transportation means through which the dangerous goods are transported */
|
|
43
43
|
transport_mean;
|
|
44
|
+
/** @description Indicates whether the recipient should be notified of events related to the shipment. */
|
|
45
|
+
delivery_as_addressed;
|
|
46
|
+
/** @description Instructs the carrier to deliver the package only to the exact address provided. */
|
|
47
|
+
return_after_first_attempt;
|
|
44
48
|
}
|
|
45
49
|
exports.AdvancedOptions = AdvancedOptions;
|
|
46
50
|
//# sourceMappingURL=advanced-options.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"advanced-options.js","sourceRoot":"","sources":["../../src/models/advanced-options.ts"],"names":[],"mappings":";;;AASA,wDAAwD;AACxD,MAAa,eAAe;IAC1B,0DAA0D;IAC1D,sBAAsB,CAAW;IACjC,yDAAyD;IACzD,gBAAgB,CAAW;IAC3B,iEAAiE;IACjE,UAAU,CAAW;IACrB,oEAAoE;IACpE,cAAc,CAAW;IACzB,8EAA8E;IAC9E,qBAAqB,CAAW;IAChC,6DAA6D;IAC7D,iBAAiB,CAAW;IAC5B,iGAAiG;IACjG,GAAG,CAAY;IACf,wFAAwF;IACxF,mBAAmB,CAAW;IAC9B,iGAAiG;IACjG,mBAAmB,CAAqB;IACxC,8IAA8I;IAC9I,mBAAmB,CAAW;IAC9B,iFAAiF;IACjF,eAAe,CAAW;IAC1B,2DAA2D;IAC3D,uBAAuB,CAAyB;IAChD,+HAA+H;IAC/H,gBAAgB,CAAW;IAC3B,qDAAqD;IACrD,kBAAkB,CAAW;IAC7B,qDAAqD;IACrD,yBAAyB,CAA2B;IACpD,+GAA+G;IAC/G,aAAa,CAAsB;IACnC,oHAAoH;IACpH,SAAS,CAAa;IACtB,wEAAwE;IACxE,gBAAgB,CAAwB;IACxC,0FAA0F;IAC1F,cAAc,CAAsB;
|
|
1
|
+
{"version":3,"file":"advanced-options.js","sourceRoot":"","sources":["../../src/models/advanced-options.ts"],"names":[],"mappings":";;;AASA,wDAAwD;AACxD,MAAa,eAAe;IAC1B,0DAA0D;IAC1D,sBAAsB,CAAW;IACjC,yDAAyD;IACzD,gBAAgB,CAAW;IAC3B,iEAAiE;IACjE,UAAU,CAAW;IACrB,oEAAoE;IACpE,cAAc,CAAW;IACzB,8EAA8E;IAC9E,qBAAqB,CAAW;IAChC,6DAA6D;IAC7D,iBAAiB,CAAW;IAC5B,iGAAiG;IACjG,GAAG,CAAY;IACf,wFAAwF;IACxF,mBAAmB,CAAW;IAC9B,iGAAiG;IACjG,mBAAmB,CAAqB;IACxC,8IAA8I;IAC9I,mBAAmB,CAAW;IAC9B,iFAAiF;IACjF,eAAe,CAAW;IAC1B,2DAA2D;IAC3D,uBAAuB,CAAyB;IAChD,+HAA+H;IAC/H,gBAAgB,CAAW;IAC3B,qDAAqD;IACrD,kBAAkB,CAAW;IAC7B,qDAAqD;IACrD,yBAAyB,CAA2B;IACpD,+GAA+G;IAC/G,aAAa,CAAsB;IACnC,oHAAoH;IACpH,SAAS,CAAa;IACtB,wEAAwE;IACxE,gBAAgB,CAAwB;IACxC,0FAA0F;IAC1F,cAAc,CAAsB;IACpC,yGAAyG;IACzG,qBAAqB,CAAW;IAChC,oGAAoG;IACpG,0BAA0B,CAAW;CAGtC;AA7CD,0CA6CC"}
|
package/lib/models/index.d.ts
CHANGED
package/lib/models/index.js
CHANGED
|
@@ -39,4 +39,5 @@ tslib_1.__exportStar(require("./units"), exports);
|
|
|
39
39
|
tslib_1.__exportStar(require("./seller-documents"), exports);
|
|
40
40
|
tslib_1.__exportStar(require("./bill-to"), exports);
|
|
41
41
|
tslib_1.__exportStar(require("./labels/paperless-details"), exports);
|
|
42
|
+
tslib_1.__exportStar(require("./native-rating-details"), exports);
|
|
42
43
|
//# sourceMappingURL=index.js.map
|
package/lib/models/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/index.ts"],"names":[],"mappings":";;;AAAA,sDAA4B;AAC5B,6DAAmC;AACnC,0DAAgC;AAChC,6DAAmC;AACnC,gEAAsC;AACtC,oDAA0B;AAC1B,+DAAqC;AACrC,4DAAkC;AAClC,qDAA2B;AAC3B,oDAA0B;AAC1B,kEAAwC;AACxC,2DAAiC;AACjC,sDAA4B;AAC5B,mDAAyB;AACzB,8DAAoC;AACpC,8DAAoC;AACpC,uDAA6B;AAC7B,yEAA+C;AAC/C,kEAAwC;AACxC,gEAAsC;AACtC,mDAAyB;AACzB,sDAA4B;AAC5B,0DAAgC;AAChC,oDAA0B;AAC1B,mDAAyB;AACzB,kDAAwB;AACxB,yDAA+B;AAC/B,yDAA+B;AAC/B,qEAA2C;AAC3C,8DAAoC;AACpC,kDAAwB;AACxB,+DAAqC;AACrC,wDAA8B;AAC9B,qDAA2B;AAC3B,kDAAwB;AACxB,6DAAmC;AACnC,oDAA0B;AAC1B,qEAA2C"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/index.ts"],"names":[],"mappings":";;;AAAA,sDAA4B;AAC5B,6DAAmC;AACnC,0DAAgC;AAChC,6DAAmC;AACnC,gEAAsC;AACtC,oDAA0B;AAC1B,+DAAqC;AACrC,4DAAkC;AAClC,qDAA2B;AAC3B,oDAA0B;AAC1B,kEAAwC;AACxC,2DAAiC;AACjC,sDAA4B;AAC5B,mDAAyB;AACzB,8DAAoC;AACpC,8DAAoC;AACpC,uDAA6B;AAC7B,yEAA+C;AAC/C,kEAAwC;AACxC,gEAAsC;AACtC,mDAAyB;AACzB,sDAA4B;AAC5B,0DAAgC;AAChC,oDAA0B;AAC1B,mDAAyB;AACzB,kDAAwB;AACxB,yDAA+B;AAC/B,yDAA+B;AAC/B,qEAA2C;AAC3C,8DAAoC;AACpC,kDAAwB;AACxB,+DAAqC;AACrC,wDAA8B;AAC9B,qDAA2B;AAC3B,kDAAwB;AACxB,6DAAmC;AACnC,oDAA0B;AAC1B,qEAA2C;AAC3C,kEAAwC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/** @description Contains detailed information about the parameters used in Native Rating implementations to generate rate lookup keys. */
|
|
2
|
+
export interface NativeRatingDetails {
|
|
3
|
+
/** @description The complete key used to extract the rate value from the JSON configuration file. */
|
|
4
|
+
key: string;
|
|
5
|
+
/** @description Contains the source and destination zones for the shipment. */
|
|
6
|
+
zones: Zones;
|
|
7
|
+
/** @description The name of the shipping service used for the shipment. */
|
|
8
|
+
service_name: string;
|
|
9
|
+
/** @description The weight classification of the shipment, indicating the weight range bracket. */
|
|
10
|
+
weight_class: WeightClass;
|
|
11
|
+
/** @description The type of package used for the shipment. */
|
|
12
|
+
package_type: string;
|
|
13
|
+
/** @description The effective date key used in certain Native Rating implementations. */
|
|
14
|
+
date_key: string;
|
|
15
|
+
/** @description Identifies the platform from which the shipment originated (e.g., ShipStation or ShipEngine). */
|
|
16
|
+
platform: string;
|
|
17
|
+
}
|
|
18
|
+
/** @description Contains the source and destination zones for the shipment. */
|
|
19
|
+
export interface Zones {
|
|
20
|
+
/** @description The complete zone string. */
|
|
21
|
+
key: string;
|
|
22
|
+
/** @description The source zone identifier. */
|
|
23
|
+
from_zone: string;
|
|
24
|
+
/** @description The destination zone identifier. */
|
|
25
|
+
to_zone: string;
|
|
26
|
+
}
|
|
27
|
+
/** @description The weight classification of the shipment, indicating the weight range bracket. */
|
|
28
|
+
export interface WeightClass {
|
|
29
|
+
/** @description The complete weight class string. */
|
|
30
|
+
key: string;
|
|
31
|
+
/** @description The minimum weight value of the weight range. */
|
|
32
|
+
min_weight: string;
|
|
33
|
+
/** @description The maximum weight value of the weight range. */
|
|
34
|
+
max_weight: string;
|
|
35
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"native-rating-details.js","sourceRoot":"","sources":["../../src/models/native-rating-details.ts"],"names":[],"mappings":""}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { BillingLineItem } from '../billing/billing-line-item';
|
|
2
2
|
import { TimeWindow } from '../time-window';
|
|
3
3
|
import { CarrierWeight } from '../units/carrier-weight';
|
|
4
|
+
import { NativeRatingDetails } from '../native-rating-details';
|
|
4
5
|
/** @description Basic structure for a rate */
|
|
5
6
|
export declare class Rate {
|
|
6
7
|
/** @description The service code uniquely identifies a shipping service that you offer. Which service codes can be passed to you will be configured in ShipEngine. If this field is missing, the rate will be discarded. */
|
|
@@ -35,4 +36,6 @@ export declare class Rate {
|
|
|
35
36
|
guaranteed_delivery_days?: number;
|
|
36
37
|
/** @description The actual weight value assessed by the carrier based on the ingredients provided, it may be used for customer billing purposes. */
|
|
37
38
|
carrier_weight?: CarrierWeight;
|
|
39
|
+
/** @description Additional details about lookup key used in NativeRating for rate value extraction. */
|
|
40
|
+
native_rating_details?: NativeRatingDetails;
|
|
38
41
|
}
|
package/lib/models/rates/rate.js
CHANGED
|
@@ -35,6 +35,8 @@ class Rate {
|
|
|
35
35
|
guaranteed_delivery_days;
|
|
36
36
|
/** @description The actual weight value assessed by the carrier based on the ingredients provided, it may be used for customer billing purposes. */
|
|
37
37
|
carrier_weight;
|
|
38
|
+
/** @description Additional details about lookup key used in NativeRating for rate value extraction. */
|
|
39
|
+
native_rating_details;
|
|
38
40
|
}
|
|
39
41
|
exports.Rate = Rate;
|
|
40
42
|
//# sourceMappingURL=rate.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rate.js","sourceRoot":"","sources":["../../../src/models/rates/rate.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"rate.js","sourceRoot":"","sources":["../../../src/models/rates/rate.ts"],"names":[],"mappings":";;;AAKA,8CAA8C;AAC9C,MAAa,IAAI;IACf,4NAA4N;IAC5N,YAAY,CAAU;IACtB,wDAAwD;IACxD,aAAa,CAAU;IACvB,8DAA8D;IAC9D,2BAA2B,CAAU;IACrC,qDAAqD;IACrD,kBAAkB,CAAqB;IACvC,iFAAiF;IACjF,cAAc,CAAY;IAC1B,mFAAmF;IACnF,gBAAgB,CAAY;IAC5B,+CAA+C;IAC/C,eAAe,CAAW;IAC1B,wIAAwI;IACxI,qBAAqB,CAAc;IACnC,0HAA0H;IAC1H,eAAe,CAAc;IAC7B,0DAA0D;IAC1D,eAAe,CAAU;IACzB,2JAA2J;IAC3J,mBAAmB,CAAU;IAC7B,yFAAyF;IACzF,uBAAuB,CAAU;IACjC,iDAAiD;IACjD,YAAY,CAAU;IACtB,6CAA6C;IAC7C,IAAI,CAAU;IACd,6GAA6G;IAC7G,wBAAwB,CAAU;IAClC,oJAAoJ;IACpJ,cAAc,CAAiB;IAC/B,uGAAuG;IACvG,qBAAqB,CAAuB;CAC7C;AAnCD,oBAmCC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BaseResponse } from './base-response';
|
|
2
|
-
import { LabelDownload, FormDownload, Document, BillingLineItem, LabelPackage, Identifier, TimeWindow, RelayPointDetails, PaperlessDetails, PudoLocation } from '../models';
|
|
2
|
+
import { LabelDownload, FormDownload, Document, BillingLineItem, LabelPackage, Identifier, TimeWindow, RelayPointDetails, PaperlessDetails, PudoLocation, NativeRatingDetails } from '../models';
|
|
3
3
|
import { CarrierWeight } from '../models/units/carrier-weight';
|
|
4
4
|
import { LimitIdentifier } from '../models/limit-identifier';
|
|
5
5
|
/** @description Basic structure for a response to create a label */
|
|
@@ -26,4 +26,5 @@ export declare class CreateLabelResponse extends BaseResponse {
|
|
|
26
26
|
pickup_location?: PudoLocation;
|
|
27
27
|
carrier_weight?: CarrierWeight;
|
|
28
28
|
limit_identifiers?: LimitIdentifier[];
|
|
29
|
+
native_rating_details?: NativeRatingDetails;
|
|
29
30
|
}
|
|
@@ -26,6 +26,7 @@ class CreateLabelResponse extends base_response_1.BaseResponse {
|
|
|
26
26
|
pickup_location;
|
|
27
27
|
carrier_weight;
|
|
28
28
|
limit_identifiers;
|
|
29
|
+
native_rating_details;
|
|
29
30
|
}
|
|
30
31
|
exports.CreateLabelResponse = CreateLabelResponse;
|
|
31
32
|
//# sourceMappingURL=create-label-response.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-label-response.js","sourceRoot":"","sources":["../../src/responses/create-label-response.ts"],"names":[],"mappings":";;;AAAA,mDAA+C;
|
|
1
|
+
{"version":3,"file":"create-label-response.js","sourceRoot":"","sources":["../../src/responses/create-label-response.ts"],"names":[],"mappings":";;;AAAA,mDAA+C;AAiB/C,oEAAoE;AACpE,MAAa,mBAAoB,SAAQ,4BAAY;IACnD,cAAc,CAAU;IACxB,cAAc,CAAiB;IAC/B,aAAa,CAAgB;IAC7B,iBAAiB,CAAoB;IACrC,SAAS,CAAc;IACvB,QAAQ,CAAkB;IAC1B,kBAAkB,CAAqB;IACvC,eAAe,CAAU;IACzB,YAAY,CAAU;IACtB,SAAS,CAAW;IACpB,uBAAuB,CAAgB;IACvC,2BAA2B,CAAU;IACrC,yBAAyB,CAAU;IACnC,wIAAwI;IACxI,qBAAqB,CAAc;IACnC,0HAA0H;IAC1H,eAAe,CAAc;IAC7B,YAAY,CAAqB;IACjC,gBAAgB,CAAgB;IAChC,eAAe,CAAgB;IAC/B,cAAc,CAAiB;IAC/B,iBAAiB,CAAqB;IACtC,qBAAqB,CAAuB;CAC7C;AAxBD,kDAwBC"}
|
package/package.json
CHANGED