@arrowsphere/api-client 3.172.0-rc-sbe-2 → 3.172.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 +15 -0
- package/build/campaign/entities/campaign/aggregation/category.d.ts +2 -2
- package/build/campaign/entities/campaign/aggregation/category.js +2 -2
- package/build/catalog/types/catalogGraphQLTypes.d.ts +6 -0
- package/build/catalog/types/catalogGraphQLTypes.js +7 -1
- package/build/graphqlApi/types/entities/program.d.ts +7 -0
- package/build/graphqlApi/types/entities/subscription.d.ts +6 -0
- package/build/orders/ordersClient.d.ts +0 -2
- package/build/orders/ordersClient.js +0 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,21 @@
|
|
|
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.172.1] - 2025.02.12
|
|
7
|
+
|
|
8
|
+
### Updated
|
|
9
|
+
- [campaign] update field dateAgg to DateAggType instead of DateAggType[] in CategoryType schema
|
|
10
|
+
|
|
11
|
+
## [3.172.0] - 2025.02.11
|
|
12
|
+
|
|
13
|
+
### Updated
|
|
14
|
+
- [graphql-api] add field to "type" and "Offer.attributesParameters" type
|
|
15
|
+
|
|
16
|
+
## [3.171.1] - 2025.02.11
|
|
17
|
+
|
|
18
|
+
### Updated
|
|
19
|
+
- [graphql-api] add fields to "Subscription" and "Program" schema
|
|
20
|
+
|
|
6
21
|
## [3.171.0] - 2025.02.11
|
|
7
22
|
|
|
8
23
|
### Added
|
|
@@ -5,13 +5,13 @@ export declare enum CategoryEnumFields {
|
|
|
5
5
|
COLUMN_NAME = "name"
|
|
6
6
|
}
|
|
7
7
|
export declare type CategoryType = {
|
|
8
|
-
[CategoryEnumFields.COLUMN_DATE_AGG]: DateAggType
|
|
8
|
+
[CategoryEnumFields.COLUMN_DATE_AGG]: DateAggType;
|
|
9
9
|
[CategoryEnumFields.COLUMN_NAME]: string;
|
|
10
10
|
};
|
|
11
11
|
export declare class Category extends AbstractEntity<CategoryType> {
|
|
12
12
|
#private;
|
|
13
13
|
constructor(data: CategoryType);
|
|
14
|
-
get dateAgg(): DateAgg
|
|
14
|
+
get dateAgg(): DateAgg;
|
|
15
15
|
get name(): string;
|
|
16
16
|
toJSON(): CategoryType;
|
|
17
17
|
}
|
|
@@ -25,7 +25,7 @@ class Category extends abstractEntity_1.AbstractEntity {
|
|
|
25
25
|
super(data);
|
|
26
26
|
_Category_dateAgg.set(this, void 0);
|
|
27
27
|
_Category_name.set(this, void 0);
|
|
28
|
-
__classPrivateFieldSet(this, _Category_dateAgg,
|
|
28
|
+
__classPrivateFieldSet(this, _Category_dateAgg, new dateAgg_1.DateAgg(data.dateAgg), "f");
|
|
29
29
|
__classPrivateFieldSet(this, _Category_name, data.name, "f");
|
|
30
30
|
}
|
|
31
31
|
get dateAgg() {
|
|
@@ -36,7 +36,7 @@ class Category extends abstractEntity_1.AbstractEntity {
|
|
|
36
36
|
}
|
|
37
37
|
toJSON() {
|
|
38
38
|
return {
|
|
39
|
-
[CategoryEnumFields.COLUMN_DATE_AGG]: this.dateAgg.
|
|
39
|
+
[CategoryEnumFields.COLUMN_DATE_AGG]: this.dateAgg.toJSON(),
|
|
40
40
|
[CategoryEnumFields.COLUMN_NAME]: this.name,
|
|
41
41
|
};
|
|
42
42
|
}
|
|
@@ -303,8 +303,14 @@ export declare type ExchangeRateValueType = {
|
|
|
303
303
|
unitTextSymbol: string;
|
|
304
304
|
value: number;
|
|
305
305
|
};
|
|
306
|
+
export declare enum AttributesParameterType {
|
|
307
|
+
STANDARD = "STANDARD",
|
|
308
|
+
INTERNAL = "INTERNAL",
|
|
309
|
+
READ_ONLY = "READ_ONLY"
|
|
310
|
+
}
|
|
306
311
|
export declare type AttributesParameters = {
|
|
307
312
|
name?: string;
|
|
308
313
|
label?: string;
|
|
309
314
|
position?: number;
|
|
315
|
+
type?: AttributesParameterType;
|
|
310
316
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Here are the types, they are useful to have exact types of the responses
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.PricesTypeKeys = void 0;
|
|
4
|
+
exports.AttributesParameterType = exports.PricesTypeKeys = void 0;
|
|
5
5
|
var PricesTypeKeys;
|
|
6
6
|
(function (PricesTypeKeys) {
|
|
7
7
|
PricesTypeKeys["BUY_KEY"] = "buy";
|
|
@@ -13,4 +13,10 @@ var PricesTypeKeys;
|
|
|
13
13
|
PricesTypeKeys["RETAIL_KEY"] = "public";
|
|
14
14
|
PricesTypeKeys["VENDOR_PRICING_SOURCE_KEY"] = "vendorPricingSource";
|
|
15
15
|
})(PricesTypeKeys = exports.PricesTypeKeys || (exports.PricesTypeKeys = {}));
|
|
16
|
+
var AttributesParameterType;
|
|
17
|
+
(function (AttributesParameterType) {
|
|
18
|
+
AttributesParameterType["STANDARD"] = "STANDARD";
|
|
19
|
+
AttributesParameterType["INTERNAL"] = "INTERNAL";
|
|
20
|
+
AttributesParameterType["READ_ONLY"] = "READ_ONLY";
|
|
21
|
+
})(AttributesParameterType = exports.AttributesParameterType || (exports.AttributesParameterType = {}));
|
|
16
22
|
//# sourceMappingURL=catalogGraphQLTypes.js.map
|
|
@@ -3,9 +3,16 @@ import { SubscriptionType } from './subscription';
|
|
|
3
3
|
import { VendorsType } from './vendor';
|
|
4
4
|
export declare type GraphqlApiProgramType = {
|
|
5
5
|
id?: number;
|
|
6
|
+
bypassReport?: number;
|
|
6
7
|
internalName?: string;
|
|
7
8
|
name?: string;
|
|
8
9
|
vendor?: VendorsType;
|
|
10
|
+
type?: GraphqlApiProgramTypeType;
|
|
11
|
+
};
|
|
12
|
+
export declare type GraphqlApiProgramTypeType = {
|
|
13
|
+
id?: number;
|
|
14
|
+
accronym?: string;
|
|
15
|
+
name?: string;
|
|
9
16
|
};
|
|
10
17
|
export declare type GraphqlApiProgramLevelType = {
|
|
11
18
|
id?: number;
|
|
@@ -3,10 +3,16 @@ import { ContactsType } from './contact';
|
|
|
3
3
|
import { GraphqlApiProgramLevelType, GraphqlApiProgramType } from './program';
|
|
4
4
|
export declare type SubscriptionType = {
|
|
5
5
|
id?: number;
|
|
6
|
+
autoReporting?: boolean;
|
|
6
7
|
company?: PartnerType;
|
|
8
|
+
endedAt?: string;
|
|
7
9
|
level?: GraphqlApiProgramLevelType;
|
|
8
10
|
localContact?: ContactsType;
|
|
11
|
+
orderId?: string;
|
|
9
12
|
partnerContact?: ContactsType;
|
|
10
13
|
partnerId?: string;
|
|
11
14
|
program?: GraphqlApiProgramType;
|
|
15
|
+
startedAt?: string;
|
|
16
|
+
userNote?: string;
|
|
17
|
+
validatedAt?: string;
|
|
12
18
|
};
|
|
@@ -7,7 +7,6 @@ export declare enum CreateOrderInputFields {
|
|
|
7
7
|
COLUMN_CUSTOMER = "customer",
|
|
8
8
|
COLUMN_REFERENCE = "reference",
|
|
9
9
|
COLUMN_PO_NUMBER = "ponumber",
|
|
10
|
-
COLUMN_END_CUSTOMER_PO_NUMBER = "endCustomerPONumber",
|
|
11
10
|
COLUMN_PRODUCTS = "products",
|
|
12
11
|
COLUMN_ARROW_SPHERE_PRICE_BAND_SKU = "arrowSpherePriceBandSku",
|
|
13
12
|
COLUMN_SKU = "sku",
|
|
@@ -59,7 +58,6 @@ export declare type CreateOrderInputType = {
|
|
|
59
58
|
[CreateOrderInputFields.COLUMN_CUSTOMER]: {
|
|
60
59
|
[CreateOrderInputFields.COLUMN_REFERENCE]: string;
|
|
61
60
|
[CreateOrderInputFields.COLUMN_PO_NUMBER]?: string;
|
|
62
|
-
[CreateOrderInputFields.COLUMN_END_CUSTOMER_PO_NUMBER]?: string;
|
|
63
61
|
};
|
|
64
62
|
[CreateOrderInputFields.COLUMN_SCENARIO]?: scenarioType;
|
|
65
63
|
[CreateOrderInputFields.COLUMN_SCHEDULE_DATE]?: string;
|
|
@@ -11,7 +11,6 @@ var CreateOrderInputFields;
|
|
|
11
11
|
CreateOrderInputFields["COLUMN_CUSTOMER"] = "customer";
|
|
12
12
|
CreateOrderInputFields["COLUMN_REFERENCE"] = "reference";
|
|
13
13
|
CreateOrderInputFields["COLUMN_PO_NUMBER"] = "ponumber";
|
|
14
|
-
CreateOrderInputFields["COLUMN_END_CUSTOMER_PO_NUMBER"] = "endCustomerPONumber";
|
|
15
14
|
CreateOrderInputFields["COLUMN_PRODUCTS"] = "products";
|
|
16
15
|
CreateOrderInputFields["COLUMN_ARROW_SPHERE_PRICE_BAND_SKU"] = "arrowSpherePriceBandSku";
|
|
17
16
|
CreateOrderInputFields["COLUMN_SKU"] = "sku";
|
package/package.json
CHANGED