@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.
Files changed (59) hide show
  1. package/dist/apis/BrandKitApi.d.ts +4 -4
  2. package/dist/apis/BrandKitApi.js +4 -4
  3. package/dist/apis/TokensApi.d.ts +2 -0
  4. package/dist/apis/TokensApi.js +2 -0
  5. package/dist/esm/apis/BrandKitApi.js +4 -4
  6. package/dist/esm/apis/TokensApi.js +2 -0
  7. package/dist/esm/models/BrandKitTokens.js +3 -0
  8. package/dist/esm/models/BrandTextStyle.js +65 -0
  9. package/dist/esm/models/GetOperationResponseData.js +3 -2
  10. package/dist/esm/models/GetOperationResponseDataMetadata.js +58 -0
  11. package/dist/esm/models/PatchBrandKitRequest.js +3 -0
  12. package/dist/esm/models/WidgetClarification.js +52 -0
  13. package/dist/esm/models/WidgetClarificationOption.js +51 -0
  14. package/dist/esm/models/WidgetClarificationQuestion.js +60 -0
  15. package/dist/esm/models/WidgetNextStep.js +67 -0
  16. package/dist/esm/models/WidgetPlan.js +61 -0
  17. package/dist/esm/models/WidgetPlanDecisions.js +72 -0
  18. package/dist/esm/models/WidgetPlanDecisionsAdaptersInner.js +47 -0
  19. package/dist/esm/models/WidgetPlanDecisionsLibrariesInner.js +51 -0
  20. package/dist/esm/models/WidgetPlanDecisionsResponsive.js +51 -0
  21. package/dist/esm/models/WidgetPlanTask.js +80 -0
  22. package/dist/esm/models/index.js +12 -0
  23. package/dist/esm/runtime.js +1 -1
  24. package/dist/models/BrandKitTokens.d.ts +8 -1
  25. package/dist/models/BrandKitTokens.js +3 -0
  26. package/dist/models/BrandKitView.d.ts +1 -1
  27. package/dist/models/BrandTextStyle.d.ts +59 -0
  28. package/dist/models/BrandTextStyle.js +73 -0
  29. package/dist/models/GetOperationResponseData.d.ts +3 -5
  30. package/dist/models/GetOperationResponseData.js +3 -2
  31. package/dist/models/GetOperationResponseDataMetadata.d.ts +65 -0
  32. package/dist/models/GetOperationResponseDataMetadata.js +66 -0
  33. package/dist/models/PatchBrandKitRequest.d.ts +7 -0
  34. package/dist/models/PatchBrandKitRequest.js +3 -0
  35. package/dist/models/WidgetClarification.d.ts +45 -0
  36. package/dist/models/WidgetClarification.js +59 -0
  37. package/dist/models/WidgetClarificationOption.d.ts +44 -0
  38. package/dist/models/WidgetClarificationOption.js +58 -0
  39. package/dist/models/WidgetClarificationQuestion.d.ts +57 -0
  40. package/dist/models/WidgetClarificationQuestion.js +67 -0
  41. package/dist/models/WidgetNextStep.d.ts +63 -0
  42. package/dist/models/WidgetNextStep.js +75 -0
  43. package/dist/models/WidgetPlan.d.ts +58 -0
  44. package/dist/models/WidgetPlan.js +68 -0
  45. package/dist/models/WidgetPlanDecisions.d.ts +77 -0
  46. package/dist/models/WidgetPlanDecisions.js +79 -0
  47. package/dist/models/WidgetPlanDecisionsAdaptersInner.d.ts +38 -0
  48. package/dist/models/WidgetPlanDecisionsAdaptersInner.js +54 -0
  49. package/dist/models/WidgetPlanDecisionsLibrariesInner.d.ts +44 -0
  50. package/dist/models/WidgetPlanDecisionsLibrariesInner.js +58 -0
  51. package/dist/models/WidgetPlanDecisionsResponsive.d.ts +44 -0
  52. package/dist/models/WidgetPlanDecisionsResponsive.js +58 -0
  53. package/dist/models/WidgetPlanTask.d.ts +77 -0
  54. package/dist/models/WidgetPlanTask.js +88 -0
  55. package/dist/models/index.d.ts +12 -0
  56. package/dist/models/index.js +12 -0
  57. package/dist/runtime.d.ts +2 -2
  58. package/dist/runtime.js +1 -1
  59. 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
+ }
@@ -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';
@@ -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.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.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.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.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",