@arrowsphere/api-client 3.30.0-rc.ckh.1 → 3.30.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.
Files changed (69) hide show
  1. package/CHANGELOG.md +0 -14
  2. package/build/AbstractHttpClient.d.ts +20 -0
  3. package/build/AbstractHttpClient.js +32 -0
  4. package/build/abstractGraphQLClient.d.ts +9 -5
  5. package/build/abstractGraphQLClient.js +8 -11
  6. package/build/{abstractClient.d.ts → abstractRestfulClient.d.ts} +4 -15
  7. package/build/{abstractClient.js → abstractRestfulClient.js} +6 -19
  8. package/build/campaign/campaignClient.d.ts +2 -2
  9. package/build/campaign/campaignClient.js +2 -2
  10. package/build/cart/cartClient.d.ts +2 -2
  11. package/build/cart/cartClient.js +2 -2
  12. package/build/catalog/catalogClient.d.ts +2 -2
  13. package/build/catalog/catalogClient.js +2 -2
  14. package/build/consumption/consumptionClient.d.ts +2 -2
  15. package/build/consumption/consumptionClient.js +2 -2
  16. package/build/contact/contactClient.d.ts +2 -2
  17. package/build/contact/contactClient.js +2 -2
  18. package/build/customers/customersClient.d.ts +2 -2
  19. package/build/customers/customersClient.js +2 -2
  20. package/build/general/checkDomainClient.d.ts +2 -2
  21. package/build/general/checkDomainClient.js +2 -2
  22. package/build/general/whoAmIClient.d.ts +2 -2
  23. package/build/general/whoAmIClient.js +2 -2
  24. package/build/index.d.ts +2 -1
  25. package/build/index.js +2 -1
  26. package/build/licenses/entities/findResult.d.ts +1 -1
  27. package/build/licenses/licensesClient.d.ts +2 -2
  28. package/build/licenses/licensesClient.js +2 -2
  29. package/build/orders/entities/orders/order.d.ts +1 -5
  30. package/build/orders/entities/orders/order.js +3 -13
  31. package/build/orders/index.d.ts +0 -1
  32. package/build/orders/index.js +0 -1
  33. package/build/orders/ordersClient.d.ts +3 -11
  34. package/build/orders/ordersClient.js +2 -3
  35. package/build/publicApiClient.d.ts +4 -2
  36. package/build/publicApiClient.js +38 -16
  37. package/build/publicGraphQLClient.js +6 -1
  38. package/build/security/register/registerClient.d.ts +2 -2
  39. package/build/security/register/registerClient.js +2 -2
  40. package/build/security/standards/standardsClient.d.ts +2 -2
  41. package/build/security/standards/standardsClient.js +2 -2
  42. package/build/securityScore/entities/getCustomerAccountData.d.ts +6 -6
  43. package/build/securityScore/entities/getCustomerData.d.ts +6 -6
  44. package/build/securityScore/entities/getPartnerData.d.ts +8 -5
  45. package/build/securityScore/entities/getPartnerData.js +9 -2
  46. package/build/securityScore/types/queryArguments.d.ts +8 -8
  47. package/build/securityScore/types/securityScoreGraphQLQueries.d.ts +2 -1
  48. package/build/securityScore/types/securityScoreGraphQLSchemas.d.ts +15 -1
  49. package/build/securityScore/types/securityScoreGraphQLTypes.d.ts +52 -18
  50. package/build/subscriptions/subscriptionsClient.d.ts +2 -2
  51. package/build/subscriptions/subscriptionsClient.js +2 -2
  52. package/build/supportCenter/payloads/issue.d.ts +1 -1
  53. package/build/supportCenter/supportCenterClient.d.ts +2 -2
  54. package/build/supportCenter/supportCenterClient.js +2 -2
  55. package/build/user/UserClient.d.ts +10 -0
  56. package/build/user/UserClient.js +20 -0
  57. package/build/user/index.d.ts +2 -0
  58. package/build/user/index.js +19 -0
  59. package/build/user/types/CompleteWhoAmI.d.ts +18 -0
  60. package/build/user/types/CompleteWhoAmI.js +47 -0
  61. package/build/user/types/CompleteWhoAmICompany.d.ts +28 -0
  62. package/build/user/types/CompleteWhoAmICompany.js +74 -0
  63. package/build/user/types/CompleteWhoAmIUser.d.ts +37 -0
  64. package/build/user/types/CompleteWhoAmIUser.js +94 -0
  65. package/build/user/types/index.d.ts +3 -0
  66. package/build/user/types/index.js +20 -0
  67. package/package.json +2 -1
  68. package/build/orders/entities/orders/extraInformation/extraInformation.d.ts +0 -18
  69. package/build/orders/entities/orders/extraInformation/extraInformation.js +0 -38
