@remkoj/optimizely-cms-api 6.0.0-pre7 → 6.0.0-pre9
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/LICENSE +12 -12
- package/README.md +3 -5
- package/dist/api-client.d.ts +22 -7
- package/dist/api-client.js +92 -40
- package/dist/client/client/{client.d.ts → client.gen.d.ts} +1 -1
- package/dist/client/client/{client.js → client.gen.js} +88 -29
- package/dist/client/client/index.d.ts +8 -7
- package/dist/client/client/index.js +15 -12
- package/dist/client/client/{types.d.ts → types.gen.d.ts} +18 -13
- package/dist/client/{core/types.js → client/types.gen.js} +1 -0
- package/dist/client/client/{utils.d.ts → utils.gen.d.ts} +8 -20
- package/dist/client/client/{utils.js → utils.gen.js} +61 -116
- package/dist/client/client.gen.d.ts +3 -3
- package/dist/client/client.gen.js +1 -1
- package/dist/client/core/{auth.js → auth.gen.js} +1 -0
- package/dist/client/core/{bodySerializer.d.ts → bodySerializer.gen.d.ts} +1 -1
- package/dist/client/core/{bodySerializer.js → bodySerializer.gen.js} +4 -0
- package/dist/client/core/{params.d.ts → params.gen.d.ts} +10 -0
- package/dist/client/core/{params.js → params.gen.js} +1 -0
- package/dist/client/core/{pathSerializer.js → pathSerializer.gen.js} +1 -0
- package/dist/client/core/queryKeySerializer.gen.d.ts +18 -0
- package/dist/client/core/queryKeySerializer.gen.js +105 -0
- package/dist/client/core/serverSentEvents.gen.d.ts +71 -0
- package/dist/client/core/serverSentEvents.gen.js +139 -0
- package/dist/client/core/{types.d.ts → types.gen.d.ts} +19 -14
- package/dist/client/{client/types.js → core/types.gen.js} +1 -0
- package/dist/client/core/utils.gen.d.ts +19 -0
- package/dist/client/core/utils.gen.js +93 -0
- package/dist/client/index.d.ts +1 -1
- package/dist/client/index.js +1 -2
- package/dist/client/sdk.gen.d.ts +11 -167
- package/dist/client/sdk.gen.js +17 -421
- package/dist/client/transformers.gen.d.ts +8 -24
- package/dist/client/transformers.gen.js +77 -193
- package/dist/client/types.gen.d.ts +520 -1919
- package/dist/client/types.gen.js +0 -84
- package/dist/client-config.d.ts +5 -2
- package/dist/client-config.js +42 -14
- package/dist/config.d.ts +2 -3
- package/dist/config.js +13 -42
- package/dist/getaccesstoken.d.ts +1 -1
- package/dist/getaccesstoken.js +9 -7
- package/dist/index.d.ts +4 -1
- package/dist/index.js +9 -2
- package/dist/instance.client/client/client.gen.d.ts +2 -0
- package/dist/instance.client/client/client.gen.js +208 -0
- package/dist/instance.client/client/index.d.ts +8 -0
- package/dist/instance.client/client/index.js +17 -0
- package/dist/instance.client/client/types.gen.d.ts +124 -0
- package/dist/instance.client/client/types.gen.js +3 -0
- package/dist/instance.client/client/utils.gen.d.ts +33 -0
- package/dist/instance.client/client/utils.gen.js +241 -0
- package/dist/instance.client/client.gen.d.ts +12 -0
- package/dist/instance.client/client.gen.js +9 -0
- package/dist/instance.client/core/auth.gen.d.ts +18 -0
- package/dist/instance.client/core/auth.gen.js +18 -0
- package/dist/instance.client/core/bodySerializer.gen.d.ts +17 -0
- package/dist/instance.client/core/bodySerializer.gen.js +60 -0
- package/dist/instance.client/core/params.gen.d.ts +33 -0
- package/dist/instance.client/core/params.gen.js +92 -0
- package/dist/instance.client/core/pathSerializer.gen.d.ts +33 -0
- package/dist/instance.client/core/pathSerializer.gen.js +123 -0
- package/dist/instance.client/core/queryKeySerializer.gen.d.ts +18 -0
- package/dist/instance.client/core/queryKeySerializer.gen.js +105 -0
- package/dist/instance.client/core/serverSentEvents.gen.d.ts +71 -0
- package/dist/instance.client/core/serverSentEvents.gen.js +139 -0
- package/dist/instance.client/core/types.gen.d.ts +78 -0
- package/dist/instance.client/core/types.gen.js +3 -0
- package/dist/instance.client/core/utils.gen.d.ts +19 -0
- package/dist/instance.client/core/utils.gen.js +93 -0
- package/dist/instance.client/index.d.ts +4 -0
- package/dist/instance.client/index.js +21 -0
- package/dist/instance.client/sdk.gen.d.ts +256 -0
- package/dist/instance.client/sdk.gen.js +638 -0
- package/dist/instance.client/transformers.gen.d.ts +34 -0
- package/dist/instance.client/transformers.gen.js +273 -0
- package/dist/instance.client/types.gen.d.ts +2838 -0
- package/dist/instance.client/types.gen.js +3 -0
- package/dist/types.d.ts +3 -1
- package/dist/types.js +1 -0
- package/dist/version.json +3 -3
- package/package.json +8 -12
- /package/dist/client/core/{auth.d.ts → auth.gen.d.ts} +0 -0
- /package/dist/client/core/{pathSerializer.d.ts → pathSerializer.gen.d.ts} +0 -0
package/dist/types.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export type InstanceApiVersionInfo = {
|
|
2
2
|
status: "Healthy";
|
|
3
|
+
baseUrl?: string;
|
|
3
4
|
statusDuration: number;
|
|
4
5
|
apiVersion: string;
|
|
5
6
|
serviceVersion: string;
|
|
@@ -8,5 +9,6 @@ export type InstanceApiVersionInfo = {
|
|
|
8
9
|
};
|
|
9
10
|
export declare enum OptiCmsVersion {
|
|
10
11
|
CMS12 = "OPTI-CMS-12",
|
|
11
|
-
CMS13 = "OPTI-CMS-13"
|
|
12
|
+
CMS13 = "OPTI-CMS-13",
|
|
13
|
+
CMSSAAS = "OPTI-CMS-SAAS"
|
|
12
14
|
}
|
package/dist/types.js
CHANGED
package/dist/version.json
CHANGED
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@remkoj/optimizely-cms-api",
|
|
3
3
|
"displayName": "Optimizely CMS - Integration API Client",
|
|
4
4
|
"description": "A Javascript client for the Integration API provided by the Optimizely CMS.",
|
|
5
|
-
"version": "6.0.0-
|
|
5
|
+
"version": "6.0.0-pre9",
|
|
6
6
|
"type": "commonjs",
|
|
7
7
|
"license": "Apache-2.0",
|
|
8
8
|
"main": "./dist/index.js",
|
|
@@ -12,24 +12,20 @@
|
|
|
12
12
|
],
|
|
13
13
|
"devDependencies": {
|
|
14
14
|
"@hey-api/client-fetch": "^0.13.1",
|
|
15
|
-
"@hey-api/openapi-ts": "^0.
|
|
16
|
-
"
|
|
17
|
-
"dotenv": "^17.2.0",
|
|
18
|
-
"dotenv-expand": "^12.0.2",
|
|
19
|
-
"glob": "^11.0.3",
|
|
20
|
-
"rimraf": "^6.0.1",
|
|
21
|
-
"typescript": "^5.8.3"
|
|
15
|
+
"@hey-api/openapi-ts": "^0.85.1",
|
|
16
|
+
"rimraf": "^6.0.1"
|
|
22
17
|
},
|
|
23
18
|
"dependencies": {
|
|
24
|
-
"@types/node": "^22.
|
|
25
|
-
"dotenv": "^17.2.
|
|
19
|
+
"@types/node": "^22.18.10",
|
|
20
|
+
"dotenv": "^17.2.3",
|
|
21
|
+
"dotenv-expand": "^12.0.3",
|
|
26
22
|
"glob": "^11.0.3",
|
|
27
23
|
"openapi-typescript-codegen": "^0.29.0",
|
|
28
24
|
"tslib": "^2.8.1",
|
|
29
|
-
"typescript": "^5.
|
|
25
|
+
"typescript": "^5.9.3"
|
|
30
26
|
},
|
|
31
27
|
"scripts": {
|
|
32
|
-
"clean": "rimraf -g ./dist ./*.tsbuildinfo
|
|
28
|
+
"clean": "rimraf -g ./dist ./*.tsbuildinfo ./openapi-ts*log",
|
|
33
29
|
"prepare": "tsc --build && yarn node scripts/copy-client.mjs",
|
|
34
30
|
"watch": "tsc --watch",
|
|
35
31
|
"rebuild": "yarn clean && yarn generate && tsc --build --force",
|
|
File without changes
|
|
File without changes
|