@widgetic/api-sdk 1.0.16 → 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 { AcceptOrganizationInvitation200ResponseFromJSON, AddDomainRequestToJSON, AddOrganizationDomain201ResponseFromJSON, ApiKeyFromJSON, ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseFromJSON, ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseFromJSON, ApiV1BillingUsersUserIdPaymentMethodsPostRequestToJSON, ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseFromJSON, ApiV1BillingUsersUserIdPortalPost200ResponseFromJSON, ApiV1BillingUsersUserIdPortalPostRequestToJSON, CleanupOrphanedInvitations200ResponseFromJSON, CleanupOrphanedInvitationsRequestToJSON, CreateOrganization201ResponseFromJSON, CreateOrganizationApiKeyRequestToJSON, CreateOrganizationRequestToJSON, CreateOrganizationTranslation201ResponseFromJSON, CreateTranslationToJSON, DeleteOrganizationDomain200ResponseFromJSON, GetBillingImpactReport200ResponseFromJSON, GetComprehensiveReport200ResponseFromJSON, GetCurrentWorkspaceContext200ResponseFromJSON, GetMemberStatusReport200ResponseFromJSON, GetMemberTrendReport200ResponseFromJSON, GetOrganizationActivities200ResponseFromJSON, GetOrganizationActivityStats200ResponseFromJSON, GetOrganizationApiKeyUsageLogs200ResponseFromJSON, GetOrganizationCompositions200ResponseFromJSON, GetOrganizationConfig200ResponseFromJSON, GetOrganizationMembers200ResponseFromJSON, GetOrganizationPricing200ResponseFromJSON, GetOrganizationStorageUsage200ResponseFromJSON, GetOrganizationWidgets200ResponseFromJSON, GetStoragePacks200ResponseFromJSON, GetUserOrganization200ResponseFromJSON, GetUserOrganizations200ResponseFromJSON, InviteOrganizationMember201ResponseFromJSON, InviteOrganizationMemberRequestToJSON, ListOrganizationTranslations200ResponseFromJSON, LogOrganizationActivity201ResponseFromJSON, LogOrganizationActivityRequestToJSON, LoginUser200ResponseFromJSON, OrganizationDomainFromJSON, OrganizationsOrgIdBillingCancelPostRequestToJSON, OrganizationsOrgIdBillingGet200ResponseFromJSON, OrganizationsOrgIdBillingInvoicePreviewGet200ResponseFromJSON, OrganizationsOrgIdBillingMembersUpdatePostRequestToJSON, OrganizationsOrgIdBillingUpgradePost200ResponseFromJSON, OrganizationsOrgIdBillingUpgradePostRequestToJSON, OrganizationsOrgIdBillingYearlyMembersAddPostRequestToJSON, OrganizationsOrgIdBillingYearlyMembersRemovePostRequestToJSON, OrganizationsOrgIdBillingYearlySubscriptionPostRequestToJSON, PurchaseStoragePack200ResponseFromJSON, PurchaseStoragePackRequestToJSON, ReactivateMemberRequestToJSON, RollbackComponent200ResponseFromJSON, SuspendMemberRequestToJSON, SwitchToOrganizationWorkspace200ResponseFromJSON, SwitchToOrganizationWorkspaceRequestToJSON, SwitchToPersonalWorkspace200ResponseFromJSON, TestEmailConfigurationRequestToJSON, TransferOrganizationOwnershipRequestToJSON, TranslationFromJSON, UpdateDomainRequestToJSON, UpdateMemberAccessRequestToJSON, UpdateMemberRole200ResponseFromJSON, UpdateMemberRoleRequestToJSON, UpdateOrganizationApiKeyRequestToJSON, UpdateOrganizationRequestToJSON, UpdateOrganizationTranslationStatusRequestToJSON, ValidateOrganization200ResponseFromJSON, ValidateOrganizationRequestToJSON, } from '../models/index.js';
24
+ import { AcceptOrganizationInvitation200ResponseFromJSON, AddDomainRequestToJSON, AddOrganizationDomain201ResponseFromJSON, ApiKeyFromJSON, CleanupOrphanedInvitations200ResponseFromJSON, CleanupOrphanedInvitationsRequestToJSON, CreateOrganization201ResponseFromJSON, CreateOrganizationApiKeyRequestToJSON, CreateOrganizationRequestToJSON, CreateOrganizationTranslation201ResponseFromJSON, CreateTranslationToJSON, DeleteOrganizationDomain200ResponseFromJSON, GetBillingImpactReport200ResponseFromJSON, GetComprehensiveReport200ResponseFromJSON, GetCurrentWorkspaceContext200ResponseFromJSON, GetMemberStatusReport200ResponseFromJSON, GetMemberTrendReport200ResponseFromJSON, GetOrganizationApiKeyUsageLogs200ResponseFromJSON, GetOrganizationCompositions200ResponseFromJSON, GetOrganizationConfig200ResponseFromJSON, GetOrganizationMembers200ResponseFromJSON, GetOrganizationPricing200ResponseFromJSON, GetOrganizationStorageUsage200ResponseFromJSON, GetOrganizationWidgets200ResponseFromJSON, GetStoragePacks200ResponseFromJSON, GetUserOrganization200ResponseFromJSON, GetUserOrganizations200ResponseFromJSON, InviteOrganizationMember201ResponseFromJSON, InviteOrganizationMemberRequestToJSON, ListOrganizationTranslations200ResponseFromJSON, OrganizationDomainFromJSON, OrganizationsOrgIdBillingCancelPostRequestToJSON, OrganizationsOrgIdBillingGet200ResponseFromJSON, OrganizationsOrgIdBillingInvoicePreviewGet200ResponseFromJSON, OrganizationsOrgIdBillingMembersUpdatePostRequestToJSON, OrganizationsOrgIdBillingPaymentMethodsGet200ResponseFromJSON, OrganizationsOrgIdBillingPaymentMethodsPost200ResponseFromJSON, OrganizationsOrgIdBillingPaymentMethodsPostRequestToJSON, OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200ResponseFromJSON, OrganizationsOrgIdBillingPortalPost200ResponseFromJSON, OrganizationsOrgIdBillingPortalPostRequestToJSON, OrganizationsOrgIdBillingUpgradePost200ResponseFromJSON, OrganizationsOrgIdBillingUpgradePostRequestToJSON, OrganizationsOrgIdBillingYearlyMembersAddPostRequestToJSON, OrganizationsOrgIdBillingYearlyMembersRemovePostRequestToJSON, OrganizationsOrgIdBillingYearlyPricingComparisonGet200ResponseFromJSON, OrganizationsOrgIdBillingYearlySubscriptionPostRequestToJSON, PurchaseStoragePack200ResponseFromJSON, PurchaseStoragePackRequestToJSON, ReactivateMemberRequestToJSON, SuspendMemberRequestToJSON, SwitchToOrganizationWorkspace200ResponseFromJSON, SwitchToOrganizationWorkspaceRequestToJSON, SwitchToPersonalWorkspace200ResponseFromJSON, TestEmailConfigurationRequestToJSON, TransferOrganizationOwnershipRequestToJSON, TranslationFromJSON, UpdateDomainRequestToJSON, UpdateMemberAccessRequestToJSON, UpdateMemberRole200ResponseFromJSON, UpdateMemberRoleRequestToJSON, UpdateOrganizationApiKeyRequestToJSON, UpdateOrganizationRequestToJSON, UpdateOrganizationTranslationStatusRequestToJSON, UsersSendFeedbackPost200ResponseFromJSON, ValidateOrganization200ResponseFromJSON, ValidateOrganizationRequestToJSON, } from '../models/index.js';
25
25
  /**
26
26
  *
27
27
  */
@@ -40,8 +40,12 @@ export class OrganizationsApi 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: `/organizations/{orgId}/invitations/{invitationId}/accept`.replace(`{${"orgId"}}`, encodeURIComponent(String(requestParameters['orgId']))).replace(`{${"invitationId"}}`, encodeURIComponent(String(requestParameters['invitationId']))),
@@ -77,8 +81,12 @@ export class OrganizationsApi 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: `/organizations/{orgId}/domains`.replace(`{${"orgId"}}`, encodeURIComponent(String(requestParameters['orgId']))),
@@ -114,8 +122,12 @@ export class OrganizationsApi 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: `/organizations/{orgId}/invitations/{invitationId}`.replace(`{${"orgId"}}`, encodeURIComponent(String(requestParameters['orgId']))).replace(`{${"invitationId"}}`, encodeURIComponent(String(requestParameters['invitationId']))),
@@ -123,7 +135,7 @@ export class OrganizationsApi extends runtime.BaseAPI {
123
135
  headers: headerParameters,
124
136
  query: queryParameters,
125
137
  }, initOverrides);
