@widgetic/api-sdk-ts 2.0.0 → 2.0.2
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/apis/BrandKitApi.d.ts +4 -4
- package/dist/apis/BrandKitApi.js +4 -4
- package/dist/apis/TokensApi.d.ts +2 -0
- package/dist/apis/TokensApi.js +2 -0
- package/dist/esm/apis/BrandKitApi.js +4 -4
- package/dist/esm/apis/TokensApi.js +2 -0
- package/dist/esm/models/BrandKitTokens.js +3 -0
- package/dist/esm/models/BrandTextStyle.js +65 -0
- package/dist/esm/models/GetOperationResponseData.js +3 -2
- package/dist/esm/models/GetOperationResponseDataMetadata.js +58 -0
- package/dist/esm/models/PatchBrandKitRequest.js +3 -0
- package/dist/esm/models/WidgetClarification.js +52 -0
- package/dist/esm/models/WidgetClarificationOption.js +51 -0
- package/dist/esm/models/WidgetClarificationQuestion.js +60 -0
- package/dist/esm/models/WidgetNextStep.js +67 -0
- package/dist/esm/models/WidgetPlan.js +61 -0
- package/dist/esm/models/WidgetPlanDecisions.js +72 -0
- package/dist/esm/models/WidgetPlanDecisionsAdaptersInner.js +47 -0
- package/dist/esm/models/WidgetPlanDecisionsLibrariesInner.js +51 -0
- package/dist/esm/models/WidgetPlanDecisionsResponsive.js +51 -0
- package/dist/esm/models/WidgetPlanTask.js +80 -0
- package/dist/esm/models/index.js +12 -0
- package/dist/esm/runtime.js +1 -1
- package/dist/models/BrandKitTokens.d.ts +8 -1
- package/dist/models/BrandKitTokens.js +3 -0
- package/dist/models/BrandKitView.d.ts +1 -1
- package/dist/models/BrandTextStyle.d.ts +59 -0
- package/dist/models/BrandTextStyle.js +73 -0
- package/dist/models/GetOperationResponseData.d.ts +3 -5
- package/dist/models/GetOperationResponseData.js +3 -2
- package/dist/models/GetOperationResponseDataMetadata.d.ts +65 -0
- package/dist/models/GetOperationResponseDataMetadata.js +66 -0
- package/dist/models/PatchBrandKitRequest.d.ts +7 -0
- package/dist/models/PatchBrandKitRequest.js +3 -0
- package/dist/models/WidgetClarification.d.ts +45 -0
- package/dist/models/WidgetClarification.js +59 -0
- package/dist/models/WidgetClarificationOption.d.ts +44 -0
- package/dist/models/WidgetClarificationOption.js +58 -0
- package/dist/models/WidgetClarificationQuestion.d.ts +57 -0
- package/dist/models/WidgetClarificationQuestion.js +67 -0
- package/dist/models/WidgetNextStep.d.ts +63 -0
- package/dist/models/WidgetNextStep.js +75 -0
- package/dist/models/WidgetPlan.d.ts +58 -0
- package/dist/models/WidgetPlan.js +68 -0
- package/dist/models/WidgetPlanDecisions.d.ts +77 -0
- package/dist/models/WidgetPlanDecisions.js +79 -0
- package/dist/models/WidgetPlanDecisionsAdaptersInner.d.ts +38 -0
- package/dist/models/WidgetPlanDecisionsAdaptersInner.js +54 -0
- package/dist/models/WidgetPlanDecisionsLibrariesInner.d.ts +44 -0
- package/dist/models/WidgetPlanDecisionsLibrariesInner.js +58 -0
- package/dist/models/WidgetPlanDecisionsResponsive.d.ts +44 -0
- package/dist/models/WidgetPlanDecisionsResponsive.js +58 -0
- package/dist/models/WidgetPlanTask.d.ts +77 -0
- package/dist/models/WidgetPlanTask.js +88 -0
- package/dist/models/index.d.ts +12 -0
- package/dist/models/index.js +12 -0
- package/dist/runtime.d.ts +2 -2
- package/dist/runtime.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Widgetic API Gateway
|
|
6
|
+
* API documentation for the Widgetic API Gateway
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.WidgetPlanTaskStatusEnum = exports.WidgetPlanTaskKindEnum = void 0;
|
|
17
|
+
exports.instanceOfWidgetPlanTask = instanceOfWidgetPlanTask;
|
|
18
|
+
exports.WidgetPlanTaskFromJSON = WidgetPlanTaskFromJSON;
|
|
19
|
+
exports.WidgetPlanTaskFromJSONTyped = WidgetPlanTaskFromJSONTyped;
|
|
20
|
+
exports.WidgetPlanTaskToJSON = WidgetPlanTaskToJSON;
|
|
21
|
+
exports.WidgetPlanTaskToJSONTyped = WidgetPlanTaskToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.WidgetPlanTaskKindEnum = {
|
|
26
|
+
Read: 'read',
|
|
27
|
+
Layout: 'layout',
|
|
28
|
+
Content: 'content',
|
|
29
|
+
Style: 'style',
|
|
30
|
+
Library: 'library',
|
|
31
|
+
Adapter: 'adapter',
|
|
32
|
+
Motion: 'motion',
|
|
33
|
+
Behavior: 'behavior',
|
|
34
|
+
Polish: 'polish',
|
|
35
|
+
Check: 'check',
|
|
36
|
+
Other: 'other'
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* @export
|
|
40
|
+
*/
|
|
41
|
+
exports.WidgetPlanTaskStatusEnum = {
|
|
42
|
+
Pending: 'pending',
|
|
43
|
+
InProgress: 'in_progress',
|
|
44
|
+
Done: 'done',
|
|
45
|
+
Failed: 'failed'
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* Check if a given object implements the WidgetPlanTask interface.
|
|
49
|
+
*/
|
|
50
|
+
function instanceOfWidgetPlanTask(value) {
|
|
51
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
52
|
+
return false;
|
|
53
|
+
if (!('label' in value) || value['label'] === undefined)
|
|
54
|
+
return false;
|
|
55
|
+
if (!('kind' in value) || value['kind'] === undefined)
|
|
56
|
+
return false;
|
|
57
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
58
|
+
return false;
|
|
59
|
+
return true;
|
|
60
|
+
}
|
|
61
|
+
function WidgetPlanTaskFromJSON(json) {
|
|
62
|
+
return WidgetPlanTaskFromJSONTyped(json, false);
|
|
63
|
+
}
|
|
64
|
+
function WidgetPlanTaskFromJSONTyped(json, ignoreDiscriminator) {
|
|
65
|
+
if (json == null) {
|
|
66
|
+
return json;
|
|
67
|
+
}
|
|
68
|
+
return {
|
|
69
|
+
'id': json['id'],
|
|
70
|
+
'label': json['label'],
|
|
71
|
+
'kind': json['kind'],
|
|
72
|
+
'status': json['status'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
function WidgetPlanTaskToJSON(json) {
|
|
76
|
+
return WidgetPlanTaskToJSONTyped(json, false);
|
|
77
|
+
}
|
|
78
|
+
function WidgetPlanTaskToJSONTyped(value, ignoreDiscriminator = false) {
|
|
79
|
+
if (value == null) {
|
|
80
|
+
return value;
|
|
81
|
+
}
|
|
82
|
+
return {
|
|
83
|
+
'id': value['id'],
|
|
84
|
+
'label': value['label'],
|
|
85
|
+
'kind': value['kind'],
|
|
86
|
+
'status': value['status'],
|
|
87
|
+
};
|
|
88
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -25,6 +25,7 @@ export * from './BrandKitView';
|
|
|
25
25
|
export * from './BrandKitViewOwner';
|
|
26
26
|
export * from './BrandKitViewResponse';
|
|
27
27
|
export * from './BrandSpacing';
|
|
28
|
+
export * from './BrandTextStyle';
|
|
28
29
|
export * from './Canvas';
|
|
29
30
|
export * from './CanvasResponse';
|
|
30
31
|
export * from './CheckCompositionAccessResponse';
|
|
@@ -122,6 +123,7 @@ export * from './GetManagedUsersByManagerIdResponse';
|
|
|
122
123
|
export * from './GetManagedUsersByManagerIdResponseData';
|
|
123
124
|
export * from './GetOperationResponse';
|
|
124
125
|
export * from './GetOperationResponseData';
|
|
126
|
+
export * from './GetOperationResponseDataMetadata';
|
|
125
127
|
export * from './GetPartnerBillingOverview200Response';
|
|
126
128
|
export * from './GetPartnerEntitlementsResponse';
|
|
127
129
|
export * from './GetPartnerEntitlementsResponseData';
|
|
@@ -312,6 +314,16 @@ export * from './ValidateCompositionContentResponseData';
|
|
|
312
314
|
export * from './ValidateToken200Response';
|
|
313
315
|
export * from './ValidateToken200ResponseData';
|
|
314
316
|
export * from './Widget';
|
|
317
|
+
export * from './WidgetClarification';
|
|
318
|
+
export * from './WidgetClarificationOption';
|
|
319
|
+
export * from './WidgetClarificationQuestion';
|
|
320
|
+
export * from './WidgetNextStep';
|
|
321
|
+
export * from './WidgetPlan';
|
|
322
|
+
export * from './WidgetPlanDecisions';
|
|
323
|
+
export * from './WidgetPlanDecisionsAdaptersInner';
|
|
324
|
+
export * from './WidgetPlanDecisionsLibrariesInner';
|
|
325
|
+
export * from './WidgetPlanDecisionsResponsive';
|
|
326
|
+
export * from './WidgetPlanTask';
|
|
315
327
|
export * from './Workflow';
|
|
316
328
|
export * from './WorkflowCompositionAction';
|
|
317
329
|
export * from './WorkflowCompositionField';
|
package/dist/models/index.js
CHANGED
|
@@ -43,6 +43,7 @@ __exportStar(require("./BrandKitView"), exports);
|
|
|
43
43
|
__exportStar(require("./BrandKitViewOwner"), exports);
|
|
44
44
|
__exportStar(require("./BrandKitViewResponse"), exports);
|
|
45
45
|
__exportStar(require("./BrandSpacing"), exports);
|
|
46
|
+
__exportStar(require("./BrandTextStyle"), exports);
|
|
46
47
|
__exportStar(require("./Canvas"), exports);
|
|
47
48
|
__exportStar(require("./CanvasResponse"), exports);
|
|
48
49
|
__exportStar(require("./CheckCompositionAccessResponse"), exports);
|
|
@@ -140,6 +141,7 @@ __exportStar(require("./GetManagedUsersByManagerIdResponse"), exports);
|
|
|
140
141
|
__exportStar(require("./GetManagedUsersByManagerIdResponseData"), exports);
|
|
141
142
|
__exportStar(require("./GetOperationResponse"), exports);
|
|
142
143
|
__exportStar(require("./GetOperationResponseData"), exports);
|
|
144
|
+
__exportStar(require("./GetOperationResponseDataMetadata"), exports);
|
|
143
145
|
__exportStar(require("./GetPartnerBillingOverview200Response"), exports);
|
|
144
146
|
__exportStar(require("./GetPartnerEntitlementsResponse"), exports);
|
|
145
147
|
__exportStar(require("./GetPartnerEntitlementsResponseData"), exports);
|
|
@@ -330,6 +332,16 @@ __exportStar(require("./ValidateCompositionContentResponseData"), exports);
|
|
|
330
332
|
__exportStar(require("./ValidateToken200Response"), exports);
|
|
331
333
|
__exportStar(require("./ValidateToken200ResponseData"), exports);
|
|
332
334
|
__exportStar(require("./Widget"), exports);
|
|
335
|
+
__exportStar(require("./WidgetClarification"), exports);
|
|
336
|
+
__exportStar(require("./WidgetClarificationOption"), exports);
|
|
337
|
+
__exportStar(require("./WidgetClarificationQuestion"), exports);
|
|
338
|
+
__exportStar(require("./WidgetNextStep"), exports);
|
|
339
|
+
__exportStar(require("./WidgetPlan"), exports);
|
|
340
|
+
__exportStar(require("./WidgetPlanDecisions"), exports);
|
|
341
|
+
__exportStar(require("./WidgetPlanDecisionsAdaptersInner"), exports);
|
|
342
|
+
__exportStar(require("./WidgetPlanDecisionsLibrariesInner"), exports);
|
|
343
|
+
__exportStar(require("./WidgetPlanDecisionsResponsive"), exports);
|
|
344
|
+
__exportStar(require("./WidgetPlanTask"), exports);
|
|
333
345
|
__exportStar(require("./Workflow"), exports);
|
|
334
346
|
__exportStar(require("./WorkflowCompositionAction"), exports);
|
|
335
347
|
__exportStar(require("./WorkflowCompositionField"), exports);
|
package/dist/runtime.d.ts
CHANGED
|
@@ -24,9 +24,9 @@ export declare const DEFAULT_BASE_URL = "";
|
|
|
24
24
|
export declare const DEFAULT_API_VERSION = "";
|
|
25
25
|
export declare const BASE_PATH: string;
|
|
26
26
|
export declare const SDK_NAME = "@widgetic/api-sdk-ts";
|
|
27
|
-
export declare const SDK_VERSION = "2.0.
|
|
27
|
+
export declare const SDK_VERSION = "2.0.2";
|
|
28
28
|
export declare const SDK_VERSION_HEADER = "X-SDK-Version";
|
|
29
|
-
export declare const SDK_VERSION_HEADER_VALUE = "@widgetic/api-sdk-ts/2.0.
|
|
29
|
+
export declare const SDK_VERSION_HEADER_VALUE = "@widgetic/api-sdk-ts/2.0.2";
|
|
30
30
|
export interface ConfigurationParameters {
|
|
31
31
|
basePath?: string;
|
|
32
32
|
fetchApi?: FetchAPI;
|
package/dist/runtime.js
CHANGED
|
@@ -38,7 +38,7 @@ exports.BASE_PATH = "https://api.widgetic.com/v1".replace(/\/+$/, "");
|
|
|
38
38
|
// runs. The version is the one in this package's package.json: `scripts/deploy-sdk.sh` reads it and hands it to the
|
|
39
39
|
// generator as `npmVersion`, so the number a call reports is the number on npm.
|
|
40
40
|
exports.SDK_NAME = "@widgetic/api-sdk-ts";
|
|
41
|
-
exports.SDK_VERSION = "2.0.
|
|
41
|
+
exports.SDK_VERSION = "2.0.2";
|
|
42
42
|
exports.SDK_VERSION_HEADER = "X-SDK-Version";
|
|
43
43
|
exports.SDK_VERSION_HEADER_VALUE = `${exports.SDK_NAME}/${exports.SDK_VERSION}`;
|
|
44
44
|
class Configuration {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@widgetic/api-sdk-ts",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.2",
|
|
4
4
|
"description": "TypeScript and JavaScript client for the public Widgetic API: the calls a Widgetic customer or partner can make with an API key (ESM and CommonJS).",
|
|
5
5
|
"author": "Widgetic",
|
|
6
6
|
"license": "MIT",
|