@widgetic/api-sdk 1.0.15 → 1.0.17

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 (226) hide show
  1. package/dist/apis/ABTestingApi.js +90 -30
  2. package/dist/apis/AdminApi.js +12 -4
  3. package/dist/apis/AuthenticationApi.d.ts +3 -3
  4. package/dist/apis/AuthenticationApi.js +31 -11
  5. package/dist/apis/BatchApi.js +6 -2
  6. package/dist/apis/BillingApi.d.ts +13 -13
  7. package/dist/apis/BillingApi.js +8 -8
  8. package/dist/apis/CanvasesApi.js +30 -10
  9. package/dist/apis/ComponentsApi.d.ts +3 -3
  10. package/dist/apis/ComponentsApi.js +43 -15
  11. package/dist/apis/CompositionsApi.js +132 -44
  12. package/dist/apis/ContentsApi.js +36 -12
  13. package/dist/apis/ConversationsApi.js +30 -10
  14. package/dist/apis/CreditsApi.js +30 -10
  15. package/dist/apis/DemoContentsApi.js +30 -10
  16. package/dist/apis/EntitlementsApi.js +30 -10
  17. package/dist/apis/FoldersApi.js +30 -10
  18. package/dist/apis/HealthApi.js +12 -4
  19. package/dist/apis/IntegrationsApi.js +42 -14
  20. package/dist/apis/InvitationsApi.js +12 -4
  21. package/dist/apis/InvoicesApi.js +36 -12
  22. package/dist/apis/ManagedUsersApi.js +36 -12
  23. package/dist/apis/MessagesApi.js +36 -12
  24. package/dist/apis/OrganizationActivitiesApi.d.ts +93 -0
  25. package/dist/apis/OrganizationActivitiesApi.js +221 -0
  26. package/dist/apis/OrganizationsApi.d.ts +31 -106
  27. package/dist/apis/OrganizationsApi.js +324 -292
  28. package/dist/apis/PartnerCustomizationsApi.js +30 -10
  29. package/dist/apis/PartnersApi.js +30 -10
  30. package/dist/apis/PromptsApi.js +30 -10
  31. package/dist/apis/SubscriptionPlansApi.js +12 -4
  32. package/dist/apis/SubscriptionsApi.js +48 -16
  33. package/dist/apis/TranslationsApi.d.ts +5 -5
  34. package/dist/apis/TranslationsApi.js +2 -2
  35. package/dist/apis/UIComponentsApi.js +24 -8
  36. package/dist/apis/UsageApi.js +42 -14
  37. package/dist/apis/UsersApi.d.ts +3 -3
  38. package/dist/apis/UsersApi.js +1 -1
  39. package/dist/apis/WorkspacesApi.js +78 -26
  40. package/dist/apis/index.d.ts +1 -0
  41. package/dist/apis/index.js +1 -0
  42. package/dist/esm/apis/ABTestingApi.js +90 -30
  43. package/dist/esm/apis/AdminApi.js +12 -4
  44. package/dist/esm/apis/AuthenticationApi.d.ts +3 -3
  45. package/dist/esm/apis/AuthenticationApi.js +32 -12
  46. package/dist/esm/apis/BatchApi.js +6 -2
  47. package/dist/esm/apis/BillingApi.d.ts +13 -13
  48. package/dist/esm/apis/BillingApi.js +9 -9
  49. package/dist/esm/apis/CanvasesApi.js +30 -10
  50. package/dist/esm/apis/ComponentsApi.d.ts +3 -3
  51. package/dist/esm/apis/ComponentsApi.js +44 -16
  52. package/dist/esm/apis/CompositionsApi.js +132 -44
  53. package/dist/esm/apis/ContentsApi.js +36 -12
  54. package/dist/esm/apis/ConversationsApi.js +30 -10
  55. package/dist/esm/apis/CreditsApi.js +30 -10
  56. package/dist/esm/apis/DemoContentsApi.js +30 -10
  57. package/dist/esm/apis/EntitlementsApi.js +30 -10
  58. package/dist/esm/apis/FoldersApi.js +30 -10
  59. package/dist/esm/apis/HealthApi.js +12 -4
  60. package/dist/esm/apis/IntegrationsApi.js +42 -14
  61. package/dist/esm/apis/InvitationsApi.js +12 -4
  62. package/dist/esm/apis/InvoicesApi.js +36 -12
  63. package/dist/esm/apis/ManagedUsersApi.js +36 -12
  64. package/dist/esm/apis/MessagesApi.js +36 -12
  65. package/dist/esm/apis/OrganizationActivitiesApi.d.ts +93 -0
  66. package/dist/esm/apis/OrganizationActivitiesApi.js +217 -0
  67. package/dist/esm/apis/OrganizationsApi.d.ts +31 -106
  68. package/dist/esm/apis/OrganizationsApi.js +324 -292
  69. package/dist/esm/apis/PartnerCustomizationsApi.js +30 -10
  70. package/dist/esm/apis/PartnersApi.js +30 -10
  71. package/dist/esm/apis/PromptsApi.js +30 -10
  72. package/dist/esm/apis/SubscriptionPlansApi.js +12 -4
  73. package/dist/esm/apis/SubscriptionsApi.js +48 -16
  74. package/dist/esm/apis/TranslationsApi.d.ts +5 -5
  75. package/dist/esm/apis/TranslationsApi.js +3 -3
  76. package/dist/esm/apis/UIComponentsApi.js +24 -8
  77. package/dist/esm/apis/UsageApi.js +42 -14
  78. package/dist/esm/apis/UsersApi.d.ts +3 -3
  79. package/dist/esm/apis/UsersApi.js +2 -2
  80. package/dist/esm/apis/WorkspacesApi.js +78 -26
  81. package/dist/esm/apis/index.d.ts +1 -0
  82. package/dist/esm/apis/index.js +1 -0
  83. package/dist/esm/models/AgentModelsGet200ResponseModelsInner.d.ts +6 -0
  84. package/dist/esm/models/AgentModelsGet200ResponseModelsInner.js +2 -0
  85. package/dist/esm/models/Canvas.d.ts +6 -0
  86. package/dist/esm/models/Canvas.js +2 -0
  87. package/dist/esm/models/CreateCanvasRequest.d.ts +6 -0
  88. package/dist/esm/models/CreateCanvasRequest.js +2 -0
  89. package/dist/esm/models/ErrorResponse.d.ts +12 -12
  90. package/dist/esm/models/ErrorResponse.js +4 -4
  91. package/dist/esm/models/GetCompositionsBatch200Response.d.ts +3 -3
  92. package/dist/esm/models/GetCompositionsBatch200Response.js +3 -3
  93. package/dist/esm/models/GetWidgetsBatch200Response.d.ts +3 -3
  94. package/dist/esm/models/GetWidgetsBatch200Response.js +3 -3
  95. package/dist/esm/models/GetWidgetsBatch200ResponseErrorsInner.d.ts +38 -0
  96. package/dist/esm/models/{GetCompositionsBatch200ResponseErrorsInner.js → GetWidgetsBatch200ResponseErrorsInner.js} +8 -8
  97. package/dist/esm/models/OrganizationsOrgIdBillingPaymentMethodsGet200Response.d.ts +39 -0
  98. package/dist/esm/models/OrganizationsOrgIdBillingPaymentMethodsGet200Response.js +44 -0
  99. package/dist/esm/models/OrganizationsOrgIdBillingPaymentMethodsGet200ResponseData.d.ts +33 -0
  100. package/dist/esm/models/OrganizationsOrgIdBillingPaymentMethodsGet200ResponseData.js +42 -0
  101. package/dist/esm/models/OrganizationsOrgIdBillingPaymentMethodsGet200ResponseDataPaymentMethodsInner.d.ts +62 -0
  102. package/dist/esm/models/{ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner.js → OrganizationsOrgIdBillingPaymentMethodsGet200ResponseDataPaymentMethodsInner.js} +8 -8
  103. package/dist/esm/models/OrganizationsOrgIdBillingPaymentMethodsPost200Response.d.ts +39 -0
  104. package/dist/esm/models/OrganizationsOrgIdBillingPaymentMethodsPost200Response.js +44 -0
  105. package/dist/esm/models/OrganizationsOrgIdBillingPaymentMethodsPost200ResponseData.d.ts +33 -0
  106. package/dist/esm/models/OrganizationsOrgIdBillingPaymentMethodsPost200ResponseData.js +42 -0
  107. package/dist/esm/models/OrganizationsOrgIdBillingPaymentMethodsPostRequest.d.ts +32 -0
  108. package/dist/esm/models/{ApiV1BillingUsersUserIdPaymentMethodsPostRequest.js → OrganizationsOrgIdBillingPaymentMethodsPostRequest.js} +8 -8
  109. package/dist/esm/models/OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200Response.d.ts +39 -0
  110. package/dist/esm/models/OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200Response.js +44 -0
  111. package/dist/esm/models/OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200ResponseData.d.ts +50 -0
  112. package/dist/esm/models/{ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData.js → OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200ResponseData.js} +8 -8
  113. package/dist/esm/models/OrganizationsOrgIdBillingPortalPost200Response.d.ts +39 -0
  114. package/dist/esm/models/OrganizationsOrgIdBillingPortalPost200Response.js +44 -0
  115. package/dist/esm/models/OrganizationsOrgIdBillingPortalPost200ResponseData.d.ts +32 -0
  116. package/dist/esm/models/OrganizationsOrgIdBillingPortalPost200ResponseData.js +41 -0
  117. package/dist/esm/models/OrganizationsOrgIdBillingPortalPostRequest.d.ts +32 -0
  118. package/dist/esm/models/OrganizationsOrgIdBillingPortalPostRequest.js +41 -0
  119. package/dist/esm/models/OrganizationsOrgIdBillingYearlyPricingComparisonGet200Response.d.ts +38 -0
  120. package/dist/esm/models/OrganizationsOrgIdBillingYearlyPricingComparisonGet200Response.js +43 -0
  121. package/dist/esm/models/UpdateCanvasRequest.d.ts +6 -0
  122. package/dist/esm/models/UpdateCanvasRequest.js +2 -0
  123. package/dist/esm/models/UpdateWidgetRequest.d.ts +12 -0
  124. package/dist/esm/models/UpdateWidgetRequest.js +5 -0
  125. package/dist/esm/models/UsersSendFeedbackPost200Response.d.ts +38 -0
  126. package/dist/esm/models/{RollbackComponent200Response.js → UsersSendFeedbackPost200Response.js} +8 -8
  127. package/dist/esm/models/index.d.ts +24 -24
  128. package/dist/esm/models/index.js +24 -24
  129. package/dist/models/AgentModelsGet200ResponseModelsInner.d.ts +6 -0
  130. package/dist/models/AgentModelsGet200ResponseModelsInner.js +2 -0
  131. package/dist/models/Canvas.d.ts +6 -0
  132. package/dist/models/Canvas.js +2 -0
  133. package/dist/models/CreateCanvasRequest.d.ts +6 -0
  134. package/dist/models/CreateCanvasRequest.js +2 -0
  135. package/dist/models/ErrorResponse.d.ts +12 -12
  136. package/dist/models/ErrorResponse.js +4 -4
  137. package/dist/models/GetCompositionsBatch200Response.d.ts +3 -3
  138. package/dist/models/GetCompositionsBatch200Response.js +3 -3
  139. package/dist/models/GetWidgetsBatch200Response.d.ts +3 -3
  140. package/dist/models/GetWidgetsBatch200Response.js +3 -3
  141. package/dist/models/GetWidgetsBatch200ResponseErrorsInner.d.ts +38 -0
  142. package/dist/models/GetWidgetsBatch200ResponseErrorsInner.js +50 -0
  143. package/dist/models/OrganizationsOrgIdBillingPaymentMethodsGet200Response.d.ts +39 -0
  144. package/dist/models/OrganizationsOrgIdBillingPaymentMethodsGet200Response.js +51 -0
  145. package/dist/models/OrganizationsOrgIdBillingPaymentMethodsGet200ResponseData.d.ts +33 -0
  146. package/dist/models/OrganizationsOrgIdBillingPaymentMethodsGet200ResponseData.js +49 -0
  147. package/dist/models/OrganizationsOrgIdBillingPaymentMethodsGet200ResponseDataPaymentMethodsInner.d.ts +62 -0
  148. package/dist/models/OrganizationsOrgIdBillingPaymentMethodsGet200ResponseDataPaymentMethodsInner.js +58 -0
  149. package/dist/models/OrganizationsOrgIdBillingPaymentMethodsPost200Response.d.ts +39 -0
  150. package/dist/models/OrganizationsOrgIdBillingPaymentMethodsPost200Response.js +51 -0
  151. package/dist/models/OrganizationsOrgIdBillingPaymentMethodsPost200ResponseData.d.ts +33 -0
  152. package/dist/models/OrganizationsOrgIdBillingPaymentMethodsPost200ResponseData.js +49 -0
  153. package/dist/models/OrganizationsOrgIdBillingPaymentMethodsPostRequest.d.ts +32 -0
  154. package/dist/models/OrganizationsOrgIdBillingPaymentMethodsPostRequest.js +50 -0
  155. package/dist/models/OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200Response.d.ts +39 -0
  156. package/dist/models/OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200Response.js +51 -0
  157. package/dist/models/OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200ResponseData.d.ts +50 -0
  158. package/dist/models/OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200ResponseData.js +54 -0
  159. package/dist/models/OrganizationsOrgIdBillingPortalPost200Response.d.ts +39 -0
  160. package/dist/models/OrganizationsOrgIdBillingPortalPost200Response.js +51 -0
  161. package/dist/models/OrganizationsOrgIdBillingPortalPost200ResponseData.d.ts +32 -0
  162. package/dist/models/OrganizationsOrgIdBillingPortalPost200ResponseData.js +48 -0
  163. package/dist/models/OrganizationsOrgIdBillingPortalPostRequest.d.ts +32 -0
  164. package/dist/models/OrganizationsOrgIdBillingPortalPostRequest.js +48 -0
  165. package/dist/models/OrganizationsOrgIdBillingYearlyPricingComparisonGet200Response.d.ts +38 -0
  166. package/dist/models/OrganizationsOrgIdBillingYearlyPricingComparisonGet200Response.js +50 -0
  167. package/dist/models/UpdateCanvasRequest.d.ts +6 -0
  168. package/dist/models/UpdateCanvasRequest.js +2 -0
  169. package/dist/models/UpdateWidgetRequest.d.ts +12 -0
  170. package/dist/models/UpdateWidgetRequest.js +5 -0
  171. package/dist/models/UsersSendFeedbackPost200Response.d.ts +38 -0
  172. package/dist/models/UsersSendFeedbackPost200Response.js +50 -0
  173. package/dist/models/index.d.ts +24 -24
  174. package/dist/models/index.js +24 -24
  175. package/package.json +1 -1
  176. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200Response.d.ts +0 -39
  177. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200Response.js +0 -44
  178. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseData.d.ts +0 -33
  179. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseData.js +0 -42
  180. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner.d.ts +0 -62
  181. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPost200Response.d.ts +0 -39
  182. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPost200Response.js +0 -44
  183. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData.d.ts +0 -33
  184. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData.js +0 -42
  185. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPostRequest.d.ts +0 -32
  186. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200Response.d.ts +0 -39
  187. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200Response.js +0 -44
  188. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData.d.ts +0 -50
  189. package/dist/esm/models/ApiV1BillingUsersUserIdPortalPost200Response.d.ts +0 -39
  190. package/dist/esm/models/ApiV1BillingUsersUserIdPortalPost200Response.js +0 -44
  191. package/dist/esm/models/ApiV1BillingUsersUserIdPortalPost200ResponseData.d.ts +0 -32
  192. package/dist/esm/models/ApiV1BillingUsersUserIdPortalPost200ResponseData.js +0 -41
  193. package/dist/esm/models/ApiV1BillingUsersUserIdPortalPostRequest.d.ts +0 -32
  194. package/dist/esm/models/ApiV1BillingUsersUserIdPortalPostRequest.js +0 -41
  195. package/dist/esm/models/GetCompositionsBatch200ResponseErrorsInner.d.ts +0 -38
  196. package/dist/esm/models/LoginUser200Response.d.ts +0 -38
  197. package/dist/esm/models/LoginUser200Response.js +0 -43
  198. package/dist/esm/models/RollbackComponent200Response.d.ts +0 -38
  199. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200Response.d.ts +0 -39
  200. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200Response.js +0 -51
  201. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseData.d.ts +0 -33
  202. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseData.js +0 -49
  203. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner.d.ts +0 -62
  204. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner.js +0 -58
  205. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPost200Response.d.ts +0 -39
  206. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPost200Response.js +0 -51
  207. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData.d.ts +0 -33
  208. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData.js +0 -49
  209. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPostRequest.d.ts +0 -32
  210. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPostRequest.js +0 -50
  211. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200Response.d.ts +0 -39
  212. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200Response.js +0 -51
  213. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData.d.ts +0 -50
  214. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData.js +0 -54
  215. package/dist/models/ApiV1BillingUsersUserIdPortalPost200Response.d.ts +0 -39
  216. package/dist/models/ApiV1BillingUsersUserIdPortalPost200Response.js +0 -51
  217. package/dist/models/ApiV1BillingUsersUserIdPortalPost200ResponseData.d.ts +0 -32
  218. package/dist/models/ApiV1BillingUsersUserIdPortalPost200ResponseData.js +0 -48
  219. package/dist/models/ApiV1BillingUsersUserIdPortalPostRequest.d.ts +0 -32
  220. package/dist/models/ApiV1BillingUsersUserIdPortalPostRequest.js +0 -48
  221. package/dist/models/GetCompositionsBatch200ResponseErrorsInner.d.ts +0 -38
  222. package/dist/models/GetCompositionsBatch200ResponseErrorsInner.js +0 -50
  223. package/dist/models/LoginUser200Response.d.ts +0 -38
  224. package/dist/models/LoginUser200Response.js +0 -50
  225. package/dist/models/RollbackComponent200Response.d.ts +0 -38
  226. package/dist/models/RollbackComponent200Response.js +0 -50