126
- return new runtime.JSONApiResponse(response, (jsonValue) => RollbackComponent200ResponseFromJSON(jsonValue));
138
+ return new runtime.JSONApiResponse(response, (jsonValue) => UsersSendFeedbackPost200ResponseFromJSON(jsonValue));
127
139
  });
128
140
  }
129
141
  /**
@@ -145,8 +157,12 @@ export class OrganizationsApi extends runtime.BaseAPI {
145
157
  const queryParameters = {};
146
158
  const headerParameters = {};
147
159
  headerParameters['Content-Type'] = 'application/json';
148
- if (this.configuration && this.configuration.apiKey) {
149
- headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // apiKeyAuth authentication
160
+ if (this.configuration && this.configuration.accessToken) {
161
+ const token = this.configuration.accessToken;
162
+ const tokenString = yield token("apiKeyAuth", []);
163
+ if (tokenString) {
164
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
165
+ }
150
166
  }
151
167
  const response = yield this.request({
152
168
  path: `/organizations/admin/cleanup-orphaned-invitations`,
@@ -180,8 +196,12 @@ export class OrganizationsApi extends runtime.BaseAPI {
180
196
  const queryParameters = {};
181
197
  const headerParameters = {};
182
198
  headerParameters['Content-Type'] = 'application/json';
183
- if (this.configuration && this.configuration.apiKey) {
184
- headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // apiKeyAuth authentication
199
+ if (this.configuration && this.configuration.accessToken) {
200
+ const token = this.configuration.accessToken;
201
+ const tokenString = yield token("apiKeyAuth", []);
202
+ if (tokenString) {
203
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
204
+ }
185
205
  }
186
206
  const response = yield this.request({
187
207
  path: `/organizations`,
@@ -218,8 +238,12 @@ export class OrganizationsApi extends runtime.BaseAPI {
218
238
  const queryParameters = {};
219
239
  const headerParameters = {};
220
240
  headerParameters['Content-Type'] = 'application/json';
221
- if (this.configuration && this.configuration.apiKey) {
222
- headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // apiKeyAuth authentication
241
+ if (this.configuration && this.configuration.accessToken) {
242
+ const token = this.configuration.accessToken;
243
+ const tokenString = yield token("apiKeyAuth", []);
244
+ if (tokenString) {
245
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
246
+ }
223
247
  }
224
248
  const response = yield this.request({
225
249
  path: `/organizations/{orgId}/api-keys`.replace(`{${"orgId"}}`, encodeURIComponent(String(requestParameters['orgId']))),
@@ -256,8 +280,12 @@ export class OrganizationsApi extends runtime.BaseAPI {
256
280
  const queryParameters = {};
257
281
  const headerParameters = {};
258
282
  headerParameters['Content-Type'] = 'application/json';
259
- if (this.configuration && this.configuration.apiKey) {
260
- headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // apiKeyAuth authentication
283
+ if (this.configuration && this.configuration.accessToken) {
284
+ const token = this.configuration.accessToken;
285
+ const tokenString = yield token("apiKeyAuth", []);
286
+ if (tokenString) {
287
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
288
+ }
261
289
  }
262
290
  const response = yield this.request({
263
291
  path: `/organizations/{orgId}/translations`.replace(`{${"orgId"}}`, encodeURIComponent(String(requestParameters['orgId']))),
@@ -290,8 +318,12 @@ export class OrganizationsApi extends runtime.BaseAPI {
290
318
  }
291
319
  const queryParameters = {};
292
320
  const headerParameters = {};
293
- if (this.configuration && this.configuration.apiKey) {
294
- headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // apiKeyAuth authentication
321
+ if (this.configuration && this.configuration.accessToken) {
322
+ const token = this.configuration.accessToken;
323
+ const tokenString = yield token("apiKeyAuth", []);
324
+ if (tokenString) {
325
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
326
+ }
295
327
  }
296
328
  const response = yield this.request({
297
329
  path: `/organizations/{orgId}`.replace(`{${"orgId"}}`, encodeURIComponent(String(requestParameters['orgId']))),
@@ -299,7 +331,7 @@ export class OrganizationsApi extends runtime.BaseAPI {
299
331
  headers: headerParameters,
300
332
  query: queryParameters,
301
333
  }, initOverrides);
302
- return new runtime.JSONApiResponse(response, (jsonValue) => RollbackComponent200ResponseFromJSON(jsonValue));
334
+ return new runtime.JSONApiResponse(response, (jsonValue) => UsersSendFeedbackPost200ResponseFromJSON(jsonValue));
303
335
  });
304
336
  }
305
337
  /**
@@ -312,42 +344,6 @@ export class OrganizationsApi extends runtime.BaseAPI {
312
344
  return yield response.value();
313
345
  });
314
346
  }
315
- /**
316
- * Deletes an activity from the organization history. Only organization owners can delete activities.
317
- * Delete Organization Activity
318
- */
319
- deleteOrganizationActivityRaw(requestParameters, initOverrides) {
320
- return __awaiter(this, void 0, void 0, function* () {
321
- if (requestParameters['orgId'] == null) {
322
- throw new runtime.RequiredError('orgId', 'Required parameter "orgId" was null or undefined when calling deleteOrganizationActivity().');
323
- }
324
- if (requestParameters['activityId'] == null) {
325
- throw new runtime.RequiredError('activityId', 'Required parameter "activityId" was null or undefined when calling deleteOrganizationActivity().');
326
- }
327
- const queryParameters = {};
328
- const headerParameters = {};
329
- if (this.configuration && this.configuration.apiKey) {
330
- headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // apiKeyAuth authentication
331
- }
332
- const response = yield this.request({
333
- path: `/organizations/{orgId}/activities/{activityId}`.replace(`{${"orgId"}}`, encodeURIComponent(String(requestParameters['orgId']))).replace(`{${"activityId"}}`, encodeURIComponent(String(requestParameters['activityId']))),
334
- method: 'DELETE',
335
- headers: headerParameters,
336
- query: queryParameters,
337
- }, initOverrides);
338
- return new runtime.JSONApiResponse(response, (jsonValue) => RollbackComponent200ResponseFromJSON(jsonValue));
339
- });
340
- }
341
- /**
342
- * Deletes an activity from the organization history. Only organization owners can delete activities.
343
- * Delete Organization Activity
344
- */
345
- deleteOrganizationActivity(requestParameters, initOverrides) {
346
- return __awaiter(this, void 0, void 0, function* () {
347
- const response = yield this.deleteOrganizationActivityRaw(requestParameters, initOverrides);
348
- return yield response.value();
349
- });
350
- }
351
347
  /**
352
348
  * Delete an organization API key permanently. Only accessible by organization owners and admins with MANAGE_API_KEYS permission.
353
349
  * Delete Organization API Key
@@ -362,8 +358,12 @@ export class OrganizationsApi extends runtime.BaseAPI {
362
358
  }
363
359
  const queryParameters = {};
364
360
  const headerParameters = {};
365
- if (this.configuration && this.configuration.apiKey) {
366
- headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // apiKeyAuth authentication
361
+ if (this.configuration && this.configuration.accessToken) {
362
+ const token = this.configuration.accessToken;
363
+ const tokenString = yield token("apiKeyAuth", []);
364
+ if (tokenString) {
365
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
366
+ }
367
367
  }
368
368
  const response = yield this.request({
369
369
  path: `/organizations/{orgId}/api-keys/{keyId}`.replace(`{${"orgId"}}`, encodeURIComponent(String(requestParameters['orgId']))).replace(`{${"keyId"}}`, encodeURIComponent(String(requestParameters['keyId']))),
@@ -371,7 +371,7 @@ export class OrganizationsApi extends runtime.BaseAPI {
371
371
  headers: headerParameters,
372
372
  query: queryParameters,
373
373
  }, initOverrides);
374
- return new runtime.JSONApiResponse(response, (jsonValue) => RollbackComponent200ResponseFromJSON(jsonValue));
374
+ return new runtime.JSONApiResponse(response, (jsonValue) => UsersSendFeedbackPost200ResponseFromJSON(jsonValue));
375
375
  });
376
376
  }
377
377
  /**
@@ -398,8 +398,12 @@ export class OrganizationsApi extends runtime.BaseAPI {
398
398
  }
399
399
  const queryParameters = {};
400
400
  const headerParameters = {};
401
- if (this.configuration && this.configuration.apiKey) {
402
- headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // apiKeyAuth authentication
401
+ if (this.configuration && this.configuration.accessToken) {
402
+ const token = this.configuration.accessToken;
403
+ const tokenString = yield token("apiKeyAuth", []);
404
+ if (tokenString) {
405
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
406
+ }
403
407
  }
404
408
  const response = yield this.request({
405
409
  path: `/organizations/{orgId}/domains/{domainId}`.replace(`{${"orgId"}}`, encodeURIComponent(String(requestParameters['orgId']))).replace(`{${"domainId"}}`, encodeURIComponent(String(requestParameters['domainId']))),
@@ -434,8 +438,12 @@ export class OrganizationsApi extends runtime.BaseAPI {
434
438
  }
435
439
  const queryParameters = {};
436
440
  const headerParameters = {};
437
- if (this.configuration && this.configuration.apiKey) {
438
- headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // apiKeyAuth authentication
441
+ if (this.configuration && this.configuration.accessToken) {
442
+ const token = this.configuration.accessToken;
443
+ const tokenString = yield token("apiKeyAuth", []);
444
+ if (tokenString) {
445
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
446
+ }
439
447
  }
440
448
  const response = yield this.request({
441
449
  path: `/organizations/{orgId}/translations/{translationId}`.replace(`{${"orgId"}}`, encodeURIComponent(String(requestParameters['orgId']))).replace(`{${"translationId"}}`, encodeURIComponent(String(requestParameters['translationId']))),
@@ -479,8 +487,12 @@ export class OrganizationsApi extends runtime.BaseAPI {
479
487
  queryParameters['endDate'] = requestParameters['endDate'].toISOString().substring(0, 10);
480
488
  }
481
489
  const headerParameters = {};
482
- if (this.configuration && this.configuration.apiKey) {
483
- headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // apiKeyAuth authentication
490
+ if (this.configuration && this.configuration.accessToken) {
491
+ const token = this.configuration.accessToken;
492
+ const tokenString = yield token("apiKeyAuth", []);
493
+ if (tokenString) {
494
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
495
+ }
484
496
  }
485
497
  const response = yield this.request({
486
498
  path: `/organizations/{orgId}/reports/billing-impact`.replace(`{${"orgId"}}`, encodeURIComponent(String(requestParameters['orgId']))),
@@ -518,8 +530,12 @@ export class OrganizationsApi extends runtime.BaseAPI {
518
530
  queryParameters['endDate'] = requestParameters['endDate'].toISOString().substring(0, 10);
519
531
  }
520
532
  const headerParameters = {};
521
- if (this.configuration && this.configuration.apiKey) {
522
- headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // apiKeyAuth authentication
533
+ if (this.configuration && this.configuration.accessToken) {
534
+ const token = this.configuration.accessToken;
535
+ const tokenString = yield token("apiKeyAuth", []);
536
+ if (tokenString) {
537
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
538
+ }
523
539
  }
524
540
  const response = yield this.request({
525
541
  path: `/organizations/{orgId}/reports/comprehensive`.replace(`{${"orgId"}}`, encodeURIComponent(String(requestParameters['orgId']))),
@@ -548,8 +564,12 @@ export class OrganizationsApi extends runtime.BaseAPI {
548
564
  return __awaiter(this, void 0, void 0, function* () {
549
565
  const queryParameters = {};
550
566
  const headerParameters = {};
551
- if (this.configuration && this.configuration.apiKey) {
552
- headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // apiKeyAuth authentication
567
+ if (this.configuration && this.configuration.accessToken) {
568
+ const token = this.configuration.accessToken;
569
+ const tokenString = yield token("apiKeyAuth", []);
570
+ if (tokenString) {
571
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
572
+ }
553
573
  }
554
574
  const response = yield this.request({
555
575
  path: `/organizations/workspace/context`,
@@ -581,8 +601,12 @@ export class OrganizationsApi extends runtime.BaseAPI {
581
601
  }
582
602
  const queryParameters = {};
583
603
  const headerParameters = {};
584
- if (this.configuration && this.configuration.apiKey) {
585
- headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // apiKeyAuth authentication
604
+ if (this.configuration && this.configuration.accessToken) {
605
+ const token = this.configuration.accessToken;
606
+ const tokenString = yield token("apiKeyAuth", []);
607
+ if (tokenString) {
608
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
609
+ }
586
610
  }
587
611
  const response = yield this.request({
588
612
  path: `/organizations/{orgId}/reports/member-status`.replace(`{${"orgId"}}`, encodeURIComponent(String(requestParameters['orgId']))),
@@ -626,8 +650,12 @@ export class OrganizationsApi extends runtime.BaseAPI {
626
650
  queryParameters['endDate'] = requestParameters['endDate'].toISOString().substring(0, 10);
627
651
  }
628
652
  const headerParameters = {};
629
- if (this.configuration && this.configuration.apiKey) {
630
- headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // apiKeyAuth authentication
653
+ if (this.configuration && this.configuration.accessToken) {
654
+ const token = this.configuration.accessToken;
655
+ const tokenString = yield token("apiKeyAuth", []);
656
+ if (tokenString) {
657
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
658
+ }
631
659
  }
632
660
  const response = yield this.request({
633
661
  path: `/organizations/{orgId}/reports/member-trends`.replace(`{${"orgId"}}`, encodeURIComponent(String(requestParameters['orgId']))),
@@ -659,8 +687,12 @@ export class OrganizationsApi extends runtime.BaseAPI {
659
687
  }
660
688
  const queryParameters = {};
661
689
  const headerParameters = {};
662
- if (this.configuration && this.configuration.apiKey) {
663
- headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // apiKeyAuth authentication
690
+ if (this.configuration && this.configuration.accessToken) {
691
+ const token = this.configuration.accessToken;
692
+ const tokenString = yield token("apiKeyAuth", []);
693
+ if (tokenString) {
694
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
695
+ }
664
696
  }
665
697
  const response = yield this.request({
666
698
  path: `/organizations/{orgId}`.replace(`{${"orgId"}}`, encodeURIComponent(String(requestParameters['orgId']))),
@@ -681,90 +713,6 @@ export class OrganizationsApi extends runtime.BaseAPI {
681
713
  return yield response.value();
682
714
  });
683
715
  }
684
- /**
685
- * Retrieves the activity history for an organization. Shows public activities visible to all organization members.
686
- * Get Organization Activities
687
- */
688
- getOrganizationActivitiesRaw(requestParameters, initOverrides) {
689
- return __awaiter(this, void 0, void 0, function* () {
690
- if (requestParameters['orgId'] == null) {
691
- throw new runtime.RequiredError('orgId', 'Required parameter "orgId" was null or undefined when calling getOrganizationActivities().');
692
- }
693
- const queryParameters = {};
694
- if (requestParameters['limit'] != null) {
695
- queryParameters['limit'] = requestParameters['limit'];
696
- }
697
- if (requestParameters['offset'] != null) {
698
- queryParameters['offset'] = requestParameters['offset'];
699
- }
700
- if (requestParameters['category'] != null) {
701
- queryParameters['category'] = requestParameters['category'];
702
- }
703
- if (requestParameters['userId'] != null) {
704
- queryParameters['userId'] = requestParameters['userId'];
705
- }
706
- if (requestParameters['daysBack'] != null) {
707
- queryParameters['daysBack'] = requestParameters['daysBack'];
708
- }
709
- const headerParameters = {};
710
- if (this.configuration && this.configuration.apiKey) {
711
- headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // apiKeyAuth authentication
712
- }
713
- const response = yield this.request({
714
- path: `/organizations/{orgId}/activities`.replace(`{${"orgId"}}`, encodeURIComponent(String(requestParameters['orgId']))),
715
- method: 'GET',
716
- headers: headerParameters,
717
- query: queryParameters,
718
- }, initOverrides);
719
- return new runtime.JSONApiResponse(response, (jsonValue) => GetOrganizationActivities200ResponseFromJSON(jsonValue));
720
- });
721
- }
722
- /**
723
- * Retrieves the activity history for an organization. Shows public activities visible to all organization members.
724
- * Get Organization Activities
725
- */
726
- getOrganizationActivities(requestParameters, initOverrides) {
727
- return __awaiter(this, void 0, void 0, function* () {
728
- const response = yield this.getOrganizationActivitiesRaw(requestParameters, initOverrides);
729
- return yield response.value();
730
- });
731
- }
732
- /**
733
- * Retrieves activity statistics and trends for an organization. Useful for dashboard displays and analytics.
734
- * Get Organization Activity Statistics
735
- */
736
- getOrganizationActivityStatsRaw(requestParameters, initOverrides) {
737
- return __awaiter(this, void 0, void 0, function* () {
738
- if (requestParameters['orgId'] == null) {
739
- throw new runtime.RequiredError('orgId', 'Required parameter "orgId" was null or undefined when calling getOrganizationActivityStats().');
740
- }
741
- const queryParameters = {};
742
- if (requestParameters['daysBack'] != null) {
743
- queryParameters['daysBack'] = requestParameters['daysBack'];
744
- }
745
- const headerParameters = {};
746
- if (this.configuration && this.configuration.apiKey) {
747
- headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // apiKeyAuth authentication
748
- }
749
- const response = yield this.request({
750
- path: `/organizations/{orgId}/activities/stats`.replace(`{${"orgId"}}`, encodeURIComponent(String(requestParameters['orgId']))),
751
- method: 'GET',
752
- headers: headerParameters,
753
- query: queryParameters,
754
- }, initOverrides);
755
- return new runtime.JSONApiResponse(response, (jsonValue) => GetOrganizationActivityStats200ResponseFromJSON(jsonValue));
756
- });
757
- }
758
- /**
759
- * Retrieves activity statistics and trends for an organization. Useful for dashboard displays and analytics.
760
- * Get Organization Activity Statistics
761
- */
762
- getOrganizationActivityStats(requestParameters, initOverrides) {
763
- return __awaiter(this, void 0, void 0, function* () {
764
- const response = yield this.getOrganizationActivityStatsRaw(requestParameters, initOverrides);
765
- return yield response.value();
766
- });
767
- }
768
716
  /**
769
717
  * Retrieves usage logs for a specific organization API key with detailed information about each API call
770
718
  * Get Organization API Key Usage Logs
@@ -782,8 +730,12 @@ export class OrganizationsApi extends runtime.BaseAPI {
782
730
  queryParameters['limit'] = requestParameters['limit'];
783
731
  }
784
732
  const headerParameters = {};
785
- if (this.configuration && this.configuration.apiKey) {
786
- headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // apiKeyAuth authentication
733
+ if (this.configuration && this.configuration.accessToken) {
734
+ const token = this.configuration.accessToken;
735
+ const tokenString = yield token("apiKeyAuth", []);
736
+ if (tokenString) {
737
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
738
+ }
787
739
  }
788
740
  const response = yield this.request({
789
741
  path: `/organizations/{orgId}/api-keys/{keyId}/logs`.replace(`{${"orgId"}}`, encodeURIComponent(String(requestParameters['orgId']))).replace(`{${"keyId"}}`, encodeURIComponent(String(requestParameters['keyId']))),
@@ -815,8 +767,12 @@ export class OrganizationsApi extends runtime.BaseAPI {
815
767
  }
816
768
  const queryParameters = {};
817
769
  const headerParameters = {};
818
- if (this.configuration && this.configuration.apiKey) {
819
- headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // apiKeyAuth authentication
770
+ if (this.configuration && this.configuration.accessToken) {
771
+ const token = this.configuration.accessToken;
772
+ const tokenString = yield token("apiKeyAuth", []);
773
+ if (tokenString) {
774
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
775
+ }
820
776
  }
821
777
  const response = yield this.request({
822
778
  path: `/organizations/{orgId}/api-keys`.replace(`{${"orgId"}}`, encodeURIComponent(String(requestParameters['orgId']))),
@@ -857,8 +813,12 @@ export class OrganizationsApi extends runtime.BaseAPI {
857
813
  queryParameters['project'] = requestParameters['project'];
858
814
  }
859
815
  const headerParameters = {};
860
- if (this.configuration && this.configuration.apiKey) {
861
- headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // apiKeyAuth authentication
816
+ if (this.configuration && this.configuration.accessToken) {
817
+ const token = this.configuration.accessToken;
818
+ const tokenString = yield token("apiKeyAuth", []);
819
+ if (tokenString) {
820
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
821
+ }
862
822
  }
863
823
  const response = yield this.request({
864
824
  path: `/organizations/{orgId}/compositions`.replace(`{${"orgId"}}`, encodeURIComponent(String(requestParameters['orgId']))),
@@ -887,8 +847,12 @@ export class OrganizationsApi extends runtime.BaseAPI {
887
847
  return __awaiter(this, void 0, void 0, function* () {
888
848
  const queryParameters = {};
889
849
  const headerParameters = {};
890
- if (this.configuration && this.configuration.apiKey) {
891
- headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // apiKeyAuth authentication
850
+ if (this.configuration && this.configuration.accessToken) {
851
+ const token = this.configuration.accessToken;
852
+ const tokenString = yield token("apiKeyAuth", []);
853
+ if (tokenString) {
854
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
855
+ }
892
856
  }
893
857
  const response = yield this.request({
894
858
  path: `/organizations/config`,
@@ -920,8 +884,12 @@ export class OrganizationsApi extends runtime.BaseAPI {
920
884
  }
921
885
  const queryParameters = {};
922
886
  const headerParameters = {};
923
- if (this.configuration && this.configuration.apiKey) {
924
- headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // apiKeyAuth authentication
887
+ if (this.configuration && this.configuration.accessToken) {
888
+ const token = this.configuration.accessToken;
889
+ const tokenString = yield token("apiKeyAuth", []);
890
+ if (tokenString) {
891
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
892
+ }
925
893
  }
926
894
  const response = yield this.request({
927
895
  path: `/organizations/{orgId}/domains`.replace(`{${"orgId"}}`, encodeURIComponent(String(requestParameters['orgId']))),
@@ -953,8 +921,12 @@ export class OrganizationsApi extends runtime.BaseAPI {
953
921
  }
954
922
  const queryParameters = {};
955
923
  const headerParameters = {};
956
- if (this.configuration && this.configuration.apiKey) {
957
- headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // apiKeyAuth authentication
924
+ if (this.configuration && this.configuration.accessToken) {
925
+ const token = this.configuration.accessToken;
926
+ const tokenString = yield token("apiKeyAuth", []);
927
+ if (tokenString) {
928
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
929
+ }
958
930
  }
959
931
  const response = yield this.request({
960
932
  path: `/organizations/{orgId}/members`.replace(`{${"orgId"}}`, encodeURIComponent(String(requestParameters['orgId']))),
@@ -983,8 +955,12 @@ export class OrganizationsApi extends runtime.BaseAPI {
983
955
  return __awaiter(this, void 0, void 0, function* () {
984
956
  const queryParameters = {};
985
957
  const headerParameters = {};
986
- if (this.configuration && this.configuration.apiKey) {
987
- headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // apiKeyAuth authentication
958
+ if (this.configuration && this.configuration.accessToken) {
959
+ const token = this.configuration.accessToken;
960
+ const tokenString = yield token("apiKeyAuth", []);
961
+ if (tokenString) {
962
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
963
+ }
988
964
  }
989
965
  const response = yield this.request({
990
966
  path: `/organizations/pricing`,
@@ -1025,8 +1001,12 @@ export class OrganizationsApi extends runtime.BaseAPI {
1025
1001
  queryParameters['size'] = requestParameters['size'];
1026
1002
  }
1027
1003
  const headerParameters = {};
1028
- if (this.configuration && this.configuration.apiKey) {
1029
- headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // apiKeyAuth authentication
1004
+ if (this.configuration && this.configuration.accessToken) {
1005
+ const token = this.configuration.accessToken;
1006
+ const tokenString = yield token("apiKeyAuth", []);
1007
+ if (tokenString) {
1008
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
1009
+ }
1030
1010
  }
1031
1011
  const response = yield this.request({
1032
1012
  path: `/organizations/{orgId}/projects/{projectId}/compositions`.replace(`{${"orgId"}}`, encodeURIComponent(String(requestParameters['orgId']))).replace(`{${"projectId"}}`, encodeURIComponent(String(requestParameters['projectId']))),
@@ -1067,8 +1047,12 @@ export class OrganizationsApi extends runtime.BaseAPI {
1067
1047
  queryParameters['size'] = requestParameters['size'];
1068
1048
  }
1069
1049
  const headerParameters = {};
1070
- if (this.configuration && this.configuration.apiKey) {
1071
- headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // apiKeyAuth authentication
1050
+ if (this.configuration && this.configuration.accessToken) {
1051
+ const token = this.configuration.accessToken;
1052
+ const tokenString = yield token("apiKeyAuth", []);
1053
+ if (tokenString) {
1054
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
1055
+ }
1072
1056
  }
1073
1057
  const response = yield this.request({
1074
1058
  path: `/organizations/{orgId}/projects/{projectId}/widgets`.replace(`{${"orgId"}}`, encodeURIComponent(String(requestParameters['orgId']))).replace(`{${"projectId"}}`, encodeURIComponent(String(requestParameters['projectId']))),
@@ -1100,8 +1084,12 @@ export class OrganizationsApi extends runtime.BaseAPI {
1100
1084
  }
1101
1085
  const queryParameters = {};
1102
1086
  const headerParameters = {};
1103
- if (this.configuration && this.configuration.apiKey) {
1104
- headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // apiKeyAuth authentication
1087
+ if (this.configuration && this.configuration.accessToken) {
1088
+ const token = this.configuration.accessToken;
1089
+ const tokenString = yield token("apiKeyAuth", []);
1090
+ if (tokenString) {
1091
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
1092
+ }
1105
1093
  }
1106
1094
  const response = yield this.request({
1107
1095
  path: `/organizations/{orgId}/storage/usage`.replace(`{${"orgId"}}`, encodeURIComponent(String(requestParameters['orgId']))),
@@ -1136,8 +1124,12 @@ export class OrganizationsApi extends runtime.BaseAPI {
1136
1124
  }
1137
1125
  const queryParameters = {};
1138
1126
  const headerParameters = {};
1139
- if (this.configuration && this.configuration.apiKey) {
1140
- headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // apiKeyAuth authentication
1127
+ if (this.configuration && this.configuration.accessToken) {
1128
+ const token = this.configuration.accessToken;
1129
+ const tokenString = yield token("apiKeyAuth", []);
1130
+ if (tokenString) {
1131
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
1132
+ }
1141
1133
  }
1142
1134
  const response = yield this.request({
1143
1135
  path: `/organizations/{orgId}/translations/{translationId}`.replace(`{${"orgId"}}`, encodeURIComponent(String(requestParameters['orgId']))).replace(`{${"translationId"}}`, encodeURIComponent(String(requestParameters['translationId']))),
@@ -1178,8 +1170,12 @@ export class OrganizationsApi extends runtime.BaseAPI {
1178
1170
  queryParameters['project'] = requestParameters['project'];
1179
1171
  }
1180
1172
  const headerParameters = {};
1181
- if (this.configuration && this.configuration.apiKey) {
1182
- headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // apiKeyAuth authentication
1173
+ if (this.configuration && this.configuration.accessToken) {
1174
+ const token = this.configuration.accessToken;
1175
+ const tokenString = yield token("apiKeyAuth", []);
1176
+ if (tokenString) {
1177
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
1178
+ }
1183
1179
  }
1184
1180
  const response = yield this.request({
1185
1181
  path: `/organizations/{orgId}/widgets`.replace(`{${"orgId"}}`, encodeURIComponent(String(requestParameters['orgId']))),
@@ -1211,8 +1207,12 @@ export class OrganizationsApi extends runtime.BaseAPI {
1211
1207
  }
1212
1208
  const queryParameters = {};
1213
1209
  const headerParameters = {};
1214
- if (this.configuration && this.configuration.apiKey) {
1215
- headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // apiKeyAuth authentication
1210
+ if (this.configuration && this.configuration.accessToken) {
1211
+ const token = this.configuration.accessToken;
1212
+ const tokenString = yield token("apiKeyAuth", []);
1213
+ if (tokenString) {
1214
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
1215
+ }
1216
1216
  }
1217
1217
  const response = yield this.request({
1218
1218
  path: `/organizations/{orgId}/storage/packs`.replace(`{${"orgId"}}`, encodeURIComponent(String(requestParameters['orgId']))),
@@ -1241,8 +1241,12 @@ export class OrganizationsApi extends runtime.BaseAPI {
1241
1241
  return __awaiter(this, void 0, void 0, function* () {
1242
1242
  const queryParameters = {};
1243
1243
  const headerParameters = {};
1244
- if (this.configuration && this.configuration.apiKey) {
1245
- headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // apiKeyAuth authentication
1244
+ if (this.configuration && this.configuration.accessToken) {
1245
+ const token = this.configuration.accessToken;
1246
+ const tokenString = yield token("apiKeyAuth", []);
1247
+ if (tokenString) {
1248
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
1249
+ }
1246
1250
  }
1247
1251
  const response = yield this.request({
1248
1252
  path: `/organizations/me`,
@@ -1271,8 +1275,12 @@ export class OrganizationsApi extends runtime.BaseAPI {
1271
1275
  return __awaiter(this, void 0, void 0, function* () {
1272
1276
  const queryParameters = {};
1273
1277
  const headerParameters = {};
1274
- if (this.configuration && this.configuration.apiKey) {
1275
- headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // apiKeyAuth authentication
1278
+ if (this.configuration && this.configuration.accessToken) {
1279
+ const token = this.configuration.accessToken;
1280
+ const tokenString = yield token("apiKeyAuth", []);
1281
+ if (tokenString) {
1282
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
1283
+ }
1276
1284
  }
1277
1285
  const response = yield this.request({
1278
1286
  path: `/organizations`,
@@ -1308,8 +1316,12 @@ export class OrganizationsApi extends runtime.BaseAPI {
1308
1316
  const queryParameters = {};
1309
1317
  const headerParameters = {};
1310
1318
  headerParameters['Content-Type'] = 'application/json';
1311
- if (this.configuration && this.configuration.apiKey) {
1312
- headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // apiKeyAuth authentication
1319
+ if (this.configuration && this.configuration.accessToken) {
1320
+ const token = this.configuration.accessToken;
1321
+ const tokenString = yield token("apiKeyAuth", []);
1322
+ if (tokenString) {
1323
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
1324
+ }
1313
1325
  }
1314
1326
  const response = yield this.request({
1315
1327
  path: `/organizations/{orgId}/members/invite`.replace(`{${"orgId"}}`, encodeURIComponent(String(requestParameters['orgId']))),
@@ -1342,8 +1354,12 @@ export class OrganizationsApi extends runtime.BaseAPI {
1342
1354
  }
1343
1355
  const queryParameters = {};
1344
1356
  const headerParameters = {};
1345
- if (this.configuration && this.configuration.apiKey) {
1346
- headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // apiKeyAuth authentication
1357
+ if (this.configuration && this.configuration.accessToken) {
1358
+ const token = this.configuration.accessToken;
1359
+ const tokenString = yield token("apiKeyAuth", []);
1360
+ if (tokenString) {
1361
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
1362
+ }
1347
1363
  }
1348
1364
  const response = yield this.request({
1349
1365
  path: `/organizations/{orgId}/members/leave`.replace(`{${"orgId"}}`, encodeURIComponent(String(requestParameters['orgId']))),
@@ -1351,7 +1367,7 @@ export class OrganizationsApi extends runtime.BaseAPI {
1351
1367
  headers: headerParameters,
1352
1368
  query: queryParameters,
1353
1369
  }, initOverrides);
1354
- return new runtime.JSONApiResponse(response, (jsonValue) => RollbackComponent200ResponseFromJSON(jsonValue));
1370
+ return new runtime.JSONApiResponse(response, (jsonValue) => UsersSendFeedbackPost200ResponseFromJSON(jsonValue));
1355
1371
  });
1356
1372
  }
1357
1373
  /**
@@ -1378,8 +1394,12 @@ export class OrganizationsApi extends runtime.BaseAPI {
1378
1394
  queryParameters['status'] = requestParameters['status'];
1379
1395
  }
1380
1396
  const headerParameters = {};
1381
- if (this.configuration && this.configuration.apiKey) {
1382
- headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // apiKeyAuth authentication
1397
+ if (this.configuration && this.configuration.accessToken) {
1398
+ const token = this.configuration.accessToken;
1399
+ const tokenString = yield token("apiKeyAuth", []);
1400
+ if (tokenString) {
1401
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
1402
+ }
1383
1403
  }
1384
1404
  const response = yield this.request({
1385
1405
  path: `/organizations/{orgId}/translations`.replace(`{${"orgId"}}`, encodeURIComponent(String(requestParameters['orgId']))),
@@ -1400,44 +1420,6 @@ export class OrganizationsApi extends runtime.BaseAPI {
1400
1420
  return yield response.value();
1401
1421
  });
1402
1422
  }
1403
- /**
1404
- * Logs a new activity for the organization. Used internally by the system to track user actions.
1405
- * Log Organization Activity
1406
- */
1407
- logOrganizationActivityRaw(requestParameters, initOverrides) {
1408
- return __awaiter(this, void 0, void 0, function* () {
1409
- if (requestParameters['orgId'] == null) {
1410
- throw new runtime.RequiredError('orgId', 'Required parameter "orgId" was null or undefined when calling logOrganizationActivity().');
1411
- }
1412
- if (requestParameters['logOrganizationActivityRequest'] == null) {
1413
- throw new runtime.RequiredError('logOrganizationActivityRequest', 'Required parameter "logOrganizationActivityRequest" was null or undefined when calling logOrganizationActivity().');
1414
- }
1415
- const queryParameters = {};
1416
- const headerParameters = {};
1417
- headerParameters['Content-Type'] = 'application/json';
1418
- if (this.configuration && this.configuration.apiKey) {
1419
- headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // apiKeyAuth authentication
1420
- }
1421
- const response = yield this.request({
1422
- path: `/organizations/{orgId}/activities`.replace(`{${"orgId"}}`, encodeURIComponent(String(requestParameters['orgId']))),
1423
- method: 'POST',
1424
- headers: headerParameters,
1425
- query: queryParameters,
1426
- body: LogOrganizationActivityRequestToJSON(requestParameters['logOrganizationActivityRequest']),
1427
- }, initOverrides);
1428
- return new runtime.JSONApiResponse(response, (jsonValue) => LogOrganizationActivity201ResponseFromJSON(jsonValue));
1429
- });
1430
- }
1431
- /**
1432
- * Logs a new activity for the organization. Used internally by the system to track user actions.
1433
- * Log Organization Activity
1434
- */
1435
- logOrganizationActivity(requestParameters, initOverrides) {
1436
- return __awaiter(this, void 0, void 0, function* () {
1437
- const response = yield this.logOrganizationActivityRaw(requestParameters, initOverrides);
1438
- return yield response.value();
1439
- });
1440
- }
1441
1423
  /**
1442
1424
  * Cancel organization subscription
1443
1425
  */
