@widgetic/api-sdk-ts 1.11.109 → 2.0.0

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 (196) hide show
  1. package/README.md +1 -1
  2. package/dist/apis/BrandKitApi.d.ts +130 -0
  3. package/dist/apis/BrandKitApi.js +381 -0
  4. package/dist/apis/CanvasesApi.d.ts +15 -15
  5. package/dist/apis/CompositionsApi.d.ts +255 -155
  6. package/dist/apis/CompositionsApi.js +333 -133
  7. package/dist/apis/CreditsApi.d.ts +7 -7
  8. package/dist/apis/CreditsApi.js +1 -1
  9. package/dist/apis/EntitlementsApi.d.ts +6 -6
  10. package/dist/apis/InvoicesApi.d.ts +6 -6
  11. package/dist/apis/InvoicesApi.js +2 -2
  12. package/dist/apis/ManagedUsersApi.d.ts +97 -63
  13. package/dist/apis/ManagedUsersApi.js +106 -39
  14. package/dist/apis/OperationsApi.d.ts +4 -4
  15. package/dist/apis/OperationsApi.js +5 -5
  16. package/dist/apis/PartnersApi.d.ts +125 -125
  17. package/dist/apis/PartnersApi.js +11 -11
  18. package/dist/apis/PublicEmbedApi.d.ts +42 -42
  19. package/dist/apis/PublicEmbedApi.js +29 -29
  20. package/dist/apis/UploadsApi.d.ts +38 -38
  21. package/dist/apis/UploadsApi.js +60 -60
  22. package/dist/apis/UsersApi.d.ts +40 -40
  23. package/dist/apis/UsersApi.js +4 -4
  24. package/dist/apis/WidgetsApi.d.ts +23 -23
  25. package/dist/apis/WidgetsApi.js +36 -36
  26. package/dist/apis/WorkflowsApi.d.ts +85 -127
  27. package/dist/apis/WorkflowsApi.js +82 -192
  28. package/dist/apis/index.d.ts +1 -2
  29. package/dist/apis/index.js +1 -2
  30. package/dist/esm/apis/BrandKitApi.js +344 -0
  31. package/dist/esm/apis/CompositionsApi.js +333 -133
  32. package/dist/esm/apis/CreditsApi.js +2 -2
  33. package/dist/esm/apis/InvoicesApi.js +1 -1
  34. package/dist/esm/apis/ManagedUsersApi.js +106 -39
  35. package/dist/esm/apis/OperationsApi.js +6 -6
  36. package/dist/esm/apis/PartnersApi.js +12 -12
  37. package/dist/esm/apis/PublicEmbedApi.js +30 -30
  38. package/dist/esm/apis/UploadsApi.js +60 -60
  39. package/dist/esm/apis/UsersApi.js +5 -5
  40. package/dist/esm/apis/WidgetsApi.js +37 -37
  41. package/dist/esm/apis/WorkflowsApi.js +82 -192
  42. package/dist/esm/apis/index.js +1 -2
  43. package/dist/esm/models/{GetPartnerCreditTransactions200Response.js → AccountCreditTransactionListResponse.js} +8 -8
  44. package/dist/esm/models/{GetUserAdapterConnections200Response.js → AdapterConnectionListResponse.js} +8 -8
  45. package/dist/esm/models/{RemoveUserAdapterConnection200Response.js → AdapterConnectionRemovalResponse.js} +8 -8
  46. package/dist/esm/models/{SetUserAdapterConnection200Response.js → AdapterConnectionResponse.js} +8 -8
  47. package/dist/esm/models/{AddAiAnswersKnowledgeDocument201Response.js → AiAnswersKnowledgeDocumentResponse.js} +8 -8
  48. package/dist/esm/models/BrandColor.js +64 -0
  49. package/dist/esm/models/BrandFont.js +72 -0
  50. package/dist/esm/models/BrandKitAssetView.js +96 -0
  51. package/dist/esm/models/BrandKitFigmaSource.js +59 -0
  52. package/dist/esm/models/BrandKitTokens.js +56 -0
  53. package/dist/esm/models/BrandKitTokensFonts.js +48 -0
  54. package/dist/esm/models/BrandKitView.js +75 -0
  55. package/dist/esm/models/BrandKitViewOwner.js +54 -0
  56. package/dist/esm/models/BrandKitViewResponse.js +51 -0
  57. package/dist/esm/models/BrandSpacing.js +71 -0
  58. package/dist/esm/models/{CreateCompositionDatabaseRecord201Response.js → CompositionDatabaseRecordResponse.js} +8 -8
  59. package/dist/esm/models/{CreateCompositionContentItem201Response.js → ContentItemWriteResultResponse.js} +8 -8
  60. package/dist/esm/models/{OperationsIdGetResponse.js → DeleteUpload200Response.js} +11 -11
  61. package/dist/esm/models/{UploadsIdDelete200ResponseData.js → DeleteUpload200ResponseData.js} +8 -8
  62. package/dist/esm/models/{GetPartnerDesignDefaults200Response.js → DesignDefaultsResponse.js} +8 -8
  63. package/dist/esm/models/GetOperationResponse.js +51 -0
  64. package/dist/esm/models/{OperationsIdGetResponseData.js → GetOperationResponseData.js} +9 -9
  65. package/dist/esm/models/{UploadsGet200Response.js → ListUploads200Response.js} +8 -8
  66. package/dist/esm/models/{GetManagedUserLimits200Response.js → ManagedUserLimitsResponse.js} +8 -8
  67. package/dist/esm/models/{DeleteManagedUser200Response.js → ManagedUserRemovalResponse.js} +8 -8
  68. package/dist/esm/models/PatchBrandKitAssetRequest.js +68 -0
  69. package/dist/esm/models/PatchBrandKitRequest.js +54 -0
  70. package/dist/esm/models/PatchBrandKitRequestFonts.js +48 -0
  71. package/dist/esm/models/PatchBrandKitRequestSpacing.js +55 -0
  72. package/dist/esm/models/PostBrandKitIconRequest.js +47 -0
  73. package/dist/esm/models/PublicWorkflowEventsRequestEventsInner.js +11 -0
  74. package/dist/esm/models/{GetPublicWorkflow200Response.js → PublicWorkflowResponse.js} +8 -8
  75. package/dist/esm/models/PutBrandKitRequest.js +49 -0
  76. package/dist/esm/models/{CreateWorkspaceWorkflowFromPreset201Response.js → WorkflowDetailResponse.js} +8 -8
  77. package/dist/esm/models/WorkflowFailureReason.js +49 -0
  78. package/dist/esm/models/WorkflowFailureReasonCounter.js +52 -0
  79. package/dist/esm/models/{SaveWorkspaceWorkflow200Response.js → WorkflowResponse.js} +8 -8
  80. package/dist/esm/models/WorkflowStats.js +3 -0
  81. package/dist/esm/models/index.js +36 -19
  82. package/dist/esm/runtime.js +1 -1
  83. package/dist/models/AccountCreditTransactionListResponse.d.ts +46 -0
  84. package/dist/models/{GetPartnerCreditTransactions200Response.js → AccountCreditTransactionListResponse.js} +13 -13
  85. package/dist/models/AdapterConnectionListResponse.d.ts +46 -0
  86. package/dist/models/{GetUserAdapterConnections200Response.js → AdapterConnectionListResponse.js} +13 -13
  87. package/dist/models/AdapterConnectionRemovalResponse.d.ts +46 -0
  88. package/dist/models/{RemoveUserAdapterConnection200Response.js → AdapterConnectionRemovalResponse.js} +13 -13
  89. package/dist/models/AdapterConnectionResponse.d.ts +46 -0
  90. package/dist/models/{SetUserAdapterConnection200Response.js → AdapterConnectionResponse.js} +13 -13
  91. package/dist/models/AiAnswersKnowledgeDocumentResponse.d.ts +46 -0
  92. package/dist/models/{AddAiAnswersKnowledgeDocument201Response.js → AiAnswersKnowledgeDocumentResponse.js} +13 -13
  93. package/dist/models/BrandColor.d.ts +60 -0
  94. package/dist/models/BrandColor.js +72 -0
  95. package/dist/models/BrandFont.d.ts +73 -0
  96. package/dist/models/BrandFont.js +80 -0
  97. package/dist/models/BrandKitAssetView.d.ts +130 -0
  98. package/dist/models/BrandKitAssetView.js +104 -0
  99. package/dist/models/BrandKitFigmaSource.d.ts +56 -0
  100. package/dist/models/BrandKitFigmaSource.js +66 -0
  101. package/dist/models/BrandKitTokens.d.ts +53 -0
  102. package/dist/models/BrandKitTokens.js +63 -0
  103. package/dist/models/BrandKitTokensFonts.d.ts +51 -0
  104. package/dist/models/BrandKitTokensFonts.js +55 -0
  105. package/dist/models/BrandKitView.d.ts +90 -0
  106. package/dist/models/BrandKitView.js +82 -0
  107. package/dist/models/BrandKitViewOwner.d.ts +46 -0
  108. package/dist/models/BrandKitViewOwner.js +62 -0
  109. package/dist/models/BrandKitViewResponse.d.ts +46 -0
  110. package/dist/models/BrandKitViewResponse.js +58 -0
  111. package/dist/models/BrandSpacing.d.ts +74 -0
  112. package/dist/models/BrandSpacing.js +78 -0
  113. package/dist/models/CompositionDatabaseRecordResponse.d.ts +48 -0
  114. package/dist/models/CompositionDatabaseRecordResponse.js +57 -0
  115. package/dist/models/ContentItemWriteResultResponse.d.ts +46 -0
  116. package/dist/models/{CreateCompositionContentItem201Response.js → ContentItemWriteResultResponse.js} +13 -13
  117. package/dist/models/DeleteUpload200Response.d.ts +46 -0
  118. package/dist/models/{OperationsIdGetResponse.js → DeleteUpload200Response.js} +16 -16
  119. package/dist/models/DeleteUpload200ResponseData.d.ts +32 -0
  120. package/dist/models/DeleteUpload200ResponseData.js +48 -0
  121. package/dist/models/DesignDefaultsResponse.d.ts +46 -0
  122. package/dist/models/{GetPartnerDesignDefaults200Response.js → DesignDefaultsResponse.js} +13 -13
  123. package/dist/models/GetOperationResponse.d.ts +46 -0
  124. package/dist/models/GetOperationResponse.js +58 -0
  125. package/dist/models/{OperationsIdGetResponseData.d.ts → GetOperationResponseData.d.ts} +19 -19
  126. package/dist/models/{OperationsIdGetResponseData.js → GetOperationResponseData.js} +15 -15
  127. package/dist/models/ListUploads200Response.d.ts +46 -0
  128. package/dist/models/{UploadsGet200Response.js → ListUploads200Response.js} +13 -13
  129. package/dist/models/ManagedUserLimitsResponse.d.ts +46 -0
  130. package/dist/models/{GetManagedUserLimits200Response.js → ManagedUserLimitsResponse.js} +13 -13
  131. package/dist/models/ManagedUserRemovalResponse.d.ts +46 -0
  132. package/dist/models/{DeleteManagedUser200Response.js → ManagedUserRemovalResponse.js} +13 -13
  133. package/dist/models/PatchBrandKitAssetRequest.d.ts +73 -0
  134. package/dist/models/PatchBrandKitAssetRequest.js +76 -0
  135. package/dist/models/PatchBrandKitRequest.d.ts +65 -0
  136. package/dist/models/PatchBrandKitRequest.js +61 -0
  137. package/dist/models/PatchBrandKitRequestFonts.d.ts +51 -0
  138. package/dist/models/PatchBrandKitRequestFonts.js +55 -0
  139. package/dist/models/PatchBrandKitRequestSpacing.d.ts +74 -0
  140. package/dist/models/PatchBrandKitRequestSpacing.js +62 -0
  141. package/dist/models/PostBrandKitIconRequest.d.ts +38 -0
  142. package/dist/models/PostBrandKitIconRequest.js +54 -0
  143. package/dist/models/PublicWorkflowEventsRequestEventsInner.d.ts +21 -0
  144. package/dist/models/PublicWorkflowEventsRequestEventsInner.js +12 -1
  145. package/dist/models/PublicWorkflowResponse.d.ts +46 -0
  146. package/dist/models/{GetPublicWorkflow200Response.js → PublicWorkflowResponse.js} +13 -13
  147. package/dist/models/PutBrandKitRequest.d.ts +46 -0
  148. package/dist/models/PutBrandKitRequest.js +56 -0
  149. package/dist/models/Upload.d.ts +1 -1
  150. package/dist/models/UploadLimits.d.ts +3 -3
  151. package/dist/models/WorkflowDetailResponse.d.ts +46 -0
  152. package/dist/models/WorkflowDetailResponse.js +58 -0
  153. package/dist/models/WorkflowFailureReason.d.ts +31 -0
  154. package/dist/models/WorkflowFailureReason.js +57 -0
  155. package/dist/models/WorkflowFailureReasonCounter.d.ts +45 -0
  156. package/dist/models/WorkflowFailureReasonCounter.js +59 -0
  157. package/dist/models/WorkflowResponse.d.ts +46 -0
  158. package/dist/models/{SaveWorkspaceWorkflow200Response.js → WorkflowResponse.js} +13 -13
  159. package/dist/models/WorkflowStats.d.ts +16 -1
  160. package/dist/models/WorkflowStats.js +3 -0
  161. package/dist/models/index.d.ts +36 -19
  162. package/dist/models/index.js +36 -19
  163. package/dist/runtime.d.ts +2 -2
  164. package/dist/runtime.js +1 -1
  165. package/package.json +1 -1
  166. package/dist/apis/PartnerApi.d.ts +0 -2595
  167. package/dist/apis/PartnerApi.js +0 -6749
  168. package/dist/apis/WorkspacesApi.d.ts +0 -352
  169. package/dist/apis/WorkspacesApi.js +0 -946
  170. package/dist/esm/apis/PartnerApi.js +0 -6712
  171. package/dist/esm/apis/WorkspacesApi.js +0 -909
  172. package/dist/esm/models/CreateCompositionFromWidget201Response.js +0 -51
  173. package/dist/esm/models/UploadsIdDelete200Response.js +0 -51
  174. package/dist/models/AddAiAnswersKnowledgeDocument201Response.d.ts +0 -46
  175. package/dist/models/CreateCompositionContentItem201Response.d.ts +0 -46
  176. package/dist/models/CreateCompositionDatabaseRecord201Response.d.ts +0 -48
  177. package/dist/models/CreateCompositionDatabaseRecord201Response.js +0 -57
  178. package/dist/models/CreateCompositionFromWidget201Response.d.ts +0 -46
  179. package/dist/models/CreateCompositionFromWidget201Response.js +0 -58
  180. package/dist/models/CreateWorkspaceWorkflowFromPreset201Response.d.ts +0 -46
  181. package/dist/models/CreateWorkspaceWorkflowFromPreset201Response.js +0 -58
  182. package/dist/models/DeleteManagedUser200Response.d.ts +0 -46
  183. package/dist/models/GetManagedUserLimits200Response.d.ts +0 -46
  184. package/dist/models/GetPartnerCreditTransactions200Response.d.ts +0 -46
  185. package/dist/models/GetPartnerDesignDefaults200Response.d.ts +0 -46
  186. package/dist/models/GetPublicWorkflow200Response.d.ts +0 -46
  187. package/dist/models/GetUserAdapterConnections200Response.d.ts +0 -46
  188. package/dist/models/OperationsIdGetResponse.d.ts +0 -46
  189. package/dist/models/RemoveUserAdapterConnection200Response.d.ts +0 -46
  190. package/dist/models/SaveWorkspaceWorkflow200Response.d.ts +0 -46
  191. package/dist/models/SetUserAdapterConnection200Response.d.ts +0 -46
  192. package/dist/models/UploadsGet200Response.d.ts +0 -46
  193. package/dist/models/UploadsIdDelete200Response.d.ts +0 -46
  194. package/dist/models/UploadsIdDelete200Response.js +0 -58
  195. package/dist/models/UploadsIdDelete200ResponseData.d.ts +0 -32
  196. package/dist/models/UploadsIdDelete200ResponseData.js +0 -48