@@ -21,7 +21,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
21
21
  });
22
22
  };
23
23
  import * as runtime from '../runtime.js';
24
- import { RollbackComponent200ResponseFromJSON, UsersMeBillingGet200ResponseFromJSON, UsersSendFeedbackPostRequestToJSON, } from '../models/index.js';
24
+ import { UsersMeBillingGet200ResponseFromJSON, UsersSendFeedbackPost200ResponseFromJSON, UsersSendFeedbackPostRequestToJSON, } from '../models/index.js';
25
25
  /**
26
26
  *
27
27
  */
@@ -77,7 +77,7 @@ export class UsersApi extends runtime.BaseAPI {
77
77
  query: queryParameters,
78
78
  body: UsersSendFeedbackPostRequestToJSON(requestParameters['usersSendFeedbackPostRequest']),
79
79
  }, initOverrides);
80
- return new runtime.JSONApiResponse(response, (jsonValue) => RollbackComponent200ResponseFromJSON(jsonValue));
80
+ return new runtime.JSONApiResponse(response, (jsonValue) => UsersSendFeedbackPost200ResponseFromJSON(jsonValue));
81
81
  });
82
82
  }
83
83
  /**
@@ -40,8 +40,12 @@ export class WorkspacesApi extends runtime.BaseAPI {
40
40
  }
41
41
  const queryParameters = {};
42
42
  const headerParameters = {};
43
- if (this.configuration && this.configuration.apiKey) {
44
- headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // apiKeyAuth authentication
43
+ if (this.configuration && this.configuration.accessToken) {
44
+ const token = this.configuration.accessToken;
45
+ const tokenString = yield token("apiKeyAuth", []);
46
+ if (tokenString) {
47
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
48
+ }
45
49
  }
46
50
  const response = yield this.request({
47
51
  path: `/workspaces/{workspaceId}/ab-tests/{testId}/auto-stop-check`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(requestParameters['workspaceId']))).replace(`{${"testId"}}`, encodeURIComponent(String(requestParameters['testId']))),
@@ -77,8 +81,12 @@ export class WorkspacesApi extends runtime.BaseAPI {
77
81
  const queryParameters = {};
78
82
  const headerParameters = {};
79
83
  headerParameters['Content-Type'] = 'application/json';
80
- if (this.configuration && this.configuration.apiKey) {
81
- headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // apiKeyAuth authentication
84
+ if (this.configuration && this.configuration.accessToken) {
85
+ const token = this.configuration.accessToken;
86
+ const tokenString = yield token("apiKeyAuth", []);
87
+ if (tokenString) {
88
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
89
+ }
82
90
  }
83
91
  const response = yield this.request({
84
92
  path: `/workspaces/{workspaceId}/ab-tests`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(requestParameters['workspaceId']))),
@@ -114,8 +122,12 @@ export class WorkspacesApi extends runtime.BaseAPI {
114
122
  }
115
123
  const queryParameters = {};
116
124
  const headerParameters = {};
117
- if (this.configuration && this.configuration.apiKey) {
118
- headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // apiKeyAuth authentication
125
+ if (this.configuration && this.configuration.accessToken) {
126
+ const token = this.configuration.accessToken;
127
+ const tokenString = yield token("apiKeyAuth", []);
128
+ if (tokenString) {
129
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
130
+ }
119
131
  }
120
132
  const response = yield this.request({
121
133
  path: `/workspaces/{workspaceId}/ab-tests/{testId}`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(requestParameters['workspaceId']))).replace(`{${"testId"}}`, encodeURIComponent(String(requestParameters['testId']))),
@@ -150,8 +162,12 @@ export class WorkspacesApi extends runtime.BaseAPI {
150
162
  }
151
163
  const queryParameters = {};
152
164
  const headerParameters = {};
153
- if (this.configuration && this.configuration.apiKey) {
154
- headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // apiKeyAuth authentication
165
+ if (this.configuration && this.configuration.accessToken) {
166
+ const token = this.configuration.accessToken;
167
+ const tokenString = yield token("apiKeyAuth", []);
168
+ if (tokenString) {
169
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
170
+ }
155
171
  }
156
172
  const response = yield this.request({
157
173
  path: `/workspaces/{workspaceId}/ab-tests/{testId}`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(requestParameters['workspaceId']))).replace(`{${"testId"}}`, encodeURIComponent(String(requestParameters['testId']))),
@@ -186,8 +202,12 @@ export class WorkspacesApi extends runtime.BaseAPI {
186
202
  queryParameters['status'] = requestParameters['status'];
187
203
  }
188
204
  const headerParameters = {};
189
- if (this.configuration && this.configuration.apiKey) {
190
- headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // apiKeyAuth authentication
205
+ if (this.configuration && this.configuration.accessToken) {
206
+ const token = this.configuration.accessToken;
207
+ const tokenString = yield token("apiKeyAuth", []);
208
+ if (tokenString) {
209
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
210
+ }
191
211
  }
192
212
  const response = yield this.request({
193
213
  path: `/workspaces/{workspaceId}/ab-tests`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(requestParameters['workspaceId']))),
@@ -222,8 +242,12 @@ export class WorkspacesApi extends runtime.BaseAPI {
222
242
  }
223
243
  const queryParameters = {};
224
244
  const headerParameters = {};
225
- if (this.configuration && this.configuration.apiKey) {
226
- headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // apiKeyAuth authentication
245
+ if (this.configuration && this.configuration.accessToken) {
246
+ const token = this.configuration.accessToken;
247
+ const tokenString = yield token("apiKeyAuth", []);
248
+ if (tokenString) {
249
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
250
+ }
227
251
  }
228
252
  const response = yield this.request({
229
253
  path: `/workspaces/{workspaceId}/ab-tests/{testId}/pause`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(requestParameters['workspaceId']))).replace(`{${"testId"}}`, encodeURIComponent(String(requestParameters['testId']))),
@@ -262,8 +286,12 @@ export class WorkspacesApi extends runtime.BaseAPI {
262
286
  const queryParameters = {};
263
287
  const headerParameters = {};
264
288
  headerParameters['Content-Type'] = 'application/json';
265
- if (this.configuration && this.configuration.apiKey) {
266
- headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // apiKeyAuth authentication
289
+ if (this.configuration && this.configuration.accessToken) {
290
+ const token = this.configuration.accessToken;
291
+ const tokenString = yield token("apiKeyAuth", []);
292
+ if (tokenString) {
293
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
294
+ }
267
295
  }
268
296
  const response = yield this.request({
269
297
  path: `/workspaces/{workspaceId}/ab-tests/{testId}/duration`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(requestParameters['workspaceId']))).replace(`{${"testId"}}`, encodeURIComponent(String(requestParameters['testId']))),
@@ -299,8 +327,12 @@ export class WorkspacesApi extends runtime.BaseAPI {
299
327
  }
300
328
  const queryParameters = {};
301
329
  const headerParameters = {};
302
- if (this.configuration && this.configuration.apiKey) {
303
- headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // apiKeyAuth authentication
330
+ if (this.configuration && this.configuration.accessToken) {
331
+ const token = this.configuration.accessToken;
332
+ const tokenString = yield token("apiKeyAuth", []);
333
+ if (tokenString) {
334
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
335
+ }
304
336
  }
305
337
  const response = yield this.request({
306
338
  path: `/workspaces/{workspaceId}/ab-tests/{testId}/start`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(requestParameters['workspaceId']))).replace(`{${"testId"}}`, encodeURIComponent(String(requestParameters['testId']))),
@@ -336,8 +368,12 @@ export class WorkspacesApi extends runtime.BaseAPI {
336
368
  const queryParameters = {};
337
369
  const headerParameters = {};
338
370
  headerParameters['Content-Type'] = 'application/json';
339
- if (this.configuration && this.configuration.apiKey) {
340
- headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // apiKeyAuth authentication
371
+ if (this.configuration && this.configuration.accessToken) {
372
+ const token = this.configuration.accessToken;
373
+ const tokenString = yield token("apiKeyAuth", []);
374
+ if (tokenString) {
375
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
376
+ }
341
377
  }
342
378
  const response = yield this.request({
343
379
  path: `/workspaces/{workspaceId}/ab-tests/{testId}/stop`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(requestParameters['workspaceId']))).replace(`{${"testId"}}`, encodeURIComponent(String(requestParameters['testId']))),
@@ -377,8 +413,12 @@ export class WorkspacesApi extends runtime.BaseAPI {
377
413
  const queryParameters = {};
378
414
  const headerParameters = {};
379
415
  headerParameters['Content-Type'] = 'application/json';
380
- if (this.configuration && this.configuration.apiKey) {
381
- headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // apiKeyAuth authentication
416
+ if (this.configuration && this.configuration.accessToken) {
417
+ const token = this.configuration.accessToken;
418
+ const tokenString = yield token("apiKeyAuth", []);
419
+ if (tokenString) {
420
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
421
+ }
382
422
  }
383
423
  const response = yield this.request({
384
424
  path: `/workspaces/{workspaceId}/ab-tests/{testId}`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(requestParameters['workspaceId']))).replace(`{${"testId"}}`, encodeURIComponent(String(requestParameters['testId']))),
@@ -415,8 +455,12 @@ export class WorkspacesApi extends runtime.BaseAPI {
415
455
  const queryParameters = {};
416
456
  const headerParameters = {};
417
457
  headerParameters['Content-Type'] = 'application/json';
418
- if (this.configuration && this.configuration.apiKey) {
419
- headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // apiKeyAuth authentication
458
+ if (this.configuration && this.configuration.accessToken) {
459
+ const token = this.configuration.accessToken;
460
+ const tokenString = yield token("apiKeyAuth", []);
461
+ if (tokenString) {
462
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
463
+ }
420
464
  }
421
465
  const response = yield this.request({
422
466
  path: `/workspaces/{workspaceId}/ab-tests/validate-composition-deletion`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(requestParameters['workspaceId']))),
@@ -453,8 +497,12 @@ export class WorkspacesApi extends runtime.BaseAPI {
453
497
  const queryParameters = {};
454
498
  const headerParameters = {};
455
499
  headerParameters['Content-Type'] = 'application/json';
456
- if (this.configuration && this.configuration.apiKey) {
457
- headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // apiKeyAuth authentication
500
+ if (this.configuration && this.configuration.accessToken) {
501
+ const token = this.configuration.accessToken;
502
+ const tokenString = yield token("apiKeyAuth", []);
503
+ if (tokenString) {
504
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
505
+ }
458
506
  }
459
507
  const response = yield this.request({
460
508
  path: `/workspaces/{workspaceId}/ab-tests/validate-goal-tracking`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(requestParameters['workspaceId']))),
@@ -491,8 +539,12 @@ export class WorkspacesApi extends runtime.BaseAPI {
491
539
  const queryParameters = {};
492
540
  const headerParameters = {};
493
541
  headerParameters['Content-Type'] = 'application/json';
494
- if (this.configuration && this.configuration.apiKey) {
495
- headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // apiKeyAuth authentication
542
+ if (this.configuration && this.configuration.accessToken) {
543
+ const token = this.configuration.accessToken;
544
+ const tokenString = yield token("apiKeyAuth", []);
545
+ if (tokenString) {
546
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
547
+ }
496
548
  }
497
549
  const response = yield this.request({
498
550
  path: `/workspaces/{workspaceId}/ab-tests/validate-widget-deletion`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(requestParameters['workspaceId']))),
@@ -29,6 +29,7 @@ export * from './ManagedUsersApi';
29
29
  export * from './MessagesApi';
30
30
  export * from './MonitoringApi';
31
31
  export * from './OperationsApi';
32
+ export * from './OrganizationActivitiesApi';
32
33
  export * from './OrganizationsApi';
33
34
  export * from './PartnerCustomizationsApi';
34
35
  export * from './PartnersApi';
@@ -31,6 +31,7 @@ export * from './ManagedUsersApi.js';
31
31
  export * from './MessagesApi.js';
32
32
  export * from './MonitoringApi.js';
33
33
  export * from './OperationsApi.js';
34
+ export * from './OrganizationActivitiesApi.js';
34
35
  export * from './OrganizationsApi.js';
35
36
  export * from './PartnerCustomizationsApi.js';
36
37
  export * from './PartnersApi.js';
@@ -45,6 +45,12 @@ export interface AgentModelsGet200ResponseModelsInner {
45
45
  * @memberof AgentModelsGet200ResponseModelsInner
46
46
  */
