@arrowsphere/api-client 3.222.0 → 3.223.0-rc.fdi.1
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/CHANGELOG.md +6 -0
- package/build/orders/entities/orders/products/identifiers/vendor/identifiersVendor.d.ts +8 -1
- package/build/orders/entities/orders/products/identifiers/vendor/identifiersVendor.js +17 -2
- package/build/orders/entities/orders/products/identifiers/vendor/vendorAttributes.d.ts +13 -0
- package/build/orders/entities/orders/products/identifiers/vendor/vendorAttributes.js +39 -0
- package/build/orders/index.d.ts +1 -0
- package/build/orders/index.js +1 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,12 @@
|
|
|
3
3
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
4
4
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
5
5
|
|
|
6
|
+
## [3.223.0] - 2025.09.30
|
|
7
|
+
|
|
8
|
+
### Updated
|
|
9
|
+
|
|
10
|
+
- [order] Add fields `attributes` and `brand` in IdentityProduct of OrderProduct
|
|
11
|
+
|
|
6
12
|
## [3.222.0] - 2025.09.25
|
|
7
13
|
|
|
8
14
|
### Added
|
|
@@ -1,13 +1,20 @@
|
|
|
1
|
+
import { VendorAttributes, VendorAttributesType } from './vendorAttributes';
|
|
1
2
|
import { AbstractEntity } from '../../../../../../abstractEntity';
|
|
2
3
|
export declare enum IdentifiersVendorFields {
|
|
3
|
-
COLUMN_SKU = "sku"
|
|
4
|
+
COLUMN_SKU = "sku",
|
|
5
|
+
COLUMN_ATTRIBUTES = "attributes",
|
|
6
|
+
COLUMN_BRAND = "brand"
|
|
4
7
|
}
|
|
5
8
|
export declare type IdentifiersVendorType = {
|
|
6
9
|
[IdentifiersVendorFields.COLUMN_SKU]: string;
|
|
10
|
+
[IdentifiersVendorFields.COLUMN_ATTRIBUTES]: VendorAttributesType;
|
|
11
|
+
[IdentifiersVendorFields.COLUMN_BRAND]: string;
|
|
7
12
|
};
|
|
8
13
|
export declare class IdentifiersVendor extends AbstractEntity<IdentifiersVendorType> {
|
|
9
14
|
#private;
|
|
10
15
|
constructor(vendor: IdentifiersVendorType);
|
|
11
16
|
get sku(): string;
|
|
17
|
+
get attributes(): VendorAttributes;
|
|
18
|
+
get brand(): string;
|
|
12
19
|
toJSON(): IdentifiersVendorType;
|
|
13
20
|
}
|
|
@@ -10,29 +10,44 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
|
|
|
10
10
|
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
11
11
|
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
12
12
|
};
|
|
13
|
-
var _IdentifiersVendor_sku;
|
|
13
|
+
var _IdentifiersVendor_sku, _IdentifiersVendor_attributes, _IdentifiersVendor_brand;
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.IdentifiersVendor = exports.IdentifiersVendorFields = void 0;
|
|
16
|
+
const vendorAttributes_1 = require("./vendorAttributes");
|
|
16
17
|
const abstractEntity_1 = require("../../../../../../abstractEntity");
|
|
17
18
|
var IdentifiersVendorFields;
|
|
18
19
|
(function (IdentifiersVendorFields) {
|
|
19
20
|
IdentifiersVendorFields["COLUMN_SKU"] = "sku";
|
|
21
|
+
IdentifiersVendorFields["COLUMN_ATTRIBUTES"] = "attributes";
|
|
22
|
+
IdentifiersVendorFields["COLUMN_BRAND"] = "brand";
|
|
20
23
|
})(IdentifiersVendorFields = exports.IdentifiersVendorFields || (exports.IdentifiersVendorFields = {}));
|
|
21
24
|
class IdentifiersVendor extends abstractEntity_1.AbstractEntity {
|
|
22
25
|
constructor(vendor) {
|
|
23
26
|
super(vendor);
|
|
24
27
|
_IdentifiersVendor_sku.set(this, void 0);
|
|
28
|
+
_IdentifiersVendor_attributes.set(this, void 0);
|
|
29
|
+
_IdentifiersVendor_brand.set(this, void 0);
|
|
25
30
|
__classPrivateFieldSet(this, _IdentifiersVendor_sku, vendor[IdentifiersVendorFields.COLUMN_SKU], "f");
|
|
31
|
+
__classPrivateFieldSet(this, _IdentifiersVendor_attributes, new vendorAttributes_1.VendorAttributes(vendor[IdentifiersVendorFields.COLUMN_ATTRIBUTES]), "f");
|
|
32
|
+
__classPrivateFieldSet(this, _IdentifiersVendor_brand, vendor[IdentifiersVendorFields.COLUMN_BRAND], "f");
|
|
26
33
|
}
|
|
27
34
|
get sku() {
|
|
28
35
|
return __classPrivateFieldGet(this, _IdentifiersVendor_sku, "f");
|
|
29
36
|
}
|
|
37
|
+
get attributes() {
|
|
38
|
+
return __classPrivateFieldGet(this, _IdentifiersVendor_attributes, "f");
|
|
39
|
+
}
|
|
40
|
+
get brand() {
|
|
41
|
+
return __classPrivateFieldGet(this, _IdentifiersVendor_brand, "f");
|
|
42
|
+
}
|
|
30
43
|
toJSON() {
|
|
31
44
|
return {
|
|
32
45
|
[IdentifiersVendorFields.COLUMN_SKU]: this.sku,
|
|
46
|
+
[IdentifiersVendorFields.COLUMN_ATTRIBUTES]: this.attributes.toJSON(),
|
|
47
|
+
[IdentifiersVendorFields.COLUMN_BRAND]: this.brand,
|
|
33
48
|
};
|
|
34
49
|
}
|
|
35
50
|
}
|
|
36
51
|
exports.IdentifiersVendor = IdentifiersVendor;
|
|
37
|
-
_IdentifiersVendor_sku = new WeakMap();
|
|
52
|
+
_IdentifiersVendor_sku = new WeakMap(), _IdentifiersVendor_attributes = new WeakMap(), _IdentifiersVendor_brand = new WeakMap();
|
|
38
53
|
//# sourceMappingURL=identifiersVendor.js.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { AbstractEntity } from '../../../../../../abstractEntity';
|
|
2
|
+
export declare enum VendorAttributesFields {
|
|
3
|
+
COLUMN_CAN_SWITCH_AUTO_RENEW = "canSwitchAutoRenew"
|
|
4
|
+
}
|
|
5
|
+
export declare type VendorAttributesType = {
|
|
6
|
+
[VendorAttributesFields.COLUMN_CAN_SWITCH_AUTO_RENEW]?: boolean;
|
|
7
|
+
};
|
|
8
|
+
export declare class VendorAttributes extends AbstractEntity<VendorAttributesType> {
|
|
9
|
+
#private;
|
|
10
|
+
constructor(attributes: VendorAttributesType);
|
|
11
|
+
get canSwitchAutoRenew(): boolean | undefined;
|
|
12
|
+
toJSON(): VendorAttributesType;
|
|
13
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
|
|
3
|
+
if (kind === "m") throw new TypeError("Private method is not writable");
|
|
4
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
|
|
5
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
6
|
+
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
7
|
+
};
|
|
8
|
+
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
9
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
10
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
11
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
12
|
+
};
|
|
13
|
+
var _VendorAttributes_canSwitchAutoRenew;
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.VendorAttributes = exports.VendorAttributesFields = void 0;
|
|
16
|
+
const abstractEntity_1 = require("../../../../../../abstractEntity");
|
|
17
|
+
var VendorAttributesFields;
|
|
18
|
+
(function (VendorAttributesFields) {
|
|
19
|
+
VendorAttributesFields["COLUMN_CAN_SWITCH_AUTO_RENEW"] = "canSwitchAutoRenew";
|
|
20
|
+
})(VendorAttributesFields = exports.VendorAttributesFields || (exports.VendorAttributesFields = {}));
|
|
21
|
+
class VendorAttributes extends abstractEntity_1.AbstractEntity {
|
|
22
|
+
constructor(attributes) {
|
|
23
|
+
super(attributes);
|
|
24
|
+
_VendorAttributes_canSwitchAutoRenew.set(this, void 0);
|
|
25
|
+
__classPrivateFieldSet(this, _VendorAttributes_canSwitchAutoRenew, attributes[VendorAttributesFields.COLUMN_CAN_SWITCH_AUTO_RENEW], "f");
|
|
26
|
+
}
|
|
27
|
+
get canSwitchAutoRenew() {
|
|
28
|
+
return __classPrivateFieldGet(this, _VendorAttributes_canSwitchAutoRenew, "f");
|
|
29
|
+
}
|
|
30
|
+
toJSON() {
|
|
31
|
+
return {
|
|
32
|
+
[VendorAttributesFields.COLUMN_CAN_SWITCH_AUTO_RENEW]: this
|
|
33
|
+
.canSwitchAutoRenew,
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
exports.VendorAttributes = VendorAttributes;
|
|
38
|
+
_VendorAttributes_canSwitchAutoRenew = new WeakMap();
|
|
39
|
+
//# sourceMappingURL=vendorAttributes.js.map
|
package/build/orders/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ export * from './entities/orders/order';
|
|
|
4
4
|
export * from './entities/orders/updateOrderResult';
|
|
5
5
|
export * from './entities/orders/partner/partner';
|
|
6
6
|
export * from './entities/orders/products/identifiers/vendor/identifiersVendor';
|
|
7
|
+
export * from './entities/orders/products/identifiers/vendor/vendorAttributes';
|
|
7
8
|
export * from './entities/orders/products/identifiers/productIdentifiers';
|
|
8
9
|
export * from './entities/orders/products/prices/productPrices';
|
|
9
10
|
export * from './entities/orders/products/program/productProgram';
|
package/build/orders/index.js
CHANGED
|
@@ -20,6 +20,7 @@ __exportStar(require("./entities/orders/order"), exports);
|
|
|
20
20
|
__exportStar(require("./entities/orders/updateOrderResult"), exports);
|
|
21
21
|
__exportStar(require("./entities/orders/partner/partner"), exports);
|
|
22
22
|
__exportStar(require("./entities/orders/products/identifiers/vendor/identifiersVendor"), exports);
|
|
23
|
+
__exportStar(require("./entities/orders/products/identifiers/vendor/vendorAttributes"), exports);
|
|
23
24
|
__exportStar(require("./entities/orders/products/identifiers/productIdentifiers"), exports);
|
|
24
25
|
__exportStar(require("./entities/orders/products/prices/productPrices"), exports);
|
|
25
26
|
__exportStar(require("./entities/orders/products/program/productProgram"), exports);
|
package/package.json
CHANGED