@@ -0,0 +1,76 @@
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.PatchBrandKitAssetRequestStyleEnum = exports.PatchBrandKitAssetRequestWeightEnum = void 0;
17
+ exports.instanceOfPatchBrandKitAssetRequest = instanceOfPatchBrandKitAssetRequest;
18
+ exports.PatchBrandKitAssetRequestFromJSON = PatchBrandKitAssetRequestFromJSON;
19
+ exports.PatchBrandKitAssetRequestFromJSONTyped = PatchBrandKitAssetRequestFromJSONTyped;
20
+ exports.PatchBrandKitAssetRequestToJSON = PatchBrandKitAssetRequestToJSON;
21
+ exports.PatchBrandKitAssetRequestToJSONTyped = PatchBrandKitAssetRequestToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.PatchBrandKitAssetRequestWeightEnum = {
26
+ NUMBER_100: 100,
27
+ NUMBER_200: 200,
28
+ NUMBER_300: 300,
29
+ NUMBER_400: 400,
30
+ NUMBER_500: 500,
31
+ NUMBER_600: 600,
32
+ NUMBER_700: 700,
33
+ NUMBER_800: 800,
34
+ NUMBER_900: 900
35
+ };
36
+ /**
37
+ * @export
38
+ */
39
+ exports.PatchBrandKitAssetRequestStyleEnum = {
40
+ Normal: 'normal',
41
+ Italic: 'italic'
42
+ };
43
+ /**
44
+ * Check if a given object implements the PatchBrandKitAssetRequest interface.
45
+ */
46
+ function instanceOfPatchBrandKitAssetRequest(value) {
47
+ return true;
48
+ }
49
+ function PatchBrandKitAssetRequestFromJSON(json) {
50
+ return PatchBrandKitAssetRequestFromJSONTyped(json, false);
51
+ }
52
+ function PatchBrandKitAssetRequestFromJSONTyped(json, ignoreDiscriminator) {
53
+ if (json == null) {
54
+ return json;
55
+ }
56
+ return {
57
+ 'name': json['name'] == null ? undefined : json['name'],
58
+ 'family': json['family'] == null ? undefined : json['family'],
59
+ 'weight': json['weight'] == null ? undefined : json['weight'],
60
+ 'style': json['style'] == null ? undefined : json['style'],
61
+ };
62
+ }
63
+ function PatchBrandKitAssetRequestToJSON(json) {
64
+ return PatchBrandKitAssetRequestToJSONTyped(json, false);
65
+ }
66
+ function PatchBrandKitAssetRequestToJSONTyped(value, ignoreDiscriminator = false) {
67
+ if (value == null) {
68
+ return value;
69
+ }
70
+ return {
71
+ 'name': value['name'],
72
+ 'family': value['family'],
73
+ 'weight': value['weight'],
74
+ 'style': value['style'],
75
+ };
76
+ }
@@ -0,0 +1,65 @@
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 { BrandColor } from './BrandColor';
13
+ import type { PatchBrandKitRequestFonts } from './PatchBrandKitRequestFonts';
14
+ import type { PatchBrandKitRequestSpacing } from './PatchBrandKitRequestSpacing';
15
+ /**
16
+ * Changes part of the kit and leaves the rest as it is. Only the keys that are sent change.
17
+ * @export
18
+ * @interface PatchBrandKitRequest
19
+ */
20
+ export interface PatchBrandKitRequest {
21
+ /**
22
+ * The whole list of colors (it replaces the saved list).
23
+ * @type {Array<BrandColor>}
24
+ * @memberof PatchBrandKitRequest
25
+ */
26
+ colors?: Array<BrandColor>;
27
+ /**
28
+ *
29
+ * @type {PatchBrandKitRequestFonts}
30
+ * @memberof PatchBrandKitRequest
31
+ */
32
+ fonts?: PatchBrandKitRequestFonts;
33
+ /**
34
+ *
35
+ * @type {PatchBrandKitRequestSpacing}
36
+ * @memberof PatchBrandKitRequest
37
+ */
38
+ spacing?: PatchBrandKitRequestSpacing;
39
+ /**
40
+ * One corner radius in pixels for the whole kit; the small, medium and large radii are made from it. 0 gives square corners. A radius step sent in `spacing` wins over the one made from this value.
41
+ * @type {number}
42
+ * @memberof PatchBrandKitRequest
43
+ */
44
+ cornerRadius?: number;
45
+ /**
46
+ * The kit owner's style notes (see `tokens.instructions`). An empty string removes them.
47
+ * @type {string}
48
+ * @memberof PatchBrandKitRequest
49
+ */
50
+ instructions?: string;
51
+ /**
52
+ * Refuse the change with a 409 when the kit was saved again since this version was read.
53
+ * @type {number}
54
+ * @memberof PatchBrandKitRequest
55
+ */
56
+ expectedVersion?: number;
57
+ }
58
+ /**
59
+ * Check if a given object implements the PatchBrandKitRequest interface.
60
+ */
61
+ export declare function instanceOfPatchBrandKitRequest(value: object): value is PatchBrandKitRequest;
62
+ export declare function PatchBrandKitRequestFromJSON(json: any): PatchBrandKitRequest;
63
+ export declare function PatchBrandKitRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchBrandKitRequest;
64
+ export declare function PatchBrandKitRequestToJSON(json: any): PatchBrandKitRequest;
65
+ export declare function PatchBrandKitRequestToJSONTyped(value?: PatchBrandKitRequest | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,61 @@
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.instanceOfPatchBrandKitRequest = instanceOfPatchBrandKitRequest;
17
+ exports.PatchBrandKitRequestFromJSON = PatchBrandKitRequestFromJSON;
18
+ exports.PatchBrandKitRequestFromJSONTyped = PatchBrandKitRequestFromJSONTyped;
19
+ exports.PatchBrandKitRequestToJSON = PatchBrandKitRequestToJSON;
20
+ exports.PatchBrandKitRequestToJSONTyped = PatchBrandKitRequestToJSONTyped;
21
+ const BrandColor_1 = require("./BrandColor");
22
+ const PatchBrandKitRequestFonts_1 = require("./PatchBrandKitRequestFonts");
23
+ const PatchBrandKitRequestSpacing_1 = require("./PatchBrandKitRequestSpacing");
24
+ /**
25
+ * Check if a given object implements the PatchBrandKitRequest interface.
26
+ */
27
+ function instanceOfPatchBrandKitRequest(value) {
28
+ return true;
29
+ }
30
+ function PatchBrandKitRequestFromJSON(json) {
31
+ return PatchBrandKitRequestFromJSONTyped(json, false);
32
+ }
33
+ function PatchBrandKitRequestFromJSONTyped(json, ignoreDiscriminator) {
34
+ if (json == null) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'colors': json['colors'] == null ? undefined : (json['colors'].map(BrandColor_1.BrandColorFromJSON)),
39
+ 'fonts': json['fonts'] == null ? undefined : (0, PatchBrandKitRequestFonts_1.PatchBrandKitRequestFontsFromJSON)(json['fonts']),
40
+ 'spacing': json['spacing'] == null ? undefined : (0, PatchBrandKitRequestSpacing_1.PatchBrandKitRequestSpacingFromJSON)(json['spacing']),
41
+ 'cornerRadius': json['cornerRadius'] == null ? undefined : json['cornerRadius'],
42
+ 'instructions': json['instructions'] == null ? undefined : json['instructions'],
43
+ 'expectedVersion': json['expectedVersion'] == null ? undefined : json['expectedVersion'],
44
+ };
45
+ }
46
+ function PatchBrandKitRequestToJSON(json) {
47
+ return PatchBrandKitRequestToJSONTyped(json, false);
48
+ }
49
+ function PatchBrandKitRequestToJSONTyped(value, ignoreDiscriminator = false) {
50
+ if (value == null) {
51
+ return value;
52
+ }
53
+ return {
54
+ 'colors': value['colors'] == null ? undefined : (value['colors'].map(BrandColor_1.BrandColorToJSON)),
55
+ 'fonts': (0, PatchBrandKitRequestFonts_1.PatchBrandKitRequestFontsToJSON)(value['fonts']),
56
+ 'spacing': (0, PatchBrandKitRequestSpacing_1.PatchBrandKitRequestSpacingToJSON)(value['spacing']),
57
+ 'cornerRadius': value['cornerRadius'],
58
+ 'instructions': value['instructions'],
59
+ 'expectedVersion': value['expectedVersion'],
60
+ };
61
+ }
@@ -0,0 +1,51 @@
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 { BrandFont } from './BrandFont';
13
+ /**
14
+ * The text roles to change; the roles that are left out keep their font.
15
+ * @export
16
+ * @interface PatchBrandKitRequestFonts
17
+ */
18
+ export interface PatchBrandKitRequestFonts {
19
+ /**
20
+ *
21
+ * @type {BrandFont}
22
+ * @memberof PatchBrandKitRequestFonts
23
+ */
24
+ title?: BrandFont;
25
+ /**
26
+ *
27
+ * @type {BrandFont}
28
+ * @memberof PatchBrandKitRequestFonts
29
+ */
30
+ subtitle?: BrandFont;
31
+ /**
32
+ *
33
+ * @type {BrandFont}
34
+ * @memberof PatchBrandKitRequestFonts
35
+ */
36
+ body?: BrandFont;
37
+ /**
38
+ *
39
+ * @type {BrandFont}
40
+ * @memberof PatchBrandKitRequestFonts
41
+ */
42
+ caption?: BrandFont;
43
+ }
44
+ /**
45
+ * Check if a given object implements the PatchBrandKitRequestFonts interface.
46
+ */
47
+ export declare function instanceOfPatchBrandKitRequestFonts(value: object): value is PatchBrandKitRequestFonts;
48
+ export declare function PatchBrandKitRequestFontsFromJSON(json: any): PatchBrandKitRequestFonts;
49
+ export declare function PatchBrandKitRequestFontsFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchBrandKitRequestFonts;
50
+ export declare function PatchBrandKitRequestFontsToJSON(json: any): PatchBrandKitRequestFonts;
51
+ export declare function PatchBrandKitRequestFontsToJSONTyped(value?: PatchBrandKitRequestFonts | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,55 @@
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.instanceOfPatchBrandKitRequestFonts = instanceOfPatchBrandKitRequestFonts;
17
+ exports.PatchBrandKitRequestFontsFromJSON = PatchBrandKitRequestFontsFromJSON;
18
+ exports.PatchBrandKitRequestFontsFromJSONTyped = PatchBrandKitRequestFontsFromJSONTyped;
19
+ exports.PatchBrandKitRequestFontsToJSON = PatchBrandKitRequestFontsToJSON;
20
+ exports.PatchBrandKitRequestFontsToJSONTyped = PatchBrandKitRequestFontsToJSONTyped;
21
+ const BrandFont_1 = require("./BrandFont");
22
+ /**
23
+ * Check if a given object implements the PatchBrandKitRequestFonts interface.
24
+ */
25
+ function instanceOfPatchBrandKitRequestFonts(value) {
26
+ return true;
27
+ }
28
+ function PatchBrandKitRequestFontsFromJSON(json) {
29
+ return PatchBrandKitRequestFontsFromJSONTyped(json, false);
30
+ }
31
+ function PatchBrandKitRequestFontsFromJSONTyped(json, ignoreDiscriminator) {
32
+ if (json == null) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'title': json['title'] == null ? undefined : (0, BrandFont_1.BrandFontFromJSON)(json['title']),
37
+ 'subtitle': json['subtitle'] == null ? undefined : (0, BrandFont_1.BrandFontFromJSON)(json['subtitle']),
38
+ 'body': json['body'] == null ? undefined : (0, BrandFont_1.BrandFontFromJSON)(json['body']),
39
+ 'caption': json['caption'] == null ? undefined : (0, BrandFont_1.BrandFontFromJSON)(json['caption']),
40
+ };
41
+ }
42
+ function PatchBrandKitRequestFontsToJSON(json) {
43
+ return PatchBrandKitRequestFontsToJSONTyped(json, false);
44
+ }
45
+ function PatchBrandKitRequestFontsToJSONTyped(value, ignoreDiscriminator = false) {
46
+ if (value == null) {
47
+ return value;
48
+ }
49
+ return {
50
+ 'title': (0, BrandFont_1.BrandFontToJSON)(value['title']),
51
+ 'subtitle': (0, BrandFont_1.BrandFontToJSON)(value['subtitle']),
52
+ 'body': (0, BrandFont_1.BrandFontToJSON)(value['body']),
53
+ 'caption': (0, BrandFont_1.BrandFontToJSON)(value['caption']),
54
+ };
55
+ }
@@ -0,0 +1,74 @@
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
+ * The spacing and radius steps to change; the steps that are left out keep their value.
14
+ * @export
15
+ * @interface PatchBrandKitRequestSpacing
16
+ */
17
+ export interface PatchBrandKitRequestSpacing {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof PatchBrandKitRequestSpacing
22
+ */
23
+ xs?: number;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof PatchBrandKitRequestSpacing
28
+ */
29
+ s?: number;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof PatchBrandKitRequestSpacing
34
+ */
35
+ m?: number;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof PatchBrandKitRequestSpacing
40
+ */
41
+ l?: number;
42
+ /**
43
+ *
44
+ * @type {number}
45
+ * @memberof PatchBrandKitRequestSpacing
46
+ */
47
+ xl?: number;
48
+ /**
49
+ *
50
+ * @type {number}
51
+ * @memberof PatchBrandKitRequestSpacing
52
+ */
53
+ radiusS?: number;
54
+ /**
55
+ *
56
+ * @type {number}
57
+ * @memberof PatchBrandKitRequestSpacing
58
+ */
59
+ radiusM?: number;
60
+ /**
61
+ *
62
+ * @type {number}
63
+ * @memberof PatchBrandKitRequestSpacing
64
+ */
65
+ radiusL?: number;
66
+ }
67
+ /**
68
+ * Check if a given object implements the PatchBrandKitRequestSpacing interface.
69
+ */
70
+ export declare function instanceOfPatchBrandKitRequestSpacing(value: object): value is PatchBrandKitRequestSpacing;
71
+ export declare function PatchBrandKitRequestSpacingFromJSON(json: any): PatchBrandKitRequestSpacing;
72
+ export declare function PatchBrandKitRequestSpacingFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchBrandKitRequestSpacing;
73
+ export declare function PatchBrandKitRequestSpacingToJSON(json: any): PatchBrandKitRequestSpacing;
74
+ export declare function PatchBrandKitRequestSpacingToJSONTyped(value?: PatchBrandKitRequestSpacing | null, ignoreDiscriminator?: boolean): any;
@@ -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
+ }
@@ -33,6 +33,17 @@ export interface PublicWorkflowEventsRequestEventsInner {
33
33
  * @memberof PublicWorkflowEventsRequestEventsInner
34
34
  */
35
35
  c?: number;
36
+ /**
37
+ * Only on an `f` event: why moving the visitor on failed. `t` the composition did not appear in time,
38
+ * `e` the widget in it reported an error, `b` the composition could not be built, `o` another reason (a
39
+ * step was already on its way, or the page was going away). Left out by an embed that does not say why;
40
+ * a letter this server does not know is read as left out, and the failure is still counted. On an `n` or
41
+ * an `e` event it is ignored. Never a message: one letter, so that nothing a visitor typed can ride on it.
42
+ *
43
+ * @type {string}
44
+ * @memberof PublicWorkflowEventsRequestEventsInner
45
+ */
46
+ r?: PublicWorkflowEventsRequestEventsInnerREnum;
36
47
  }