47
47
  supportsTools?: boolean;
48
+ /**
49
+ *
50
+ * @type {boolean}
51
+ * @memberof AgentModelsGet200ResponseModelsInner
52
+ */
53
+ supportsVision?: boolean;
48
54
  }
49
55
  /**
50
56
  * @export
@@ -38,6 +38,7 @@ export function AgentModelsGet200ResponseModelsInnerFromJSONTyped(json, ignoreDi
38
38
  'provider': json['provider'] == null ? undefined : json['provider'],
39
39
  'description': json['description'] == null ? undefined : json['description'],
40
40
  'supportsTools': json['supportsTools'] == null ? undefined : json['supportsTools'],
41
+ 'supportsVision': json['supportsVision'] == null ? undefined : json['supportsVision'],
41
42
  };
42
43
  }
43
44
  export function AgentModelsGet200ResponseModelsInnerToJSON(json) {
@@ -53,5 +54,6 @@ export function AgentModelsGet200ResponseModelsInnerToJSONTyped(value, ignoreDis
53
54
  'provider': value['provider'],
54
55
  'description': value['description'],
55
56
  'supportsTools': value['supportsTools'],
57
+ 'supportsVision': value['supportsVision'],
56
58
  };
57
59
  }
@@ -45,6 +45,12 @@ export interface Canvas {
45
45
  * @memberof Canvas
46
46
  */