@@ -1606,7 +1588,7 @@ export class OrganizationsApi extends runtime.BaseAPI {
1606
1588
  headers: headerParameters,
1607
1589
  query: queryParameters,
1608
1590
  }, initOverrides);
1609
- return new runtime.JSONApiResponse(response, (jsonValue) => ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseFromJSON(jsonValue));
1591
+ return new runtime.JSONApiResponse(response, (jsonValue) => OrganizationsOrgIdBillingPaymentMethodsGet200ResponseFromJSON(jsonValue));
1610
1592
  });
1611
1593
  }
1612
1594
  /**
@@ -1626,8 +1608,8 @@ export class OrganizationsApi extends runtime.BaseAPI {
1626
1608
  if (requestParameters['orgId'] == null) {
1627
1609
  throw new runtime.RequiredError('orgId', 'Required parameter "orgId" was null or undefined when calling organizationsOrgIdBillingPaymentMethodsPost().');
1628
1610
  }
1629
- if (requestParameters['apiV1BillingUsersUserIdPaymentMethodsPostRequest'] == null) {
1630
- throw new runtime.RequiredError('apiV1BillingUsersUserIdPaymentMethodsPostRequest', 'Required parameter "apiV1BillingUsersUserIdPaymentMethodsPostRequest" was null or undefined when calling organizationsOrgIdBillingPaymentMethodsPost().');
1611
+ if (requestParameters['organizationsOrgIdBillingPaymentMethodsPostRequest'] == null) {
1612
+ throw new runtime.RequiredError('organizationsOrgIdBillingPaymentMethodsPostRequest', 'Required parameter "organizationsOrgIdBillingPaymentMethodsPostRequest" was null or undefined when calling organizationsOrgIdBillingPaymentMethodsPost().');
1631
1613
  }
1632
1614
  const queryParameters = {};
1633
1615
  const headerParameters = {};
@@ -1644,9 +1626,9 @@ export class OrganizationsApi extends runtime.BaseAPI {
1644
1626
  method: 'POST',
1645
1627
  headers: headerParameters,
1646
1628
  query: queryParameters,
1647
- body: ApiV1BillingUsersUserIdPaymentMethodsPostRequestToJSON(requestParameters['apiV1BillingUsersUserIdPaymentMethodsPostRequest']),
1629
+ body: OrganizationsOrgIdBillingPaymentMethodsPostRequestToJSON(requestParameters['organizationsOrgIdBillingPaymentMethodsPostRequest']),
1648
1630
  }, initOverrides);
1649
- return new runtime.JSONApiResponse(response, (jsonValue) => ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseFromJSON(jsonValue));
1631
+ return new runtime.JSONApiResponse(response, (jsonValue) => OrganizationsOrgIdBillingPaymentMethodsPost200ResponseFromJSON(jsonValue));
1650
1632
  });
1651
1633
  }
1652
1634
  /**
@@ -1681,7 +1663,7 @@ export class OrganizationsApi extends runtime.BaseAPI {
1681
1663
  headers: headerParameters,
1682
1664
  query: queryParameters,
1683
1665
  }, initOverrides);
1684
- return new runtime.JSONApiResponse(response, (jsonValue) => ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseFromJSON(jsonValue));
1666
+ return new runtime.JSONApiResponse(response, (jsonValue) => OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200ResponseFromJSON(jsonValue));
1685
1667
  });
1686
1668
  }
1687
1669
  /**
@@ -1716,9 +1698,9 @@ export class OrganizationsApi extends runtime.BaseAPI {
1716
1698
  method: 'POST',
1717
1699
  headers: headerParameters,
1718
1700
  query: queryParameters,
1719
- body: ApiV1BillingUsersUserIdPortalPostRequestToJSON(requestParameters['apiV1BillingUsersUserIdPortalPostRequest']),
1701
+ body: OrganizationsOrgIdBillingPortalPostRequestToJSON(requestParameters['organizationsOrgIdBillingPortalPostRequest']),
1720
1702
  }, initOverrides);
1721
- return new runtime.JSONApiResponse(response, (jsonValue) => ApiV1BillingUsersUserIdPortalPost200ResponseFromJSON(jsonValue));
1703
+ return new runtime.JSONApiResponse(response, (jsonValue) => OrganizationsOrgIdBillingPortalPost200ResponseFromJSON(jsonValue));
1722
1704
  });
1723
1705
  }
1724
1706
  /**
@@ -1794,7 +1776,7 @@ export class OrganizationsApi extends runtime.BaseAPI {
1794
1776
  headers: headerParameters,
1795
1777
  query: queryParameters,
1796
1778
  }, initOverrides);
1797
- return new runtime.JSONApiResponse(response, (jsonValue) => LoginUser200ResponseFromJSON(jsonValue));
1779
+ return new runtime.JSONApiResponse(response, (jsonValue) => OrganizationsOrgIdBillingYearlyPricingComparisonGet200ResponseFromJSON(jsonValue));
1798
1780
  });
1799
1781
  }
1800
1782
  /**
@@ -1995,7 +1977,7 @@ export class OrganizationsApi extends runtime.BaseAPI {
1995
1977
  headers: headerParameters,
1996
1978
  query: queryParameters,
1997
1979
  }, initOverrides);
1998
- return new runtime.JSONApiResponse(response, (jsonValue) => LoginUser200ResponseFromJSON(jsonValue));
1980
+ return new runtime.JSONApiResponse(response, (jsonValue) => OrganizationsOrgIdBillingYearlyPricingComparisonGet200ResponseFromJSON(jsonValue));
1999
1981
  });
2000
1982
  }
2001
1983
  /**
@@ -2065,8 +2047,12 @@ export class OrganizationsApi extends runtime.BaseAPI {
2065
2047
  const queryParameters = {};
2066
2048
  const headerParameters = {};
2067
2049
  headerParameters['Content-Type'] = 'application/json';
2068
- if (this.configuration && this.configuration.apiKey) {
2069
- headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // apiKeyAuth authentication
2050
+ if (this.configuration && this.configuration.accessToken) {
2051
+ const token = this.configuration.accessToken;
2052
+ const tokenString = yield token("apiKeyAuth", []);
2053
+ if (tokenString) {
2054
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
2055
+ }
2070
2056
  }
2071
2057
  const response = yield this.request({
2072
2058
  path: `/organizations/{orgId}/storage/purchase-pack`.replace(`{${"orgId"}}`, encodeURIComponent(String(requestParameters['orgId']))),
@@ -2103,8 +2089,12 @@ export class OrganizationsApi extends runtime.BaseAPI {
2103
2089
  const queryParameters = {};
2104
2090
  const headerParameters = {};
2105
2091
  headerParameters['Content-Type'] = 'application/json';
2106
- if (this.configuration && this.configuration.apiKey) {
2107
- headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // apiKeyAuth authentication
2092
+ if (this.configuration && this.configuration.accessToken) {
2093
+ const token = this.configuration.accessToken;
2094
+ const tokenString = yield token("apiKeyAuth", []);
2095
+ if (tokenString) {
2096
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
2097
+ }
2108
2098
  }
2109
2099
  const response = yield this.request({
2110
2100
  path: `/organizations/{orgId}/members/{userId}/reactivate`.replace(`{${"orgId"}}`, encodeURIComponent(String(requestParameters['orgId']))).replace(`{${"userId"}}`, encodeURIComponent(String(requestParameters['userId']))),
@@ -2140,8 +2130,12 @@ export class OrganizationsApi extends runtime.BaseAPI {
2140
2130
  }
2141
2131
  const queryParameters = {};
2142
2132
  const headerParameters = {};
2143
- if (this.configuration && this.configuration.apiKey) {
2144
- headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // apiKeyAuth authentication
2133
+ if (this.configuration && this.configuration.accessToken) {
2134
+ const token = this.configuration.accessToken;
2135
+ const tokenString = yield token("apiKeyAuth", []);
2136
+ if (tokenString) {
2137
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
2138
+ }
2145
2139
  }
2146
2140
  const response = yield this.request({
2147
2141
  path: `/organizations/{orgId}/members/{userId}`.replace(`{${"orgId"}}`, encodeURIComponent(String(requestParameters['orgId']))).replace(`{${"userId"}}`, encodeURIComponent(String(requestParameters['userId']))),
@@ -2149,7 +2143,7 @@ export class OrganizationsApi extends runtime.BaseAPI {
2149
2143
  headers: headerParameters,
2150
2144
  query: queryParameters,
2151
2145
  }, initOverrides);
2152
- return new runtime.JSONApiResponse(response, (jsonValue) => RollbackComponent200ResponseFromJSON(jsonValue));
2146
+ return new runtime.JSONApiResponse(response, (jsonValue) => UsersSendFeedbackPost200ResponseFromJSON(jsonValue));
2153
2147
  });
2154
2148
  }
2155
2149
  /**
@@ -2176,8 +2170,12 @@ export class OrganizationsApi extends runtime.BaseAPI {
2176
2170
  }
2177
2171
  const queryParameters = {};
2178
2172
  const headerParameters = {};
2179
- if (this.configuration && this.configuration.apiKey) {
2180
- headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // apiKeyAuth authentication
2173
+ if (this.configuration && this.configuration.accessToken) {
2174
+ const token = this.configuration.accessToken;
2175
+ const tokenString = yield token("apiKeyAuth", []);
2176
+ if (tokenString) {
2177
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
2178
+ }
2181
2179
  }
2182
2180
  const response = yield this.request({
2183
2181
  path: `/organizations/{orgId}/invitations/{email}/resend`.replace(`{${"orgId"}}`, encodeURIComponent(String(requestParameters['orgId']))).replace(`{${"email"}}`, encodeURIComponent(String(requestParameters['email']))),
@@ -2185,7 +2183,7 @@ export class OrganizationsApi extends runtime.BaseAPI {
2185
2183
  headers: headerParameters,
2186
2184
  query: queryParameters,
2187
2185
  }, initOverrides);
2188
- return new runtime.JSONApiResponse(response, (jsonValue) => RollbackComponent200ResponseFromJSON(jsonValue));
2186
+ return new runtime.JSONApiResponse(response, (jsonValue) => UsersSendFeedbackPost200ResponseFromJSON(jsonValue));
2189
2187
  });
2190
2188
  }
2191
2189
  /**
@@ -2213,8 +2211,12 @@ export class OrganizationsApi extends runtime.BaseAPI {
2213
2211
  const queryParameters = {};
2214
2212
  const headerParameters = {};
2215
2213
  headerParameters['Content-Type'] = 'application/json';
2216
- if (this.configuration && this.configuration.apiKey) {
2217
- headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // apiKeyAuth authentication
2214
+ if (this.configuration && this.configuration.accessToken) {
2215
+ const token = this.configuration.accessToken;
2216
+ const tokenString = yield token("apiKeyAuth", []);
2217
+ if (tokenString) {
2218
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
2219
+ }
2218
2220
  }
2219
2221
  const response = yield this.request({
2220
2222
  path: `/organizations/{orgId}/members/{userId}/suspend`.replace(`{${"orgId"}}`, encodeURIComponent(String(requestParameters['orgId']))).replace(`{${"userId"}}`, encodeURIComponent(String(requestParameters['userId']))),
@@ -2245,8 +2247,12 @@ export class OrganizationsApi extends runtime.BaseAPI {
2245
2247
  const queryParameters = {};
2246
2248
  const headerParameters = {};
2247
2249
  headerParameters['Content-Type'] = 'application/json';
2248
- if (this.configuration && this.configuration.apiKey) {
2249
- headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // apiKeyAuth authentication
2250
+ if (this.configuration && this.configuration.accessToken) {
2251
+ const token = this.configuration.accessToken;
2252
+ const tokenString = yield token("apiKeyAuth", []);
2253
+ if (tokenString) {
2254
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
2255
+ }
2250
2256
  }
2251
2257
  const response = yield this.request({
2252
2258
  path: `/organizations/workspace/switch-to-organization`,
@@ -2276,8 +2282,12 @@ export class OrganizationsApi extends runtime.BaseAPI {
2276
2282
  return __awaiter(this, void 0, void 0, function* () {
2277
2283
  const queryParameters = {};
2278
2284
  const headerParameters = {};
2279
- if (this.configuration && this.configuration.apiKey) {
2280
- headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // apiKeyAuth authentication
2285
+ if (this.configuration && this.configuration.accessToken) {
2286
+ const token = this.configuration.accessToken;
2287
+ const tokenString = yield token("apiKeyAuth", []);
2288
+ if (tokenString) {
2289
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
2290
+ }
2281
2291
  }
2282
2292
  const response = yield this.request({
2283
2293
  path: `/organizations/workspace/switch-to-personal`,
@@ -2310,8 +2320,12 @@ export class OrganizationsApi extends runtime.BaseAPI {
2310
2320
  const queryParameters = {};
2311
2321
  const headerParameters = {};
2312
2322
  headerParameters['Content-Type'] = 'application/json';
2313
- if (this.configuration && this.configuration.apiKey) {
2314
- headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // apiKeyAuth authentication
2323
+ if (this.configuration && this.configuration.accessToken) {
2324
+ const token = this.configuration.accessToken;
2325
+ const tokenString = yield token("apiKeyAuth", []);
2326
+ if (tokenString) {
2327
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
2328
+ }
2315
2329
  }
2316
2330
  const response = yield this.request({
2317
2331
  path: `/organizations/test-email`,
@@ -2347,8 +2361,12 @@ export class OrganizationsApi extends runtime.BaseAPI {
2347
2361
  const queryParameters = {};
2348
2362
  const headerParameters = {};
2349
2363
  headerParameters['Content-Type'] = 'application/json';
2350
- if (this.configuration && this.configuration.apiKey) {
2351
- headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // apiKeyAuth authentication
2364
+ if (this.configuration && this.configuration.accessToken) {
2365
+ const token = this.configuration.accessToken;
2366
+ const tokenString = yield token("apiKeyAuth", []);
2367
+ if (tokenString) {
2368
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
2369
+ }
2352
2370
  }
2353
2371
  const response = yield this.request({
2354
2372
  path: `/organizations/{orgId}/transfer-ownership`.replace(`{${"orgId"}}`, encodeURIComponent(String(requestParameters['orgId']))),
@@ -2357,7 +2375,7 @@ export class OrganizationsApi extends runtime.BaseAPI {
2357
2375
  query: queryParameters,
2358
2376
  body: TransferOrganizationOwnershipRequestToJSON(requestParameters['transferOrganizationOwnershipRequest']),
2359
2377
  }, initOverrides);
2360
- return new runtime.JSONApiResponse(response, (jsonValue) => RollbackComponent200ResponseFromJSON(jsonValue));
2378
+ return new runtime.JSONApiResponse(response, (jsonValue) => UsersSendFeedbackPost200ResponseFromJSON(jsonValue));
2361
2379
  });
2362
2380
  }
2363
2381
  /**
@@ -2388,8 +2406,12 @@ export class OrganizationsApi extends runtime.BaseAPI {
2388
2406
  const queryParameters = {};
2389
2407
  const headerParameters = {};
2390
2408
  headerParameters['Content-Type'] = 'application/json';
2391
- if (this.configuration && this.configuration.apiKey) {
2392
- headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // apiKeyAuth authentication
2409
+ if (this.configuration && this.configuration.accessToken) {
2410
+ const token = this.configuration.accessToken;
2411
+ const tokenString = yield token("apiKeyAuth", []);
2412
+ if (tokenString) {
2413
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
2414
+ }
2393
2415
  }
2394
2416
  const response = yield this.request({
2395
2417
  path: `/organizations/{orgId}/members/{userId}/access`.replace(`{${"orgId"}}`, encodeURIComponent(String(requestParameters['orgId']))).replace(`{${"userId"}}`, encodeURIComponent(String(requestParameters['userId']))),
@@ -2429,8 +2451,12 @@ export class OrganizationsApi extends runtime.BaseAPI {
2429
2451
  const queryParameters = {};
2430
2452
  const headerParameters = {};
2431
2453
  headerParameters['Content-Type'] = 'application/json';
2432
- if (this.configuration && this.configuration.apiKey) {
2433
- headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // apiKeyAuth authentication
2454
+ if (this.configuration && this.configuration.accessToken) {
2455
+ const token = this.configuration.accessToken;
2456
+ const tokenString = yield token("apiKeyAuth", []);
2457
+ if (tokenString) {
2458
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
2459
+ }
2434
2460
  }
2435
2461
  const response = yield this.request({
2436
2462
  path: `/organizations/{orgId}/members/{userId}/role`.replace(`{${"orgId"}}`, encodeURIComponent(String(requestParameters['orgId']))).replace(`{${"userId"}}`, encodeURIComponent(String(requestParameters['userId']))),
@@ -2467,8 +2493,12 @@ export class OrganizationsApi extends runtime.BaseAPI {
2467
2493
  const queryParameters = {};
2468
2494
  const headerParameters = {};
2469
2495
  headerParameters['Content-Type'] = 'application/json';
2470
- if (this.configuration && this.configuration.apiKey) {
2471
- headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // apiKeyAuth authentication
2496
+ if (this.configuration && this.configuration.accessToken) {
2497
+ const token = this.configuration.accessToken;
2498
+ const tokenString = yield token("apiKeyAuth", []);
2499
+ if (tokenString) {
2500
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
2501
+ }
2472
2502
  }
2473
2503
  const response = yield this.request({
2474
2504
  path: `/organizations/{orgId}`.replace(`{${"orgId"}}`, encodeURIComponent(String(requestParameters['orgId']))),
@@ -2508,8 +2538,12 @@ export class OrganizationsApi extends runtime.BaseAPI {
2508
2538
  const queryParameters = {};
2509
2539
  const headerParameters = {};
2510
2540
  headerParameters['Content-Type'] = 'application/json';
2511
- if (this.configuration && this.configuration.apiKey) {
2512
- headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // apiKeyAuth authentication
2541
+ if (this.configuration && this.configuration.accessToken) {
2542
+ const token = this.configuration.accessToken;
2543
+ const tokenString = yield token("apiKeyAuth", []);
2544
+ if (tokenString) {
2545
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
2546
+ }
2513
2547
  }
2514
2548
  const response = yield this.request({
2515
2549
  path: `/organizations/{orgId}/api-keys/{keyId}`.replace(`{${"orgId"}}`, encodeURIComponent(String(requestParameters['orgId']))).replace(`{${"keyId"}}`, encodeURIComponent(String(requestParameters['keyId']))),
@@ -2549,8 +2583,12 @@ export class OrganizationsApi extends runtime.BaseAPI {
2549
2583
  const queryParameters = {};
2550
2584
  const headerParameters = {};
2551
2585
  headerParameters['Content-Type'] = 'application/json';
2552
- if (this.configuration && this.configuration.apiKey) {
2553
- headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // apiKeyAuth authentication
2586
+ if (this.configuration && this.configuration.accessToken) {
2587
+ const token = this.configuration.accessToken;
2588
+ const tokenString = yield token("apiKeyAuth", []);
2589
+ if (tokenString) {
2590
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
2591
+ }
2554
2592
  }
2555
2593
  const response = yield this.request({
2556
2594
  path: `/organizations/{orgId}/domains/{domainId}`.replace(`{${"orgId"}}`, encodeURIComponent(String(requestParameters['orgId']))).replace(`{${"domainId"}}`, encodeURIComponent(String(requestParameters['domainId']))),
@@ -2590,8 +2628,12 @@ export class OrganizationsApi extends runtime.BaseAPI {
2590
2628
  const queryParameters = {};
2591
2629
  const headerParameters = {};
2592
2630
  headerParameters['Content-Type'] = 'application/json';
2593
- if (this.configuration && this.configuration.apiKey) {
2594
- headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // apiKeyAuth authentication
2631
+ if (this.configuration && this.configuration.accessToken) {
2632
+ const token = this.configuration.accessToken;
2633
+ const tokenString = yield token("apiKeyAuth", []);
2634
+ if (tokenString) {
2635
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
2636
+ }
2595
2637
  }
2596
2638
  const response = yield this.request({
2597
2639
  path: `/organizations/{orgId}/translations/{translationId}/status`.replace(`{${"orgId"}}`, encodeURIComponent(String(requestParameters['orgId']))).replace(`{${"translationId"}}`, encodeURIComponent(String(requestParameters['translationId']))),
@@ -2625,8 +2667,12 @@ export class OrganizationsApi extends runtime.BaseAPI {
2625
2667
  const queryParameters = {};
2626
2668
  const headerParameters = {};
2627
2669
  headerParameters['Content-Type'] = 'application/json';
2628
- if (this.configuration && this.configuration.apiKey) {
2629
- headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // apiKeyAuth authentication
2670
+ if (this.configuration && this.configuration.accessToken) {
2671
+ const token = this.configuration.accessToken;
2672
+ const tokenString = yield token("apiKeyAuth", []);
2673
+ if (tokenString) {
2674
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
2675
+ }
2630
2676
  }
2631
2677
  const response = yield this.request({
2632
2678
  path: `/organizations/validate`,
@@ -2649,20 +2695,6 @@ export class OrganizationsApi extends runtime.BaseAPI {
2649
2695
  });
2650
2696
  }
2651
2697
  }
2652
- /**
2653
- * @export
2654
- */
2655
- export const GetOrganizationActivitiesCategoryEnum = {
2656
- Widget: 'widget',
2657
- Composition: 'composition',
2658
- Project: 'project',
2659
- Organization: 'organization',
2660
- Collaboration: 'collaboration',
2661
- File: 'file',
2662
- Integration: 'integration',
2663
- Publishing: 'publishing',
2664
- Billing: 'billing'
2665
- };
2666
2698
  /**
2667
2699
  * @export
2668
2700
  */