37
48
  /**
38
49
  * @export
@@ -43,6 +54,16 @@ export declare const PublicWorkflowEventsRequestEventsInnerKEnum: {
43
54
  readonly F: 'f';
44
55
  };
45
56
  export type PublicWorkflowEventsRequestEventsInnerKEnum = typeof PublicWorkflowEventsRequestEventsInnerKEnum[keyof typeof PublicWorkflowEventsRequestEventsInnerKEnum];
57
+ /**
58
+ * @export
59
+ */
60
+ export declare const PublicWorkflowEventsRequestEventsInnerREnum: {
61
+ readonly T: 't';
62
+ readonly E: 'e';
63
+ readonly B: 'b';
64
+ readonly O: 'o';
65
+ };
66
+ export type PublicWorkflowEventsRequestEventsInnerREnum = typeof PublicWorkflowEventsRequestEventsInnerREnum[keyof typeof PublicWorkflowEventsRequestEventsInnerREnum];
46
67
  /**
47
68
  * Check if a given object implements the PublicWorkflowEventsRequestEventsInner interface.
48
69
  */
@@ -13,7 +13,7 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.PublicWorkflowEventsRequestEventsInnerKEnum = void 0;
16
+ exports.PublicWorkflowEventsRequestEventsInnerREnum = exports.PublicWorkflowEventsRequestEventsInnerKEnum = void 0;
17
17
  exports.instanceOfPublicWorkflowEventsRequestEventsInner = instanceOfPublicWorkflowEventsRequestEventsInner;