47
47
  creatorId?: string;
48
+ /**
49
+ * Primary widget for My widgets list and canvas-only deep-link (Convert per shape may add secondary widgets on the same canvas)
50
+ * @type {string}
51
+ * @memberof Canvas
52
+ */
53
+ primaryWidgetId?: string | null;
48
54
  /**
49
55
  * Timestamp when the canvas was created
50
56
  * @type {Date}
@@ -38,6 +38,7 @@ export function CanvasFromJSONTyped(json, ignoreDiscriminator) {
38
38
  'canvasContent': json['canvasContent'] == null ? undefined : json['canvasContent'],
39
39
  'widgetComponents': json['widgetComponents'] == null ? undefined : json['widgetComponents'],
40
40
  'creatorId': json['creatorId'] == null ? undefined : json['creatorId'],
41
+ 'primaryWidgetId': json['primaryWidgetId'] == null ? undefined : json['primaryWidgetId'],
41
42
  'createdAt': (new Date(json['createdAt'])),
42
43
  'updatedAt': (new Date(json['updatedAt'])),
43
44
  };
@@ -55,6 +56,7 @@ export function CanvasToJSONTyped(value, ignoreDiscriminator = false) {
55
56
  'canvasContent': value['canvasContent'],
56
57
  'widgetComponents': value['widgetComponents'],
57
58
  'creatorId': value['creatorId'],
59
+ 'primaryWidgetId': value['primaryWidgetId'],
58
60
  'createdAt': ((value['createdAt']).toISOString()),
59
61
  'updatedAt': ((value['updatedAt']).toISOString()),
60
62
  };
@@ -33,6 +33,12 @@ export interface CreateCanvasRequest {
33
33
  * @memberof CreateCanvasRequest
34
34
  */
