@arrowsphere/api-client 3.26.0-rc.bjp.1 → 3.26.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/CHANGELOG.md +6 -0
- package/build/abstractClient.d.ts +8 -1
- package/build/abstractEntity.js +16 -14
- package/build/axiosSingleton.js +2 -2
- package/build/campaign/entities/campaign/banners/banners.js +34 -32
- package/build/campaign/entities/campaign/campaign.js +53 -51
- package/build/campaign/entities/campaign/landingPage/landingPage.js +26 -24
- package/build/campaign/entities/campaign/landingPage/landingPageBody.js +37 -35
- package/build/campaign/entities/campaign/landingPage/landingPageFooter/landingPageFooter.js +31 -29
- package/build/campaign/entities/campaign/landingPage/landingPageFooter/landingPageFooterFeature.js +25 -23
- package/build/campaign/entities/campaign/landingPage/landingPageHeader.js +31 -29
- package/build/campaign/entities/campaign/rules/rules.js +31 -29
- package/build/campaign/entities/campaignAssets/assets/assets.js +19 -17
- package/build/campaign/entities/campaignAssets/campaignAssets.js +16 -14
- package/build/campaign/entities/v2/campaign/banner/banner.js +34 -32
- package/build/campaign/entities/v2/campaign/campaign.js +50 -48
- package/build/campaign/entities/v2/campaign/landingPage/landingPage.js +26 -24
- package/build/campaign/entities/v2/campaign/landingPage/landingPageFooter/landingPageFooter.js +36 -34
- package/build/campaign/entities/v2/campaign/landingPage/landingPageFooter/landingPageFooterFeature.js +22 -20
- package/build/campaign/entities/v2/campaign/landingPage/landingPageFooter/landingPageFooterFeatureItem.js +34 -32
- package/build/campaign/entities/v2/campaign/landingPage/landingPageHeader.js +34 -32
- package/build/campaign/entities/v2/campaignList.js +16 -14
- package/build/campaign/index.js +1 -5
- package/build/cart/entities/index.js +1 -5
- package/build/cart/entities/item.js +28 -26
- package/build/cart/entities/itemList.js +16 -14
- package/build/cart/index.js +1 -5
- package/build/catalog/catalogGraphQLClient.d.ts +0 -2
- package/build/catalog/catalogGraphQLClient.js +1 -7
- package/build/catalog/index.js +1 -5
- package/build/catalog/types/catalogGraphQLTypes.js +0 -1
- package/build/consumption/entities/bi/consumptionBI.js +30 -28
- package/build/consumption/entities/bi/period/period.js +19 -17
- package/build/consumption/entities/bi/top/top.js +25 -23
- package/build/consumption/entities/consumption/consumption.js +19 -17
- package/build/consumption/index.js +1 -5
- package/build/contact/entities/contact.js +46 -44
- package/build/contact/entities/contactCreate.js +16 -14
- package/build/contact/entities/contactList.js +16 -14
- package/build/contact/index.js +1 -5
- package/build/customers/entities/customers/contact/contact.js +31 -29
- package/build/customers/entities/customers/customer.js +73 -71
- package/build/customers/entities/customers/customerContact/customerContact.js +40 -38
- package/build/customers/entities/customers/customerContact/customerContactList.js +16 -14
- package/build/customers/entities/customers/details/details.js +31 -29
- package/build/customers/entities/dataCustomers.js +16 -14
- package/build/customers/entities/dataInvitation.js +31 -29
- package/build/customers/entities/invitations/company/company.js +16 -14
- package/build/customers/entities/invitations/contact/invitationContact.js +28 -26
- package/build/customers/index.js +1 -5
- package/build/exception/index.js +1 -5
- package/build/general/entities/whoAmI.js +61 -59
- package/build/general/index.js +1 -5
- package/build/getResult.js +23 -21
- package/build/index.d.ts +1 -0
- package/build/index.js +2 -5
- package/build/licenses/entities/filterFindResult.js +19 -17
- package/build/licenses/entities/findResult.js +38 -36
- package/build/licenses/entities/getLicense/actionMessagesGetResult.js +28 -26
- package/build/licenses/entities/getLicense/actionsGetResult.js +43 -41
- package/build/licenses/entities/getLicense/buySellFindResult.js +19 -17
- package/build/licenses/entities/getLicense/licenseGetResult.js +107 -105
- package/build/licenses/entities/getLicense/licensePriceGetResult.js +22 -20
- package/build/licenses/entities/getLicense/orderGetResult.js +19 -17
- package/build/licenses/entities/getResult/getLicenseResult.js +16 -14
- package/build/licenses/entities/history/actionHistoryResult.js +25 -23
- package/build/licenses/entities/history/licenceHistoryResult.js +16 -14
- package/build/licenses/entities/license/activeSeatsFindResult.js +19 -17
- package/build/licenses/entities/license/configFindResult.js +22 -20
- package/build/licenses/entities/license/licenseFindResult.js +136 -134
- package/build/licenses/entities/license/priceFindResult.js +28 -26
- package/build/licenses/entities/license/warningFindResult.js +19 -17
- package/build/licenses/entities/offer/actionFlagsFindResult.js +22 -20
- package/build/licenses/entities/offer/offerFindResult.js +34 -32
- package/build/licenses/entities/offer/priceBandFindResult.js +37 -35
- package/build/licenses/entities/offer/priceband/billingFindResult.js +22 -20
- package/build/licenses/entities/offer/priceband/identifiers/arrowsphereFindResult.js +16 -14
- package/build/licenses/entities/offer/priceband/identifiersFindResult.js +16 -14
- package/build/licenses/entities/offer/priceband/priceBandActionFlagsFindResult.js +28 -26
- package/build/licenses/entities/offer/priceband/priceBandPriceFindResult.js +22 -20
- package/build/licenses/entities/offer/priceband/saleConstraintsFindResult.js +19 -17
- package/build/licenses/index.js +1 -5
- package/build/orders/entities/dataListOrders.js +16 -14
- package/build/orders/entities/orders/order.js +41 -39
- package/build/orders/entities/orders/partner/partner.js +19 -17
- package/build/orders/entities/orders/products/identifiers/productIdentifiers.js +16 -14
- package/build/orders/entities/orders/products/identifiers/vendor/identifiersVendor.js +16 -14
- package/build/orders/entities/orders/products/prices/productPrices.js +34 -32
- package/build/orders/entities/orders/products/products.js +58 -56
- package/build/orders/entities/orders/products/program/productProgram.js +16 -14
- package/build/orders/entities/referenceLink.js +19 -17
- package/build/orders/index.js +1 -5
- package/build/pagination.js +31 -29
- package/build/publicApiClient.d.ts +2 -0
- package/build/publicApiClient.js +7 -0
- package/build/security/index.js +1 -5
- package/build/security/register/entity/registrationLink.js +16 -14
- package/build/security/register/index.js +1 -5
- package/build/security/standards/entities/checks/checks.js +19 -17
- package/build/security/standards/entities/checks/securityChecks.js +40 -38
- package/build/security/standards/entities/resources/resources.js +28 -26
- package/build/security/standards/entities/resources/securityResources.js +19 -17
- package/build/security/standards/entities/standards/securityStandards.js +31 -29
- package/build/security/standards/entities/standards/standards.js +19 -17
- package/build/security/standards/index.js +1 -5
- package/build/shared/index.js +1 -5
- package/build/subscriptions/entities/subscription.js +58 -56
- package/build/subscriptions/entities/subscriptionsListResult.js +41 -39
- package/build/subscriptions/index.js +1 -5
- package/build/supportCenter/entities/issue/attachment.d.ts +29 -0
- package/build/supportCenter/entities/issue/attachment.js +76 -0
- package/build/supportCenter/entities/issue/comment.d.ts +30 -0
- package/build/supportCenter/entities/issue/comment.js +82 -0
- package/build/supportCenter/entities/issue/issue.d.ts +142 -0
- package/build/supportCenter/entities/issue/issue.js +315 -0
- package/build/supportCenter/entities/topic.d.ts +32 -0
- package/build/supportCenter/entities/topic.js +83 -0
- package/build/supportCenter/index.d.ts +8 -0
- package/build/supportCenter/index.js +21 -0
- package/build/supportCenter/payloads/attachment.d.ts +6 -0
- package/build/supportCenter/payloads/attachment.js +4 -0
- package/build/supportCenter/payloads/comment.d.ts +6 -0
- package/build/supportCenter/payloads/comment.js +4 -0
- package/build/supportCenter/payloads/issue.d.ts +32 -0
- package/build/supportCenter/payloads/issue.js +16 -0
- package/build/supportCenter/supportCenterClient.d.ts +42 -0
- package/build/supportCenter/supportCenterClient.js +68 -0
- package/package.json +3 -6
- package/build/catalog/types/catalogGraphQLQueries.d.ts +0 -12
- package/build/catalog/types/catalogGraphQLQueries.js +0 -3
- package/build/catalog/types/catalogGraphQLSchemas.d.ts +0 -30
- package/build/catalog/types/catalogGraphQLSchemas.js +0 -4
- package/build/catalog/types/queryArguments.d.ts +0 -42
- package/build/catalog/types/queryArguments.js +0 -9
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"type": "git",
|
|
5
5
|
"url": "https://github.com/ArrowSphere/nodejs-api-client.git"
|
|
6
6
|
},
|
|
7
|
-
"version": "3.26.0
|
|
7
|
+
"version": "3.26.0",
|
|
8
8
|
"description": "Node.js client for ArrowSphere's public API",
|
|
9
9
|
"main": "build/index.js",
|
|
10
10
|
"types": "build/index.d.ts",
|
|
@@ -58,8 +58,8 @@
|
|
|
58
58
|
"sinon": "9.2.4",
|
|
59
59
|
"sinon-chai": "3.5.0",
|
|
60
60
|
"source-map-support": "0.5.19",
|
|
61
|
-
"ts-node": "
|
|
62
|
-
"typescript": "4.
|
|
61
|
+
"ts-node": "9.1.1",
|
|
62
|
+
"typescript": "4.1.5"
|
|
63
63
|
},
|
|
64
64
|
"husky": {
|
|
65
65
|
"hooks": {
|
|
@@ -84,10 +84,7 @@
|
|
|
84
84
|
"axios": "1.1.3",
|
|
85
85
|
"graphql": "^16.3.0",
|
|
86
86
|
"graphql-request": "4.2.0",
|
|
87
|
-
"json-to-graphql-query": "^2.2.5",
|
|
88
87
|
"lodash": "^4.17.21",
|
|
89
|
-
"slashes": "^3.0.12",
|
|
90
|
-
"type-fest": "^3.8.0",
|
|
91
88
|
"validatorjs": "3.22.1"
|
|
92
89
|
}
|
|
93
90
|
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { QueryArguments } from './queryArguments';
|
|
2
|
-
import { FiltersSchema, PaginationSchema, ProductSchema } from './catalogGraphQLSchemas';
|
|
3
|
-
export declare type CatalogQuery = {
|
|
4
|
-
getProducts: GetPaginatedProductsQuery;
|
|
5
|
-
};
|
|
6
|
-
export declare type GetPaginatedProductsQuery = {
|
|
7
|
-
__args: QueryArguments;
|
|
8
|
-
filters?: FiltersSchema;
|
|
9
|
-
pagination?: PaginationSchema;
|
|
10
|
-
products?: ProductSchema;
|
|
11
|
-
topOffers?: ProductSchema;
|
|
12
|
-
};
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { AttributeType, FiltersType, IdentifiersType, PaginationType, PriceBandType, PricesType, ProductType, RelatedOfferType } from './catalogGraphQLTypes';
|
|
2
|
-
import { Merge, Schema } from 'type-fest';
|
|
3
|
-
export declare type PaginationSchema = Schema<PaginationType, boolean>;
|
|
4
|
-
export declare type FiltersSchema = Schema<FiltersType, boolean>;
|
|
5
|
-
declare type IdentifiersSchema = Schema<IdentifiersType, boolean>;
|
|
6
|
-
declare type RelatedOfferSchema = Schema<RelatedOfferType, boolean>;
|
|
7
|
-
/**
|
|
8
|
-
* Field of type array are not handled by Schema<>, they must be overwritten
|
|
9
|
-
*/
|
|
10
|
-
declare type MissingFieldsOfProductSchema = {
|
|
11
|
-
addonPrimaries?: IdentifiersSchema;
|
|
12
|
-
baseOfferPrimaries?: IdentifiersSchema;
|
|
13
|
-
conversionOfferPrimaries?: IdentifiersSchema;
|
|
14
|
-
relatedOffers?: RelatedOfferSchema;
|
|
15
|
-
priceBand?: PriceBandSchema;
|
|
16
|
-
};
|
|
17
|
-
export declare type ProductSchema = Merge<Schema<ProductType, boolean>, MissingFieldsOfProductSchema>;
|
|
18
|
-
declare type AttributeSchema = Schema<AttributeType, boolean>;
|
|
19
|
-
/**
|
|
20
|
-
* Field of type array are not handled by Schema, they must be overwritten
|
|
21
|
-
*/
|
|
22
|
-
declare type MissingFieldsOfPriceBandSchema = {
|
|
23
|
-
attributes?: Array<AttributeSchema>;
|
|
24
|
-
};
|
|
25
|
-
/**
|
|
26
|
-
* No type corresponding
|
|
27
|
-
*/
|
|
28
|
-
export declare type PriceBandSchema = Merge<Schema<PriceBandType, boolean>, MissingFieldsOfPriceBandSchema>;
|
|
29
|
-
export declare type PriceBandPriceSchema = Schema<PricesType, boolean>;
|
|
30
|
-
export {};
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* For field __args
|
|
3
|
-
*/
|
|
4
|
-
export declare type QueryArguments = {
|
|
5
|
-
paginate?: PaginateArgument;
|
|
6
|
-
searchBody: SearchBodyArgument;
|
|
7
|
-
};
|
|
8
|
-
export declare type PaginateArgument = {
|
|
9
|
-
page: number;
|
|
10
|
-
perPage: number;
|
|
11
|
-
};
|
|
12
|
-
export declare type SearchBodyArgument = {
|
|
13
|
-
aggregatorFilter?: string[];
|
|
14
|
-
endCustomerRef?: string;
|
|
15
|
-
exclusionFilters?: SearchFilterArgument[];
|
|
16
|
-
filters?: SearchFilterArgument[];
|
|
17
|
-
getFamilies?: boolean;
|
|
18
|
-
highlight?: boolean;
|
|
19
|
-
keywords?: string;
|
|
20
|
-
marketplace?: string;
|
|
21
|
-
quantity?: number;
|
|
22
|
-
resellerRef?: string;
|
|
23
|
-
restricted?: boolean;
|
|
24
|
-
sort?: SortArgument;
|
|
25
|
-
topOffers?: boolean;
|
|
26
|
-
};
|
|
27
|
-
export declare type SearchFilterArgument = {
|
|
28
|
-
name: string;
|
|
29
|
-
value: string | string[];
|
|
30
|
-
operator?: OperatorArgument;
|
|
31
|
-
filters?: SearchFilterArgument[];
|
|
32
|
-
};
|
|
33
|
-
declare enum OperatorArgument {
|
|
34
|
-
OR = "OR",
|
|
35
|
-
AND = "AND",
|
|
36
|
-
BETWEEN = "BETWEEN"
|
|
37
|
-
}
|
|
38
|
-
export declare type SortArgument = {
|
|
39
|
-
name?: string;
|
|
40
|
-
order?: string;
|
|
41
|
-
};
|
|
42
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
var OperatorArgument;
|
|
4
|
-
(function (OperatorArgument) {
|
|
5
|
-
OperatorArgument["OR"] = "OR";
|
|
6
|
-
OperatorArgument["AND"] = "AND";
|
|
7
|
-
OperatorArgument["BETWEEN"] = "BETWEEN";
|
|
8
|
-
})(OperatorArgument || (OperatorArgument = {}));
|
|
9
|
-
//# sourceMappingURL=queryArguments.js.map
|