18
18
  exports.PublicWorkflowEventsRequestEventsInnerFromJSON = PublicWorkflowEventsRequestEventsInnerFromJSON;
19
19
  exports.PublicWorkflowEventsRequestEventsInnerFromJSONTyped = PublicWorkflowEventsRequestEventsInnerFromJSONTyped;
@@ -27,6 +27,15 @@ exports.PublicWorkflowEventsRequestEventsInnerKEnum = {
27
27
  E: 'e',
28
28
  F: 'f'
29
29
  };
30
+ /**
31
+ * @export
32
+ */
33
+ exports.PublicWorkflowEventsRequestEventsInnerREnum = {
34
+ T: 't',
35
+ E: 'e',
36
+ B: 'b',
37
+ O: 'o'
38
+ };
30
39
  /**
31
40
  * Check if a given object implements the PublicWorkflowEventsRequestEventsInner interface.
32
41
  */
@@ -48,6 +57,7 @@ function PublicWorkflowEventsRequestEventsInnerFromJSONTyped(json, ignoreDiscrim
48
57
  'k': json['k'],
49
58
  'id': json['id'],
50
59
  'c': json['c'] == null ? undefined : json['c'],
60
+ 'r': json['r'] == null ? undefined : json['r'],
51
61
  };
52
62
  }