35
35
  widgetComponents?: string;
36
+ /**
37
+ * Optional primary widget id (usually set after widget create)
38
+ * @type {string}
39
+ * @memberof CreateCanvasRequest
40
+ */
41
+ primaryWidgetId?: string | null;
36
42
  }
37
43
  /**
38
44
  * Check if a given object implements the CreateCanvasRequest interface.
@@ -30,6 +30,7 @@ export function CreateCanvasRequestFromJSONTyped(json, ignoreDiscriminator) {
30
30
  'persistenceKey': json['persistenceKey'],
31
31
  'canvasContent': json['canvasContent'] == null ? undefined : json['canvasContent'],
32
32
  'widgetComponents': json['widgetComponents'] == null ? undefined : json['widgetComponents'],
33
+ 'primaryWidgetId': json['primaryWidgetId'] == null ? undefined : json['primaryWidgetId'],
33
34
  };
34
35
  }
35
36
  export function CreateCanvasRequestToJSON(json) {
@@ -43,5 +44,6 @@ export function CreateCanvasRequestToJSONTyped(value, ignoreDiscriminator = fals
43
44
  'persistenceKey': value['persistenceKey'],
44
45
  'canvasContent': value['canvasContent'],
45
46
  'widgetComponents': value['widgetComponents'],
47
+ 'primaryWidgetId': value['primaryWidgetId'],
46
48
  };
47
49
  }
@@ -16,18 +16,6 @@ import type { ErrorResponseError } from './ErrorResponseError';
16
16
  * @interface ErrorResponse
17
17
  */
