@aui.io/aui-client 1.2.6 → 1.2.7
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/dist/cjs/Client.d.ts +3 -3
- package/dist/cjs/Client.js +5 -5
- package/dist/cjs/api/resources/{apolloSession → apolloWsSession}/client/Client.d.ts +6 -6
- package/dist/cjs/api/resources/{apolloSession → apolloWsSession}/client/Client.js +4 -4
- package/dist/cjs/api/resources/{apolloSession → apolloWsSession}/client/Socket.d.ts +6 -6
- package/dist/cjs/api/resources/{apolloSession → apolloWsSession}/client/Socket.js +3 -3
- package/dist/cjs/api/resources/index.d.ts +1 -1
- package/dist/cjs/api/resources/index.js +2 -2
- package/dist/cjs/api/types/ProductParameter.d.ts +4 -3
- package/dist/cjs/api/types/ProductParameter.js +1 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/Client.d.mts +3 -3
- package/dist/esm/Client.mjs +5 -5
- package/dist/esm/api/resources/{apolloSession → apolloWsSession}/client/Client.d.mts +6 -6
- package/dist/esm/api/resources/{apolloSession → apolloWsSession}/client/Client.mjs +3 -3
- package/dist/esm/api/resources/{apolloSession → apolloWsSession}/client/Socket.d.mts +6 -6
- package/dist/esm/api/resources/{apolloSession → apolloWsSession}/client/Socket.mjs +1 -1
- package/dist/esm/api/resources/index.d.mts +1 -1
- package/dist/esm/api/resources/index.mjs +1 -1
- package/dist/esm/api/types/ProductParameter.d.mts +4 -3
- package/dist/esm/api/types/ProductParameter.mjs +1 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- /package/dist/cjs/api/resources/{apolloSession → apolloWsSession}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{apolloSession → apolloWsSession}/client/index.js +0 -0
- /package/dist/cjs/api/resources/{apolloSession → apolloWsSession}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{apolloSession → apolloWsSession}/index.js +0 -0
- /package/dist/esm/api/resources/{apolloSession → apolloWsSession}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{apolloSession → apolloWsSession}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/{apolloSession → apolloWsSession}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{apolloSession → apolloWsSession}/index.mjs +0 -0
package/dist/cjs/Client.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ApolloWsSession } from "./api/resources/apolloWsSession/client/Client.js";
|
|
2
2
|
import { ControllerApi } from "./api/resources/controllerApi/client/Client.js";
|
|
3
3
|
import type { BaseClientOptions, BaseRequestOptions } from "./BaseClient.js";
|
|
4
4
|
export declare namespace ApolloClient {
|
|
@@ -10,8 +10,8 @@ export declare namespace ApolloClient {
|
|
|
10
10
|
export declare class ApolloClient {
|
|
11
11
|
protected readonly _options: ApolloClient.Options;
|
|
12
12
|
protected _controllerApi: ControllerApi | undefined;
|
|
13
|
-
protected
|
|
13
|
+
protected _apolloWsSession: ApolloWsSession | undefined;
|
|
14
14
|
constructor(_options?: ApolloClient.Options);
|
|
15
15
|
get controllerApi(): ControllerApi;
|
|
16
|
-
get
|
|
16
|
+
get apolloWsSession(): ApolloWsSession;
|
|
17
17
|
}
|
package/dist/cjs/Client.js
CHANGED
|
@@ -35,7 +35,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
35
35
|
})();
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.ApolloClient = void 0;
|
|
38
|
-
const Client_js_1 = require("./api/resources/
|
|
38
|
+
const Client_js_1 = require("./api/resources/apolloWsSession/client/Client.js");
|
|
39
39
|
const Client_js_2 = require("./api/resources/controllerApi/client/Client.js");
|
|
40
40
|
const headers_js_1 = require("./core/headers.js");
|
|
41
41
|
const core = __importStar(require("./core/index.js"));
|
|
@@ -45,8 +45,8 @@ class ApolloClient {
|
|
|
45
45
|
"x-network-api-key": _options === null || _options === void 0 ? void 0 : _options.networkApiKey,
|
|
46
46
|
"X-Fern-Language": "JavaScript",
|
|
47
47
|
"X-Fern-SDK-Name": "@aui.io/aui-client",
|
|
48
|
-
"X-Fern-SDK-Version": "1.2.
|
|
49
|
-
"User-Agent": "@aui.io/aui-client/1.2.
|
|
48
|
+
"X-Fern-SDK-Version": "1.2.7",
|
|
49
|
+
"User-Agent": "@aui.io/aui-client/1.2.7",
|
|
50
50
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
51
51
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
52
52
|
}, _options === null || _options === void 0 ? void 0 : _options.headers) });
|
|
@@ -55,9 +55,9 @@ class ApolloClient {
|
|
|
55
55
|
var _a;
|
|
56
56
|
return ((_a = this._controllerApi) !== null && _a !== void 0 ? _a : (this._controllerApi = new Client_js_2.ControllerApi(this._options)));
|
|
57
57
|
}
|
|
58
|
-
get
|
|
58
|
+
get apolloWsSession() {
|
|
59
59
|
var _a;
|
|
60
|
-
return ((_a = this.
|
|
60
|
+
return ((_a = this._apolloWsSession) !== null && _a !== void 0 ? _a : (this._apolloWsSession = new Client_js_1.ApolloWsSession(this._options)));
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
exports.ApolloClient = ApolloClient;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { BaseClientOptions } from "../../../../BaseClient.js";
|
|
2
|
-
import {
|
|
3
|
-
export declare namespace
|
|
2
|
+
import { ApolloWsSessionSocket } from "./Socket.js";
|
|
3
|
+
export declare namespace ApolloWsSession {
|
|
4
4
|
interface Options extends BaseClientOptions {
|
|
5
5
|
}
|
|
6
6
|
interface ConnectArgs {
|
|
@@ -12,9 +12,9 @@ export declare namespace ApolloSession {
|
|
|
12
12
|
reconnectAttempts?: number;
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
|
-
export declare class
|
|
16
|
-
protected readonly _options:
|
|
17
|
-
constructor(_options?:
|
|
18
|
-
connect(args?:
|
|
15
|
+
export declare class ApolloWsSession {
|
|
16
|
+
protected readonly _options: ApolloWsSession.Options;
|
|
17
|
+
constructor(_options?: ApolloWsSession.Options);
|
|
18
|
+
connect(args?: ApolloWsSession.ConnectArgs): Promise<ApolloWsSessionSocket>;
|
|
19
19
|
protected _getCustomAuthorizationHeaders(): Promise<Record<string, string | undefined>>;
|
|
20
20
|
}
|
|
@@ -43,12 +43,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
43
43
|
});
|
|
44
44
|
};
|
|
45
45
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
46
|
-
exports.
|
|
46
|
+
exports.ApolloWsSession = void 0;
|
|
47
47
|
const headers_js_1 = require("../../../../core/headers.js");
|
|
48
48
|
const core = __importStar(require("../../../../core/index.js"));
|
|
49
49
|
const environments = __importStar(require("../../../../environments.js"));
|
|
50
50
|
const Socket_js_1 = require("./Socket.js");
|
|
51
|
-
class
|
|
51
|
+
class ApolloWsSession {
|
|
52
52
|
constructor(_options = {}) {
|
|
53
53
|
this._options = _options;
|
|
54
54
|
}
|
|
@@ -65,7 +65,7 @@ class ApolloSession {
|
|
|
65
65
|
headers: _headers,
|
|
66
66
|
options: { debug: debug !== null && debug !== void 0 ? debug : false, maxRetries: reconnectAttempts !== null && reconnectAttempts !== void 0 ? reconnectAttempts : 30 },
|
|
67
67
|
});
|
|
68
|
-
return new Socket_js_1.
|
|
68
|
+
return new Socket_js_1.ApolloWsSessionSocket({ socket });
|
|
69
69
|
});
|
|
70
70
|
}
|
|
71
71
|
_getCustomAuthorizationHeaders() {
|
|
@@ -75,4 +75,4 @@ class ApolloSession {
|
|
|
75
75
|
});
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
|
-
exports.
|
|
78
|
+
exports.ApolloWsSession = ApolloWsSession;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as core from "../../../../core/index.js";
|
|
2
2
|
import type * as Apollo from "../../../index.js";
|
|
3
|
-
export declare namespace
|
|
3
|
+
export declare namespace ApolloWsSessionSocket {
|
|
4
4
|
interface Args {
|
|
5
5
|
socket: core.ReconnectingWebSocket;
|
|
6
6
|
}
|
|
@@ -12,14 +12,14 @@ export declare namespace ApolloSessionSocket {
|
|
|
12
12
|
error?: (error: Error) => void;
|
|
13
13
|
};
|
|
14
14
|
}
|
|
15
|
-
export declare class
|
|
15
|
+
export declare class ApolloWsSessionSocket {
|
|
16
16
|
readonly socket: core.ReconnectingWebSocket;
|
|
17
|
-
protected readonly eventHandlers:
|
|
17
|
+
protected readonly eventHandlers: ApolloWsSessionSocket.EventHandlers;
|
|
18
18
|
private handleOpen;
|
|
19
19
|
private handleMessage;
|
|
20
20
|
private handleClose;
|
|
21
21
|
private handleError;
|
|
22
|
-
constructor(args:
|
|
22
|
+
constructor(args: ApolloWsSessionSocket.Args);
|
|
23
23
|
/** The current state of the connection; this is one of the readyState constants. */
|
|
24
24
|
get readyState(): number;
|
|
25
25
|
/**
|
|
@@ -32,10 +32,10 @@ export declare class ApolloSessionSocket {
|
|
|
32
32
|
* });
|
|
33
33
|
* ```
|
|
34
34
|
*/
|
|
35
|
-
on<T extends keyof
|
|
35
|
+
on<T extends keyof ApolloWsSessionSocket.EventHandlers>(event: T, callback: ApolloWsSessionSocket.EventHandlers[T]): void;
|
|
36
36
|
sendUserMessage(message: Apollo.UserMessagePayload): void;
|
|
37
37
|
/** Connect to the websocket and register event handlers. */
|
|
38
|
-
connect():
|
|
38
|
+
connect(): ApolloWsSessionSocket;
|
|
39
39
|
/** Close the websocket and unregister event handlers. */
|
|
40
40
|
close(): void;
|
|
41
41
|
/** Returns a promise that resolves when the websocket is open. */
|
|
@@ -43,10 +43,10 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
43
43
|
});
|
|
44
44
|
};
|
|
45
45
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
46
|
-
exports.
|
|
46
|
+
exports.ApolloWsSessionSocket = void 0;
|
|
47
47
|
const core = __importStar(require("../../../../core/index.js"));
|
|
48
48
|
const json_js_1 = require("../../../../core/json.js");
|
|
49
|
-
class
|
|
49
|
+
class ApolloWsSessionSocket {
|
|
50
50
|
constructor(args) {
|
|
51
51
|
this.eventHandlers = {};
|
|
52
52
|
this.handleOpen = () => {
|
|
@@ -147,4 +147,4 @@ class ApolloSessionSocket {
|
|
|
147
147
|
this.socket.send(jsonPayload);
|
|
148
148
|
}
|
|
149
149
|
}
|
|
150
|
-
exports.
|
|
150
|
+
exports.ApolloWsSessionSocket = ApolloWsSessionSocket;
|
|
@@ -36,7 +36,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.controllerApi = exports.
|
|
40
|
-
exports.
|
|
39
|
+
exports.controllerApi = exports.apolloWsSession = void 0;
|
|
40
|
+
exports.apolloWsSession = __importStar(require("./apolloWsSession/index.js"));
|
|
41
41
|
__exportStar(require("./controllerApi/client/requests/index.js"), exports);
|
|
42
42
|
exports.controllerApi = __importStar(require("./controllerApi/index.js"));
|
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
export interface ProductParameter {
|
|
2
2
|
/** Parameter name */
|
|
3
3
|
title: string;
|
|
4
|
-
/** Parameter value */
|
|
4
|
+
/** Parameter value (can be string, number, array, or object) */
|
|
5
5
|
value: ProductParameter.Value;
|
|
6
6
|
type: ProductParameter.Type;
|
|
7
7
|
}
|
|
8
8
|
export declare namespace ProductParameter {
|
|
9
9
|
/**
|
|
10
|
-
* Parameter value
|
|
10
|
+
* Parameter value (can be string, number, array, or object)
|
|
11
11
|
*/
|
|
12
|
-
type Value = string | number | unknown[]
|
|
12
|
+
type Value = string | number | unknown[] | Record<string, unknown>;
|
|
13
13
|
const Type: {
|
|
14
14
|
readonly String: "string";
|
|
15
15
|
readonly Numeric: "numeric";
|
|
16
16
|
readonly Array: "array";
|
|
17
|
+
readonly Object: "object";
|
|
17
18
|
};
|
|
18
19
|
type Type = (typeof Type)[keyof typeof Type];
|
|
19
20
|
}
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.2.
|
|
1
|
+
export declare const SDK_VERSION = "1.2.7";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/Client.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ApolloWsSession } from "./api/resources/apolloWsSession/client/Client.mjs";
|
|
2
2
|
import { ControllerApi } from "./api/resources/controllerApi/client/Client.mjs";
|
|
3
3
|
import type { BaseClientOptions, BaseRequestOptions } from "./BaseClient.mjs";
|
|
4
4
|
export declare namespace ApolloClient {
|
|
@@ -10,8 +10,8 @@ export declare namespace ApolloClient {
|
|
|
10
10
|
export declare class ApolloClient {
|
|
11
11
|
protected readonly _options: ApolloClient.Options;
|
|
12
12
|
protected _controllerApi: ControllerApi | undefined;
|
|
13
|
-
protected
|
|
13
|
+
protected _apolloWsSession: ApolloWsSession | undefined;
|
|
14
14
|
constructor(_options?: ApolloClient.Options);
|
|
15
15
|
get controllerApi(): ControllerApi;
|
|
16
|
-
get
|
|
16
|
+
get apolloWsSession(): ApolloWsSession;
|
|
17
17
|
}
|
package/dist/esm/Client.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
import {
|
|
2
|
+
import { ApolloWsSession } from "./api/resources/apolloWsSession/client/Client.mjs";
|
|
3
3
|
import { ControllerApi } from "./api/resources/controllerApi/client/Client.mjs";
|
|
4
4
|
import { mergeHeaders } from "./core/headers.mjs";
|
|
5
5
|
import * as core from "./core/index.mjs";
|
|
@@ -9,8 +9,8 @@ export class ApolloClient {
|
|
|
9
9
|
"x-network-api-key": _options === null || _options === void 0 ? void 0 : _options.networkApiKey,
|
|
10
10
|
"X-Fern-Language": "JavaScript",
|
|
11
11
|
"X-Fern-SDK-Name": "@aui.io/aui-client",
|
|
12
|
-
"X-Fern-SDK-Version": "1.2.
|
|
13
|
-
"User-Agent": "@aui.io/aui-client/1.2.
|
|
12
|
+
"X-Fern-SDK-Version": "1.2.7",
|
|
13
|
+
"User-Agent": "@aui.io/aui-client/1.2.7",
|
|
14
14
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
15
15
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
16
16
|
}, _options === null || _options === void 0 ? void 0 : _options.headers) });
|
|
@@ -19,8 +19,8 @@ export class ApolloClient {
|
|
|
19
19
|
var _a;
|
|
20
20
|
return ((_a = this._controllerApi) !== null && _a !== void 0 ? _a : (this._controllerApi = new ControllerApi(this._options)));
|
|
21
21
|
}
|
|
22
|
-
get
|
|
22
|
+
get apolloWsSession() {
|
|
23
23
|
var _a;
|
|
24
|
-
return ((_a = this.
|
|
24
|
+
return ((_a = this._apolloWsSession) !== null && _a !== void 0 ? _a : (this._apolloWsSession = new ApolloWsSession(this._options)));
|
|
25
25
|
}
|
|
26
26
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { BaseClientOptions } from "../../../../BaseClient.mjs";
|
|
2
|
-
import {
|
|
3
|
-
export declare namespace
|
|
2
|
+
import { ApolloWsSessionSocket } from "./Socket.mjs";
|
|
3
|
+
export declare namespace ApolloWsSession {
|
|
4
4
|
interface Options extends BaseClientOptions {
|
|
5
5
|
}
|
|
6
6
|
interface ConnectArgs {
|
|
@@ -12,9 +12,9 @@ export declare namespace ApolloSession {
|
|
|
12
12
|
reconnectAttempts?: number;
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
|
-
export declare class
|
|
16
|
-
protected readonly _options:
|
|
17
|
-
constructor(_options?:
|
|
18
|
-
connect(args?:
|
|
15
|
+
export declare class ApolloWsSession {
|
|
16
|
+
protected readonly _options: ApolloWsSession.Options;
|
|
17
|
+
constructor(_options?: ApolloWsSession.Options);
|
|
18
|
+
connect(args?: ApolloWsSession.ConnectArgs): Promise<ApolloWsSessionSocket>;
|
|
19
19
|
protected _getCustomAuthorizationHeaders(): Promise<Record<string, string | undefined>>;
|
|
20
20
|
}
|
|
@@ -11,8 +11,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
11
11
|
import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../core/headers.mjs";
|
|
12
12
|
import * as core from "../../../../core/index.mjs";
|
|
13
13
|
import * as environments from "../../../../environments.mjs";
|
|
14
|
-
import {
|
|
15
|
-
export class
|
|
14
|
+
import { ApolloWsSessionSocket } from "./Socket.mjs";
|
|
15
|
+
export class ApolloWsSession {
|
|
16
16
|
constructor(_options = {}) {
|
|
17
17
|
this._options = _options;
|
|
18
18
|
}
|
|
@@ -29,7 +29,7 @@ export class ApolloSession {
|
|
|
29
29
|
headers: _headers,
|
|
30
30
|
options: { debug: debug !== null && debug !== void 0 ? debug : false, maxRetries: reconnectAttempts !== null && reconnectAttempts !== void 0 ? reconnectAttempts : 30 },
|
|
31
31
|
});
|
|
32
|
-
return new
|
|
32
|
+
return new ApolloWsSessionSocket({ socket });
|
|
33
33
|
});
|
|
34
34
|
}
|
|
35
35
|
_getCustomAuthorizationHeaders() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as core from "../../../../core/index.mjs";
|
|
2
2
|
import type * as Apollo from "../../../index.mjs";
|
|
3
|
-
export declare namespace
|
|
3
|
+
export declare namespace ApolloWsSessionSocket {
|
|
4
4
|
interface Args {
|
|
5
5
|
socket: core.ReconnectingWebSocket;
|
|
6
6
|
}
|
|
@@ -12,14 +12,14 @@ export declare namespace ApolloSessionSocket {
|
|
|
12
12
|
error?: (error: Error) => void;
|
|
13
13
|
};
|
|
14
14
|
}
|
|
15
|
-
export declare class
|
|
15
|
+
export declare class ApolloWsSessionSocket {
|
|
16
16
|
readonly socket: core.ReconnectingWebSocket;
|
|
17
|
-
protected readonly eventHandlers:
|
|
17
|
+
protected readonly eventHandlers: ApolloWsSessionSocket.EventHandlers;
|
|
18
18
|
private handleOpen;
|
|
19
19
|
private handleMessage;
|
|
20
20
|
private handleClose;
|
|
21
21
|
private handleError;
|
|
22
|
-
constructor(args:
|
|
22
|
+
constructor(args: ApolloWsSessionSocket.Args);
|
|
23
23
|
/** The current state of the connection; this is one of the readyState constants. */
|
|
24
24
|
get readyState(): number;
|
|
25
25
|
/**
|
|
@@ -32,10 +32,10 @@ export declare class ApolloSessionSocket {
|
|
|
32
32
|
* });
|
|
33
33
|
* ```
|
|
34
34
|
*/
|
|
35
|
-
on<T extends keyof
|
|
35
|
+
on<T extends keyof ApolloWsSessionSocket.EventHandlers>(event: T, callback: ApolloWsSessionSocket.EventHandlers[T]): void;
|
|
36
36
|
sendUserMessage(message: Apollo.UserMessagePayload): void;
|
|
37
37
|
/** Connect to the websocket and register event handlers. */
|
|
38
|
-
connect():
|
|
38
|
+
connect(): ApolloWsSessionSocket;
|
|
39
39
|
/** Close the websocket and unregister event handlers. */
|
|
40
40
|
close(): void;
|
|
41
41
|
/** Returns a promise that resolves when the websocket is open. */
|
|
@@ -10,7 +10,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
10
10
|
};
|
|
11
11
|
import * as core from "../../../../core/index.mjs";
|
|
12
12
|
import { fromJson, toJson } from "../../../../core/json.mjs";
|
|
13
|
-
export class
|
|
13
|
+
export class ApolloWsSessionSocket {
|
|
14
14
|
constructor(args) {
|
|
15
15
|
this.eventHandlers = {};
|
|
16
16
|
this.handleOpen = () => {
|
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
export interface ProductParameter {
|
|
2
2
|
/** Parameter name */
|
|
3
3
|
title: string;
|
|
4
|
-
/** Parameter value */
|
|
4
|
+
/** Parameter value (can be string, number, array, or object) */
|
|
5
5
|
value: ProductParameter.Value;
|
|
6
6
|
type: ProductParameter.Type;
|
|
7
7
|
}
|
|
8
8
|
export declare namespace ProductParameter {
|
|
9
9
|
/**
|
|
10
|
-
* Parameter value
|
|
10
|
+
* Parameter value (can be string, number, array, or object)
|
|
11
11
|
*/
|
|
12
|
-
type Value = string | number | unknown[]
|
|
12
|
+
type Value = string | number | unknown[] | Record<string, unknown>;
|
|
13
13
|
const Type: {
|
|
14
14
|
readonly String: "string";
|
|
15
15
|
readonly Numeric: "numeric";
|
|
16
16
|
readonly Array: "array";
|
|
17
|
+
readonly Object: "object";
|
|
17
18
|
};
|
|
18
19
|
type Type = (typeof Type)[keyof typeof Type];
|
|
19
20
|
}
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.2.
|
|
1
|
+
export declare const SDK_VERSION = "1.2.7";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "1.2.
|
|
1
|
+
export const SDK_VERSION = "1.2.7";
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|