53
63
  function PublicWorkflowEventsRequestEventsInnerToJSON(json) {
@@ -61,5 +71,6 @@ function PublicWorkflowEventsRequestEventsInnerToJSONTyped(value, ignoreDiscrimi
61
71
  'k': value['k'],
62
72
  'id': value['id'],
63
73
  'c': value['c'],
74
+ 'r': value['r'],
64
75
  };
65
76
  }
@@ -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 { PublicWorkflow } from './PublicWorkflow';
13
+ import type { ResponseMeta } from './ResponseMeta';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface PublicWorkflowResponse
18
+ */
19
+ export interface PublicWorkflowResponse {
20
+ /**
21
+ *
22
+ * @type {boolean}
23
+ * @memberof PublicWorkflowResponse
24
+ */
25
+ success: boolean;
26
+ /**
27
+ *
28
+ * @type {PublicWorkflow}
29
+ * @memberof PublicWorkflowResponse
30
+ */
31
+ data: PublicWorkflow;
32
+ /**
33
+ *
34
+ * @type {ResponseMeta}
35
+ * @memberof PublicWorkflowResponse
36
+ */
37
+ meta?: ResponseMeta;
38
+ }
39
+ /**
40
+ * Check if a given object implements the PublicWorkflowResponse interface.
41
+ */
42
+ export declare function instanceOfPublicWorkflowResponse(value: object): value is PublicWorkflowResponse;
43
+ export declare function PublicWorkflowResponseFromJSON(json: any): PublicWorkflowResponse;
44
+ export declare function PublicWorkflowResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PublicWorkflowResponse;
45
+ export declare function PublicWorkflowResponseToJSON(json: any): PublicWorkflowResponse;
46
+ export declare function PublicWorkflowResponseToJSONTyped(value?: PublicWorkflowResponse | null, ignoreDiscriminator?: boolean): any;