18
18
  export interface ErrorResponse {
19
- /**
20
- * Error message describing what went wrong.
21
- * @type {string}
22
- * @memberof ErrorResponse
23
- */
24
- message?: string;
25
- /**
26
- * Additional details about the error (optional).
27
- * @type {string}
28
- * @memberof ErrorResponse
29
- */
30
- details?: string;
31
19
  /**
32
20
  * Indicates the request failed
33
21
  * @type {boolean}
@@ -40,6 +28,18 @@ export interface ErrorResponse {
40
28
  * @memberof ErrorResponse
41
29
  */
42
30
  error: ErrorResponseError;
31
+ /**
32
+ * Error message describing what went wrong.
33
+ * @type {string}
34
+ * @memberof ErrorResponse
35
+ */
36
+ message?: string;
37
+ /**
38
+ * Additional details about the error (optional).
39
+ * @type {string}
40
+ * @memberof ErrorResponse
41
+ */
42
+ details?: string;
43
43
  }
44
44
  /**
45
45
  * Check if a given object implements the ErrorResponse interface.
@@ -30,10 +30,10 @@ export function ErrorResponseFromJSONTyped(json, ignoreDiscriminator) {
30
30
  return json;
31
31
  }
32
32
  return {
33
- 'message': json['message'] == null ? undefined : json['message'],
34
- 'details': json['details'] == null ? undefined : json['details'],
35
33
  'success': json['success'],
36
34
  'error': ErrorResponseErrorFromJSON(json['error']),
35
+ 'message': json['message'] == null ? undefined : json['message'],
36
+ 'details': json['details'] == null ? undefined : json['details'],
37
37
  };
38
38
  }
39
39
  export function ErrorResponseToJSON(json) {
@@ -44,9 +44,9 @@ export function ErrorResponseToJSONTyped(value, ignoreDiscriminator = false) {
44
44
  return value;
45
45
  }
46
46
  return {
47
- 'message': value['message'],
48
- 'details': value['details'],
49
47
  'success': value['success'],
50
48
  'error': ErrorResponseErrorToJSON(value['error']),
49
+ 'message': value['message'],
50
+ 'details': value['details'],
51
51
  };
52
52
  }
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { Composition } from './Composition';
13
- import type { GetCompositionsBatch200ResponseErrorsInner } from './GetCompositionsBatch200ResponseErrorsInner';
13
+ import type { GetWidgetsBatch200ResponseErrorsInner } from './GetWidgetsBatch200ResponseErrorsInner';
14
14
  /**
15
15
  *
16
16
  * @export
@@ -25,10 +25,10 @@ export interface GetCompositionsBatch200Response {
25
25
  compositions?: Array<Composition>;
26
26
  /**
27
27
  *
28
- * @type {Array<GetCompositionsBatch200ResponseErrorsInner>}
28
+ * @type {Array<GetWidgetsBatch200ResponseErrorsInner>}
29
29
  * @memberof GetCompositionsBatch200Response
30
30
  */