@@ -0,0 +1,3 @@
1
+ export * from './CompleteWhoAmI';
2
+ export * from './CompleteWhoAmICompany';
3
+ export * from './CompleteWhoAmIUser';
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./CompleteWhoAmI"), exports);
18
+ __exportStar(require("./CompleteWhoAmICompany"), exports);
19
+ __exportStar(require("./CompleteWhoAmIUser"), exports);
20
+ //# sourceMappingURL=index.js.map
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.30.0-rc.ckh.1",
7
+ "version": "3.30.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",
@@ -16,6 +16,7 @@
16
16
  "lint:fix": "eslint ./{src,tests}/**/*.ts --fix && prettier --write ./{src,tests}/**/*.ts",
17
17
  "prepare": "npm run clean && npm run build",
18
18
  "test": "mocha -r ts-node/register \"tests/**/*.ts\"",
19
+ "test:one": "mocha -r ts-node/register",
19
20
  "test:watch": "mocha --watch -r ts-node/register \"tests/**/*.ts\"",
20
21
  "test:coverage": "nyc --check-coverage npm run test",
21
22
  "test:coverage:report": "nyc report --reporter=text-lcov | coveralls"
@@ -1,18 +0,0 @@
1
- import { AbstractEntity } from '../../../../abstractEntity';
2
- export declare enum OrderExtraInformationFields {
3
- COLUMN_PROGRAMS = "programs"
4
- }
5
- export declare type OrderExtraInformationItemType = {
6
- [key: string]: {
7
- [name: string]: string;
8
- };
9
- };
10
- export declare type OrderExtraInformationType = {
11
- [OrderExtraInformationFields.COLUMN_PROGRAMS]: OrderExtraInformationItemType;
12
- };
13
- export declare class OrderExtraInformation extends AbstractEntity<OrderExtraInformationType> {
14
- #private;
15
- constructor(input: OrderExtraInformationType);
16
- get programs(): OrderExtraInformationItemType;
17
- toJSON(): OrderExtraInformationType;
18
- }
@@ -1,38 +0,0 @@
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 _OrderExtraInformation_programs;
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.OrderExtraInformation = exports.OrderExtraInformationFields = void 0;
16
- const abstractEntity_1 = require("../../../../abstractEntity");
17
- var OrderExtraInformationFields;
18
- (function (OrderExtraInformationFields) {
19
- OrderExtraInformationFields["COLUMN_PROGRAMS"] = "programs";
20
- })(OrderExtraInformationFields = exports.OrderExtraInformationFields || (exports.OrderExtraInformationFields = {}));
21
- class OrderExtraInformation extends abstractEntity_1.AbstractEntity {
22
- constructor(input) {
23
- super(input);
24
- _OrderExtraInformation_programs.set(this, void 0);
25
- __classPrivateFieldSet(this, _OrderExtraInformation_programs, input[OrderExtraInformationFields.COLUMN_PROGRAMS], "f");
26
- }
27
- get programs() {
28
- return __classPrivateFieldGet(this, _OrderExtraInformation_programs, "f");
29
- }
30
- toJSON() {
31
- return {
32
- [OrderExtraInformationFields.COLUMN_PROGRAMS]: this.programs,
33
- };
34
- }
35
- }
36
- exports.OrderExtraInformation = OrderExtraInformation;
37
- _OrderExtraInformation_programs = new WeakMap();
38
- //# sourceMappingURL=extraInformation.js.map