@widgetic/api-sdk-ts 1.11.109 → 1.11.111

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 (64) hide show
  1. package/dist/apis/BrandKitApi.d.ts +130 -0
  2. package/dist/apis/BrandKitApi.js +381 -0
  3. package/dist/apis/PartnerApi.d.ts +113 -1
  4. package/dist/apis/PartnerApi.js +325 -1
  5. package/dist/apis/index.d.ts +1 -0
  6. package/dist/apis/index.js +1 -0
  7. package/dist/esm/apis/BrandKitApi.js +344 -0
  8. package/dist/esm/apis/PartnerApi.js +325 -1
  9. package/dist/esm/apis/index.js +1 -0
  10. package/dist/esm/models/BrandColor.js +64 -0
  11. package/dist/esm/models/BrandFont.js +72 -0
  12. package/dist/esm/models/BrandKitAssetView.js +96 -0
  13. package/dist/esm/models/BrandKitFigmaSource.js +59 -0
  14. package/dist/esm/models/BrandKitTokens.js +56 -0
  15. package/dist/esm/models/BrandKitTokensFonts.js +48 -0
  16. package/dist/esm/models/BrandKitView.js +75 -0
  17. package/dist/esm/models/BrandKitViewOwner.js +54 -0
  18. package/dist/esm/models/BrandKitViewResponse.js +51 -0
  19. package/dist/esm/models/BrandSpacing.js +71 -0
  20. package/dist/esm/models/PatchBrandKitAssetRequest.js +68 -0
  21. package/dist/esm/models/PatchBrandKitRequest.js +54 -0
  22. package/dist/esm/models/PatchBrandKitRequestFonts.js +48 -0
  23. package/dist/esm/models/PatchBrandKitRequestSpacing.js +55 -0
  24. package/dist/esm/models/PostBrandKitIconRequest.js +47 -0
  25. package/dist/esm/models/PutBrandKitRequest.js +49 -0
  26. package/dist/esm/models/index.js +16 -0
  27. package/dist/esm/runtime.js +1 -1
  28. package/dist/models/BrandColor.d.ts +60 -0
  29. package/dist/models/BrandColor.js +72 -0
  30. package/dist/models/BrandFont.d.ts +73 -0
  31. package/dist/models/BrandFont.js +80 -0
  32. package/dist/models/BrandKitAssetView.d.ts +130 -0
  33. package/dist/models/BrandKitAssetView.js +104 -0
  34. package/dist/models/BrandKitFigmaSource.d.ts +56 -0
  35. package/dist/models/BrandKitFigmaSource.js +66 -0
  36. package/dist/models/BrandKitTokens.d.ts +53 -0
  37. package/dist/models/BrandKitTokens.js +63 -0
  38. package/dist/models/BrandKitTokensFonts.d.ts +51 -0
  39. package/dist/models/BrandKitTokensFonts.js +55 -0
  40. package/dist/models/BrandKitView.d.ts +90 -0
  41. package/dist/models/BrandKitView.js +82 -0
  42. package/dist/models/BrandKitViewOwner.d.ts +46 -0
  43. package/dist/models/BrandKitViewOwner.js +62 -0
  44. package/dist/models/BrandKitViewResponse.d.ts +46 -0
  45. package/dist/models/BrandKitViewResponse.js +58 -0
  46. package/dist/models/BrandSpacing.d.ts +74 -0
  47. package/dist/models/BrandSpacing.js +78 -0
  48. package/dist/models/PatchBrandKitAssetRequest.d.ts +73 -0
  49. package/dist/models/PatchBrandKitAssetRequest.js +76 -0
  50. package/dist/models/PatchBrandKitRequest.d.ts +65 -0
  51. package/dist/models/PatchBrandKitRequest.js +61 -0
  52. package/dist/models/PatchBrandKitRequestFonts.d.ts +51 -0
  53. package/dist/models/PatchBrandKitRequestFonts.js +55 -0
  54. package/dist/models/PatchBrandKitRequestSpacing.d.ts +74 -0
  55. package/dist/models/PatchBrandKitRequestSpacing.js +62 -0
  56. package/dist/models/PostBrandKitIconRequest.d.ts +38 -0
  57. package/dist/models/PostBrandKitIconRequest.js +54 -0
  58. package/dist/models/PutBrandKitRequest.d.ts +46 -0
  59. package/dist/models/PutBrandKitRequest.js +56 -0
  60. package/dist/models/index.d.ts +16 -0
  61. package/dist/models/index.js +16 -0
  62. package/dist/runtime.d.ts +2 -2
  63. package/dist/runtime.js +1 -1
  64. package/package.json +1 -1