31
- errors?: Array<GetCompositionsBatch200ResponseErrorsInner>;
31
+ errors?: Array<GetWidgetsBatch200ResponseErrorsInner>;
32
32
  }
33
33
  /**
34
34
  * Check if a given object implements the GetCompositionsBatch200Response interface.
@@ -12,7 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  import { CompositionFromJSON, CompositionToJSON, } from './Composition.js';
15
- import { GetCompositionsBatch200ResponseErrorsInnerFromJSON, GetCompositionsBatch200ResponseErrorsInnerToJSON, } from './GetCompositionsBatch200ResponseErrorsInner.js';
15
+ import { GetWidgetsBatch200ResponseErrorsInnerFromJSON, GetWidgetsBatch200ResponseErrorsInnerToJSON, } from './GetWidgetsBatch200ResponseErrorsInner.js';
16
16
  /**
17
17
  * Check if a given object implements the GetCompositionsBatch200Response interface.
18
18
  */
@@ -28,7 +28,7 @@ export function GetCompositionsBatch200ResponseFromJSONTyped(json, ignoreDiscrim
28
28
  }
29
29
  return {
30
30
  'compositions': json['compositions'] == null ? undefined : (json['compositions'].map(CompositionFromJSON)),
31
- 'errors': json['errors'] == null ? undefined : (json['errors'].map(GetCompositionsBatch200ResponseErrorsInnerFromJSON)),
31
+ 'errors': json['errors'] == null ? undefined : (json['errors'].map(GetWidgetsBatch200ResponseErrorsInnerFromJSON)),
32
32
  };
33
33
  }
34
34
  export function GetCompositionsBatch200ResponseToJSON(json) {
@@ -40,6 +40,6 @@ export function GetCompositionsBatch200ResponseToJSONTyped(value, ignoreDiscrimi
40
40
  }
41
41
  return {
42
42
  'compositions': value['compositions'] == null ? undefined : (value['compositions'].map(CompositionToJSON)),
43
- 'errors': value['errors'] == null ? undefined : (value['errors'].map(GetCompositionsBatch200ResponseErrorsInnerToJSON)),
43
+ 'errors': value['errors'] == null ? undefined : (value['errors'].map(GetWidgetsBatch200ResponseErrorsInnerToJSON)),
44
44
  };
45
45
  }
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { GetCompositionsBatch200ResponseErrorsInner } from './GetCompositionsBatch200ResponseErrorsInner';
12
+ import type { GetWidgetsBatch200ResponseErrorsInner } from './GetWidgetsBatch200ResponseErrorsInner';
13
13
  import type { Widget } from './Widget';
14
14
  /**
15
15
  *
@@ -25,10 +25,10 @@ export interface GetWidgetsBatch200Response {
25
25
  widgets?: Array<Widget>;
26
26
  /**
27
27
  *
28
- * @type {Array<GetCompositionsBatch200ResponseErrorsInner>}
28
+ * @type {Array<GetWidgetsBatch200ResponseErrorsInner>}
29
29
  * @memberof GetWidgetsBatch200Response
30
30
  */
31
- errors?: Array<GetCompositionsBatch200ResponseErrorsInner>;
31
+ errors?: Array<GetWidgetsBatch200ResponseErrorsInner>;
32
32
  }
33
33
  /**
34
34
  * Check if a given object implements the GetWidgetsBatch200Response interface.
@@ -11,7 +11,7 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- import { GetCompositionsBatch200ResponseErrorsInnerFromJSON, GetCompositionsBatch200ResponseErrorsInnerToJSON, } from './GetCompositionsBatch200ResponseErrorsInner.js';
14
+ import { GetWidgetsBatch200ResponseErrorsInnerFromJSON, GetWidgetsBatch200ResponseErrorsInnerToJSON, } from './GetWidgetsBatch200ResponseErrorsInner.js';
15
15
  import { WidgetFromJSON, WidgetToJSON, } from './Widget.js';
16
16
  /**
17
17
  * Check if a given object implements the GetWidgetsBatch200Response interface.
@@ -28,7 +28,7 @@ export function GetWidgetsBatch200ResponseFromJSONTyped(json, ignoreDiscriminato
28
28
  }
29
29
  return {
30
30
  'widgets': json['widgets'] == null ? undefined : (json['widgets'].map(WidgetFromJSON)),
31
- 'errors': json['errors'] == null ? undefined : (json['errors'].map(GetCompositionsBatch200ResponseErrorsInnerFromJSON)),
31
+ 'errors': json['errors'] == null ? undefined : (json['errors'].map(GetWidgetsBatch200ResponseErrorsInnerFromJSON)),
32
32
  };
33
33
  }
34
34
  export function GetWidgetsBatch200ResponseToJSON(json) {
@@ -40,6 +40,6 @@ export function GetWidgetsBatch200ResponseToJSONTyped(value, ignoreDiscriminator
40
40
  }
41
41
  return {
42
42
  'widgets': value['widgets'] == null ? undefined : (value['widgets'].map(WidgetToJSON)),
43
- 'errors': value['errors'] == null ? undefined : (value['errors'].map(GetCompositionsBatch200ResponseErrorsInnerToJSON)),
43
+ 'errors': value['errors'] == null ? undefined : (value['errors'].map(GetWidgetsBatch200ResponseErrorsInnerToJSON)),
44
44
  };
45
45
  }
@@ -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 GetWidgetsBatch200ResponseErrorsInner
16
+ */
17
+ export interface GetWidgetsBatch200ResponseErrorsInner {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof GetWidgetsBatch200ResponseErrorsInner
22
+ */
23
+ id?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof GetWidgetsBatch200ResponseErrorsInner
28
+ */
29
+ error?: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the GetWidgetsBatch200ResponseErrorsInner interface.
33
+ */
34
+ export declare function instanceOfGetWidgetsBatch200ResponseErrorsInner(value: object): value is GetWidgetsBatch200ResponseErrorsInner;
35
+ export declare function GetWidgetsBatch200ResponseErrorsInnerFromJSON(json: any): GetWidgetsBatch200ResponseErrorsInner;
36
+ export declare function GetWidgetsBatch200ResponseErrorsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetWidgetsBatch200ResponseErrorsInner;
37
+ export declare function GetWidgetsBatch200ResponseErrorsInnerToJSON(json: any): GetWidgetsBatch200ResponseErrorsInner;
38
+ export declare function GetWidgetsBatch200ResponseErrorsInnerToJSONTyped(value?: GetWidgetsBatch200ResponseErrorsInner | null, ignoreDiscriminator?: boolean): any;
@@ -12,15 +12,15 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  /**
15
- * Check if a given object implements the GetCompositionsBatch200ResponseErrorsInner interface.
15
+ * Check if a given object implements the GetWidgetsBatch200ResponseErrorsInner interface.
16
16
  */
17
- export function instanceOfGetCompositionsBatch200ResponseErrorsInner(value) {
17
+ export function instanceOfGetWidgetsBatch200ResponseErrorsInner(value) {
18
18
  return true;
19
19
  }
20
- export function GetCompositionsBatch200ResponseErrorsInnerFromJSON(json) {
21
- return GetCompositionsBatch200ResponseErrorsInnerFromJSONTyped(json, false);
20
+ export function GetWidgetsBatch200ResponseErrorsInnerFromJSON(json) {
21
+ return GetWidgetsBatch200ResponseErrorsInnerFromJSONTyped(json, false);
22
22
  }
23
- export function GetCompositionsBatch200ResponseErrorsInnerFromJSONTyped(json, ignoreDiscriminator) {
23
+ export function GetWidgetsBatch200ResponseErrorsInnerFromJSONTyped(json, ignoreDiscriminator) {
24
24
  if (json == null) {
25
25
  return json;
26
26
  }
@@ -29,10 +29,10 @@ export function GetCompositionsBatch200ResponseErrorsInnerFromJSONTyped(json, ig
29
29
  'error': json['error'] == null ? undefined : json['error'],
30
30
  };
31
31
  }
32
- export function GetCompositionsBatch200ResponseErrorsInnerToJSON(json) {
33
- return GetCompositionsBatch200ResponseErrorsInnerToJSONTyped(json, false);
32
+ export function GetWidgetsBatch200ResponseErrorsInnerToJSON(json) {
33
+ return GetWidgetsBatch200ResponseErrorsInnerToJSONTyped(json, false);
34
34
  }
35
- export function GetCompositionsBatch200ResponseErrorsInnerToJSONTyped(value, ignoreDiscriminator = false) {
35
+ export function GetWidgetsBatch200ResponseErrorsInnerToJSONTyped(value, ignoreDiscriminator = false) {
36
36
  if (value == null) {
37
37
  return value;
38
38
  }
@@ -0,0 +1,39 @@
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 { OrganizationsOrgIdBillingPaymentMethodsGet200ResponseData } from './OrganizationsOrgIdBillingPaymentMethodsGet200ResponseData';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface OrganizationsOrgIdBillingPaymentMethodsGet200Response
17
+ */
18
+ export interface OrganizationsOrgIdBillingPaymentMethodsGet200Response {
19
+ /**
20
+ *
21
+ * @type {boolean}
22
+ * @memberof OrganizationsOrgIdBillingPaymentMethodsGet200Response
23
+ */
24
+ success?: boolean;
25
+ /**
26
+ *
27
+ * @type {OrganizationsOrgIdBillingPaymentMethodsGet200ResponseData}
28
+ * @memberof OrganizationsOrgIdBillingPaymentMethodsGet200Response
29
+ */
30
+ data?: OrganizationsOrgIdBillingPaymentMethodsGet200ResponseData;
31
+ }
32
+ /**
33
+ * Check if a given object implements the OrganizationsOrgIdBillingPaymentMethodsGet200Response interface.
34
+ */
35
+ export declare function instanceOfOrganizationsOrgIdBillingPaymentMethodsGet200Response(value: object): value is OrganizationsOrgIdBillingPaymentMethodsGet200Response;
36
+ export declare function OrganizationsOrgIdBillingPaymentMethodsGet200ResponseFromJSON(json: any): OrganizationsOrgIdBillingPaymentMethodsGet200Response;
37
+ export declare function OrganizationsOrgIdBillingPaymentMethodsGet200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrganizationsOrgIdBillingPaymentMethodsGet200Response;
38
+ export declare function OrganizationsOrgIdBillingPaymentMethodsGet200ResponseToJSON(json: any): OrganizationsOrgIdBillingPaymentMethodsGet200Response;
39
+ export declare function OrganizationsOrgIdBillingPaymentMethodsGet200ResponseToJSONTyped(value?: OrganizationsOrgIdBillingPaymentMethodsGet200Response | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,44 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Widgetic API Gateway
5
+ * API documentation for the Widgetic API Gateway
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { OrganizationsOrgIdBillingPaymentMethodsGet200ResponseDataFromJSON, OrganizationsOrgIdBillingPaymentMethodsGet200ResponseDataToJSON, } from './OrganizationsOrgIdBillingPaymentMethodsGet200ResponseData.js';
15
+ /**
16
+ * Check if a given object implements the OrganizationsOrgIdBillingPaymentMethodsGet200Response interface.
17
+ */
18
+ export function instanceOfOrganizationsOrgIdBillingPaymentMethodsGet200Response(value) {
19
+ return true;
20
+ }
21
+ export function OrganizationsOrgIdBillingPaymentMethodsGet200ResponseFromJSON(json) {
22
+ return OrganizationsOrgIdBillingPaymentMethodsGet200ResponseFromJSONTyped(json, false);
23
+ }
24
+ export function OrganizationsOrgIdBillingPaymentMethodsGet200ResponseFromJSONTyped(json, ignoreDiscriminator) {
25
+ if (json == null) {
26
+ return json;
27
+ }
28
+ return {
29
+ 'success': json['success'] == null ? undefined : json['success'],
30
+ 'data': json['data'] == null ? undefined : OrganizationsOrgIdBillingPaymentMethodsGet200ResponseDataFromJSON(json['data']),
31
+ };
32
+ }
33
+ export function OrganizationsOrgIdBillingPaymentMethodsGet200ResponseToJSON(json) {
34
+ return OrganizationsOrgIdBillingPaymentMethodsGet200ResponseToJSONTyped(json, false);
35
+ }
36
+ export function OrganizationsOrgIdBillingPaymentMethodsGet200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
37
+ if (value == null) {
38
+ return value;
39
+ }
40
+ return {
41
+ 'success': value['success'],
42
+ 'data': OrganizationsOrgIdBillingPaymentMethodsGet200ResponseDataToJSON(value['data']),
43
+ };
44
+ }