@@ -0,0 +1,62 @@
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.instanceOfPatchBrandKitRequestSpacing = instanceOfPatchBrandKitRequestSpacing;
17
+ exports.PatchBrandKitRequestSpacingFromJSON = PatchBrandKitRequestSpacingFromJSON;
18
+ exports.PatchBrandKitRequestSpacingFromJSONTyped = PatchBrandKitRequestSpacingFromJSONTyped;
19
+ exports.PatchBrandKitRequestSpacingToJSON = PatchBrandKitRequestSpacingToJSON;
20
+ exports.PatchBrandKitRequestSpacingToJSONTyped = PatchBrandKitRequestSpacingToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the PatchBrandKitRequestSpacing interface.
23
+ */
24
+ function instanceOfPatchBrandKitRequestSpacing(value) {
25
+ return true;
26
+ }
27
+ function PatchBrandKitRequestSpacingFromJSON(json) {
28
+ return PatchBrandKitRequestSpacingFromJSONTyped(json, false);
29
+ }
30
+ function PatchBrandKitRequestSpacingFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'xs': json['xs'] == null ? undefined : json['xs'],
36
+ 's': json['s'] == null ? undefined : json['s'],
37
+ 'm': json['m'] == null ? undefined : json['m'],
38
+ 'l': json['l'] == null ? undefined : json['l'],
39
+ 'xl': json['xl'] == null ? undefined : json['xl'],
40
+ 'radiusS': json['radiusS'] == null ? undefined : json['radiusS'],
41
+ 'radiusM': json['radiusM'] == null ? undefined : json['radiusM'],
42
+ 'radiusL': json['radiusL'] == null ? undefined : json['radiusL'],
43
+ };
44
+ }
45
+ function PatchBrandKitRequestSpacingToJSON(json) {
46
+ return PatchBrandKitRequestSpacingToJSONTyped(json, false);
47
+ }
48
+ function PatchBrandKitRequestSpacingToJSONTyped(value, ignoreDiscriminator = false) {
49
+ if (value == null) {
50
+ return value;
51
+ }
52
+ return {
53
+ 'xs': value['xs'],
54
+ 's': value['s'],
55
+ 'm': value['m'],
56
+ 'l': value['l'],
57
+ 'xl': value['xl'],
58
+ 'radiusS': value['radiusS'],
59
+ 'radiusM': value['radiusM'],
60
+ 'radiusL': value['radiusL'],
61
+ };
62
+ }
@@ -0,0 +1,38 @@
1
+ /**
2
+ * Widgetic API Gateway
3
+ * API documentation for the Widgetic API Gateway
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface PostBrandKitIconRequest
16
+ */
17
+ export interface PostBrandKitIconRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof PostBrandKitIconRequest
22
+ */
23
+ name: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof PostBrandKitIconRequest
28
+ */
29
+ svg: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the PostBrandKitIconRequest interface.
33
+ */
34
+ export declare function instanceOfPostBrandKitIconRequest(value: object): value is PostBrandKitIconRequest;
35
+ export declare function PostBrandKitIconRequestFromJSON(json: any): PostBrandKitIconRequest;
36
+ export declare function PostBrandKitIconRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PostBrandKitIconRequest;
37
+ export declare function PostBrandKitIconRequestToJSON(json: any): PostBrandKitIconRequest;
38
+ export declare function PostBrandKitIconRequestToJSONTyped(value?: PostBrandKitIconRequest | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,54 @@
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.instanceOfPostBrandKitIconRequest = instanceOfPostBrandKitIconRequest;
17
+ exports.PostBrandKitIconRequestFromJSON = PostBrandKitIconRequestFromJSON;
18
+ exports.PostBrandKitIconRequestFromJSONTyped = PostBrandKitIconRequestFromJSONTyped;
19
+ exports.PostBrandKitIconRequestToJSON = PostBrandKitIconRequestToJSON;
20
+ exports.PostBrandKitIconRequestToJSONTyped = PostBrandKitIconRequestToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the PostBrandKitIconRequest interface.
23
+ */
24
+ function instanceOfPostBrandKitIconRequest(value) {
25
+ if (!('name' in value) || value['name'] === undefined)
26
+ return false;
27
+ if (!('svg' in value) || value['svg'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function PostBrandKitIconRequestFromJSON(json) {
32
+ return PostBrandKitIconRequestFromJSONTyped(json, false);
33
+ }
34
+ function PostBrandKitIconRequestFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'name': json['name'],
40
+ 'svg': json['svg'],
41
+ };
42
+ }
43
+ function PostBrandKitIconRequestToJSON(json) {
44
+ return PostBrandKitIconRequestToJSONTyped(json, false);
45
+ }
46
+ function PostBrandKitIconRequestToJSONTyped(value, ignoreDiscriminator = false) {
47
+ if (value == null) {
48
+ return value;
49
+ }
50
+ return {
51
+ 'name': value['name'],
52
+ 'svg': value['svg'],
53
+ };
54
+ }
@@ -0,0 +1,46 @@
1
+ /**
2
+ * Widgetic API Gateway
3
+ * API documentation for the Widgetic API Gateway
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { BrandKitTokens } from './BrandKitTokens';
13
+ import type { BrandKitFigmaSource } from './BrandKitFigmaSource';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface PutBrandKitRequest
18
+ */
19
+ export interface PutBrandKitRequest {
20
+ /**
21
+ *
22
+ * @type {BrandKitTokens}
23
+ * @memberof PutBrandKitRequest
24
+ */
25
+ tokens: BrandKitTokens;
26
+ /**
27
+ *
28
+ * @type {BrandKitFigmaSource}
29
+ * @memberof PutBrandKitRequest
30
+ */
31
+ figmaSource?: BrandKitFigmaSource;
32
+ /**
33
+ *
34
+ * @type {number}
35
+ * @memberof PutBrandKitRequest
36
+ */
37
+ expectedVersion?: number;
38
+ }
39
+ /**
40
+ * Check if a given object implements the PutBrandKitRequest interface.
41
+ */
42
+ export declare function instanceOfPutBrandKitRequest(value: object): value is PutBrandKitRequest;
43
+ export declare function PutBrandKitRequestFromJSON(json: any): PutBrandKitRequest;
44
+ export declare function PutBrandKitRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PutBrandKitRequest;
45
+ export declare function PutBrandKitRequestToJSON(json: any): PutBrandKitRequest;
46
+ export declare function PutBrandKitRequestToJSONTyped(value?: PutBrandKitRequest | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,56 @@
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.instanceOfPutBrandKitRequest = instanceOfPutBrandKitRequest;
17
+ exports.PutBrandKitRequestFromJSON = PutBrandKitRequestFromJSON;
18
+ exports.PutBrandKitRequestFromJSONTyped = PutBrandKitRequestFromJSONTyped;
19
+ exports.PutBrandKitRequestToJSON = PutBrandKitRequestToJSON;
20
+ exports.PutBrandKitRequestToJSONTyped = PutBrandKitRequestToJSONTyped;
21
+ const BrandKitTokens_1 = require("./BrandKitTokens");
22
+ const BrandKitFigmaSource_1 = require("./BrandKitFigmaSource");
23
+ /**
24
+ * Check if a given object implements the PutBrandKitRequest interface.
25
+ */
26
+ function instanceOfPutBrandKitRequest(value) {
27
+ if (!('tokens' in value) || value['tokens'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function PutBrandKitRequestFromJSON(json) {
32
+ return PutBrandKitRequestFromJSONTyped(json, false);
33
+ }
34
+ function PutBrandKitRequestFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'tokens': (0, BrandKitTokens_1.BrandKitTokensFromJSON)(json['tokens']),
40
+ 'figmaSource': json['figmaSource'] == null ? undefined : (0, BrandKitFigmaSource_1.BrandKitFigmaSourceFromJSON)(json['figmaSource']),
41
+ 'expectedVersion': json['expectedVersion'] == null ? undefined : json['expectedVersion'],
42
+ };
43
+ }
44
+ function PutBrandKitRequestToJSON(json) {
45
+ return PutBrandKitRequestToJSONTyped(json, false);
46
+ }
47
+ function PutBrandKitRequestToJSONTyped(value, ignoreDiscriminator = false) {
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'tokens': (0, BrandKitTokens_1.BrandKitTokensToJSON)(value['tokens']),
53
+ 'figmaSource': (0, BrandKitFigmaSource_1.BrandKitFigmaSourceToJSON)(value['figmaSource']),
54
+ 'expectedVersion': value['expectedVersion'],
55
+ };
56
+ }
@@ -11,6 +11,16 @@ export * from './AiAnswersKnowledgeDocument';
11
11
  export * from './AiAnswersKnowledgeRemoval';
12
12
  export * from './AiAnswersKnowledgeTotals';
13
13
  export * from './ApiKeyScope';
14
+ export * from './BrandColor';
15
+ export * from './BrandFont';
16
+ export * from './BrandKitAssetView';
17
+ export * from './BrandKitFigmaSource';
18
+ export * from './BrandKitTokens';
19
+ export * from './BrandKitTokensFonts';
20
+ export * from './BrandKitView';
21
+ export * from './BrandKitViewOwner';
22
+ export * from './BrandKitViewResponse';
23
+ export * from './BrandSpacing';
14
24
  export * from './Canvas';
15
25
  export * from './CanvasResponse';
16
26
  export * from './CheckCompositionAccessResponse';
@@ -224,9 +234,14 @@ export * from './PartnerStorageUsage';
224
234
  export * from './PartnerStorageUsageOfManagedUser';
225
235
  export * from './PartnerStorageUsageResponse';
226
236
  export * from './PartnerStorageUsageTotals';
237
+ export * from './PatchBrandKitAssetRequest';
238
+ export * from './PatchBrandKitRequest';
239
+ export * from './PatchBrandKitRequestFonts';
240
+ export * from './PatchBrandKitRequestSpacing';
227
241
  export * from './PersonalWorkspaceDomain';
228
242
  export * from './PersonalWorkspaceDomainResult';
229
243
  export * from './PersonalWorkspaceDomainResultResponse';
244
+ export * from './PostBrandKitIconRequest';
230
245
  export * from './PostPublicCompositionEmbedStatus200Response';
231
246
  export * from './PostPublicCompositionEmbedStatus200ResponseData';
232
247
  export * from './PostPublicCompositionEmbedStatusRequest';
@@ -252,6 +267,7 @@ export * from './PublicWorkflowTranslation';
252
267
  export * from './PublishWorkspaceWorkflow200Response';
253
268
  export * from './PublishWorkspaceWorkflowRequest';
254
269
  export * from './PurposeStorageBucket';
270
+ export * from './PutBrandKitRequest';
255
271
  export * from './RemoveAiAnswersKnowledgeDocument200Response';
256
272
  export * from './RemovePartnerWorkflowPreset200Response';
257
273
  export * from './RemoveUserAdapterConnection200Response';
@@ -29,6 +29,16 @@ __exportStar(require("./AiAnswersKnowledgeDocument"), exports);
29
29
  __exportStar(require("./AiAnswersKnowledgeRemoval"), exports);
30
30
  __exportStar(require("./AiAnswersKnowledgeTotals"), exports);
31
31
  __exportStar(require("./ApiKeyScope"), exports);
32
+ __exportStar(require("./BrandColor"), exports);
33
+ __exportStar(require("./BrandFont"), exports);
34
+ __exportStar(require("./BrandKitAssetView"), exports);
35
+ __exportStar(require("./BrandKitFigmaSource"), exports);
36
+ __exportStar(require("./BrandKitTokens"), exports);
37
+ __exportStar(require("./BrandKitTokensFonts"), exports);
38
+ __exportStar(require("./BrandKitView"), exports);
39
+ __exportStar(require("./BrandKitViewOwner"), exports);
40
+ __exportStar(require("./BrandKitViewResponse"), exports);
41
+ __exportStar(require("./BrandSpacing"), exports);
32
42
  __exportStar(require("./Canvas"), exports);
33
43
  __exportStar(require("./CanvasResponse"), exports);
34
44
  __exportStar(require("./CheckCompositionAccessResponse"), exports);
@@ -242,9 +252,14 @@ __exportStar(require("./PartnerStorageUsage"), exports);
242
252
  __exportStar(require("./PartnerStorageUsageOfManagedUser"), exports);
243
253
  __exportStar(require("./PartnerStorageUsageResponse"), exports);
244
254
  __exportStar(require("./PartnerStorageUsageTotals"), exports);
255
+ __exportStar(require("./PatchBrandKitAssetRequest"), exports);
256
+ __exportStar(require("./PatchBrandKitRequest"), exports);
257
+ __exportStar(require("./PatchBrandKitRequestFonts"), exports);
258
+ __exportStar(require("./PatchBrandKitRequestSpacing"), exports);
245
259
  __exportStar(require("./PersonalWorkspaceDomain"), exports);
246
260
  __exportStar(require("./PersonalWorkspaceDomainResult"), exports);
247
261
  __exportStar(require("./PersonalWorkspaceDomainResultResponse"), exports);
262
+ __exportStar(require("./PostBrandKitIconRequest"), exports);
248
263
  __exportStar(require("./PostPublicCompositionEmbedStatus200Response"), exports);
249
264
  __exportStar(require("./PostPublicCompositionEmbedStatus200ResponseData"), exports);
250
265
  __exportStar(require("./PostPublicCompositionEmbedStatusRequest"), exports);
@@ -270,6 +285,7 @@ __exportStar(require("./PublicWorkflowTranslation"), exports);
270
285
  __exportStar(require("./PublishWorkspaceWorkflow200Response"), exports);
271
286
  __exportStar(require("./PublishWorkspaceWorkflowRequest"), exports);
272
287
  __exportStar(require("./PurposeStorageBucket"), exports);
288
+ __exportStar(require("./PutBrandKitRequest"), exports);
273
289
  __exportStar(require("./RemoveAiAnswersKnowledgeDocument200Response"), exports);
274
290
  __exportStar(require("./RemovePartnerWorkflowPreset200Response"), exports);
275
291
  __exportStar(require("./RemoveUserAdapterConnection200Response"), 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 = "1.11.109";
27
+ export declare const SDK_VERSION = "1.11.111";
28
28
  export declare const SDK_VERSION_HEADER = "X-SDK-Version";
29
- export declare const SDK_VERSION_HEADER_VALUE = "@widgetic/api-sdk-ts/1.11.109";
29
+ export declare const SDK_VERSION_HEADER_VALUE = "@widgetic/api-sdk-ts/1.11.111";
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 = "1.11.109";
41
+ exports.SDK_VERSION = "1.11.111";
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": "1.11.109",
3
+ "version": "1.11.111",
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",