@widgetic/api-sdk 1.0.20 → 1.0.22
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.
- package/dist/apis/AdminBillingApi.d.ts +92 -1
- package/dist/apis/AdminBillingApi.js +246 -1
- package/dist/apis/AgentApi.d.ts +17 -5
- package/dist/apis/AgentApi.js +42 -4
- package/dist/apis/AuthenticationApi.d.ts +12 -1
- package/dist/apis/AuthenticationApi.js +31 -0
- package/dist/apis/BillingApi.js +13 -13
- package/dist/apis/CompositionsApi.d.ts +5 -5
- package/dist/apis/CompositionsApi.js +3 -3
- package/dist/apis/CreditsApi.d.ts +4 -4
- package/dist/apis/CreditsApi.js +4 -4
- package/dist/apis/MCPApi.d.ts +6 -6
- package/dist/apis/MCPApi.js +15 -6
- package/dist/apis/NoticesApi.d.ts +41 -0
- package/dist/apis/NoticesApi.js +103 -0
- package/dist/apis/OrganizationsApi.d.ts +17 -4
- package/dist/apis/OrganizationsApi.js +41 -4
- package/dist/apis/SubscriptionsApi.d.ts +32 -4
- package/dist/apis/SubscriptionsApi.js +82 -5
- package/dist/apis/WidgetsApi.d.ts +19 -35
- package/dist/apis/WidgetsApi.js +32 -32
- package/dist/apis/WorkflowsApi.d.ts +2 -2
- package/dist/apis/WorkflowsApi.js +2 -2
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/esm/apis/AdminBillingApi.d.ts +92 -1
- package/dist/esm/apis/AdminBillingApi.js +246 -1
- package/dist/esm/apis/AgentApi.d.ts +17 -5
- package/dist/esm/apis/AgentApi.js +43 -5
- package/dist/esm/apis/AuthenticationApi.d.ts +12 -1
- package/dist/esm/apis/AuthenticationApi.js +32 -1
- package/dist/esm/apis/BillingApi.js +13 -13
- package/dist/esm/apis/CompositionsApi.d.ts +5 -5
- package/dist/esm/apis/CompositionsApi.js +4 -4
- package/dist/esm/apis/CreditsApi.d.ts +4 -4
- package/dist/esm/apis/CreditsApi.js +4 -4
- package/dist/esm/apis/MCPApi.d.ts +6 -6
- package/dist/esm/apis/MCPApi.js +15 -6
- package/dist/esm/apis/NoticesApi.d.ts +41 -0
- package/dist/esm/apis/NoticesApi.js +99 -0
- package/dist/esm/apis/OrganizationsApi.d.ts +17 -4
- package/dist/esm/apis/OrganizationsApi.js +41 -4
- package/dist/esm/apis/SubscriptionsApi.d.ts +32 -4
- package/dist/esm/apis/SubscriptionsApi.js +83 -6
- package/dist/esm/apis/WidgetsApi.d.ts +19 -35
- package/dist/esm/apis/WidgetsApi.js +33 -33
- package/dist/esm/apis/WorkflowsApi.d.ts +2 -2
- package/dist/esm/apis/WorkflowsApi.js +2 -2
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +1 -0
- package/dist/esm/models/AgentWidgetBuilderPublishWidgetIdPost200ResponseData.d.ts +18 -0
- package/dist/esm/models/AgentWidgetBuilderPublishWidgetIdPost200ResponseData.js +6 -0
- package/dist/esm/models/AgentWidgetBuilderPublishWidgetIdPostRequest.d.ts +6 -0
- package/dist/esm/models/AgentWidgetBuilderPublishWidgetIdPostRequest.js +2 -0
- package/dist/esm/models/ApiV1AdminBillingPlansPricesBackfillPostRequest.d.ts +32 -0
- package/dist/esm/models/ApiV1AdminBillingPlansPricesBackfillPostRequest.js +41 -0
- package/dist/esm/models/ApiV1AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequest.d.ts +32 -0
- package/dist/esm/models/ApiV1AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequest.js +43 -0
- package/dist/esm/models/ApiV1AdminBillingRefundsClawbacksGet200Response.d.ts +39 -0
- package/dist/esm/models/ApiV1AdminBillingRefundsClawbacksGet200Response.js +44 -0
- package/dist/esm/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseData.d.ts +57 -0
- package/dist/esm/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseData.js +50 -0
- package/dist/esm/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner.d.ts +68 -0
- package/dist/esm/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner.js +53 -0
- package/dist/esm/models/ApiV1AdminBillingRefundsPostRequest.d.ts +8 -8
- package/dist/esm/models/ApiV1AdminBillingRefundsPostRequest.js +4 -4
- package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPost200Response.d.ts +71 -0
- package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPost200Response.js +59 -0
- package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreview.d.ts +51 -0
- package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreview.js +48 -0
- package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPostRequest.d.ts +70 -0
- package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPostRequest.js +62 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200Response.d.ts +39 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200Response.js +44 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseData.d.ts +33 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseData.js +42 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner.d.ts +62 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner.js +51 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPost200Response.d.ts +39 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPost200Response.js +44 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData.d.ts +33 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData.js +42 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPostRequest.d.ts +32 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPostRequest.js +43 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200Response.d.ts +39 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200Response.js +44 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData.d.ts +50 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData.js +47 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPortalPost200Response.d.ts +39 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPortalPost200Response.js +44 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPortalPost200ResponseData.d.ts +32 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPortalPost200ResponseData.js +41 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPortalPostRequest.d.ts +32 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPortalPostRequest.js +41 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPostRequest.d.ts +1 -2
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPostRequest.js +1 -2
- package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200Response.d.ts +71 -0
- package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200Response.js +59 -0
- package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview.d.ts +51 -0
- package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview.js +48 -0
- package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner.d.ts +38 -0
- package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner.js +43 -0
- package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPostRequest.d.ts +44 -0
- package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPostRequest.js +45 -0
- package/dist/esm/models/ConfigureAutoReloadRequest.d.ts +6 -0
- package/dist/esm/models/ConfigureAutoReloadRequest.js +2 -0
- package/dist/esm/models/CreateMessageRequest.d.ts +13 -0
- package/dist/esm/models/CreateMessageRequest.js +2 -0
- package/dist/esm/models/GenerateCodeRequest.d.ts +42 -0
- package/dist/esm/models/GenerateCodeRequest.js +14 -0
- package/dist/esm/models/GetCompositionsBatch200ResponseErrorsInner.d.ts +38 -0
- package/dist/esm/models/GetCompositionsBatch200ResponseErrorsInner.js +43 -0
- package/dist/esm/models/GetWidgetPublishHistory200ResponseDataInner.d.ts +13 -1
- package/dist/esm/models/GetWidgetPublishHistory200ResponseDataInner.js +4 -0
- package/dist/esm/models/ListAccountNotices200Response.d.ts +39 -0
- package/dist/esm/models/ListAccountNotices200Response.js +44 -0
- package/dist/esm/models/ListAccountNotices200ResponseData.d.ts +33 -0
- package/dist/esm/models/ListAccountNotices200ResponseData.js +42 -0
- package/dist/esm/models/ListAccountNotices200ResponseDataNoticesInner.d.ts +68 -0
- package/dist/esm/models/ListAccountNotices200ResponseDataNoticesInner.js +53 -0
- package/dist/esm/models/LoginUser200Response.d.ts +38 -0
- package/dist/esm/models/LoginUser200Response.js +43 -0
- package/dist/esm/models/MoveSubscriptionSurfaceRequest.d.ts +58 -0
- package/dist/esm/models/MoveSubscriptionSurfaceRequest.js +56 -0
- package/dist/esm/models/OrganizationsOrgIdBillingMembersUpdatePostRequest.d.ts +1 -1
- package/dist/esm/models/OrganizationsOrgIdBillingYearlyMembersAddPostRequest.d.ts +1 -1
- package/dist/esm/models/OrganizationsOrgIdBillingYearlyMembersRemovePostRequest.d.ts +1 -1
- package/dist/esm/models/PreviewWidgetVersion200Response.d.ts +39 -0
- package/dist/esm/models/PreviewWidgetVersion200Response.js +48 -0
- package/dist/esm/models/PreviewWidgetVersion200ResponseData.d.ts +56 -0
- package/dist/esm/models/PreviewWidgetVersion200ResponseData.js +57 -0
- package/dist/esm/models/ProcessRefund200Response.d.ts +6 -0
- package/dist/esm/models/ProcessRefund200Response.js +2 -0
- package/dist/esm/models/RefundRequest.d.ts +10 -4
- package/dist/esm/models/RefundRequest.js +4 -4
- package/dist/esm/models/RollbackComponent200Response.d.ts +38 -0
- package/dist/esm/models/RollbackComponent200Response.js +43 -0
- package/dist/esm/models/SignupUserRequest.d.ts +6 -0
- package/dist/esm/models/SignupUserRequest.js +2 -0
- package/dist/esm/models/UpdateSubscription.d.ts +30 -8
- package/dist/esm/models/UpdateSubscription.js +21 -8
- package/dist/esm/models/UploadWidgetThumbnail200Response.d.ts +39 -0
- package/dist/esm/models/UploadWidgetThumbnail200Response.js +44 -0
- package/dist/esm/models/UploadWidgetThumbnail200ResponseData.d.ts +32 -0
- package/dist/esm/models/UploadWidgetThumbnail200ResponseData.js +41 -0
- package/dist/esm/models/UploadWidgetThumbnailRequest.d.ts +32 -0
- package/dist/esm/models/UploadWidgetThumbnailRequest.js +43 -0
- package/dist/esm/models/ValidateInviteCode200Response.d.ts +39 -0
- package/dist/esm/models/ValidateInviteCode200Response.js +44 -0
- package/dist/esm/models/ValidateInviteCode200ResponseData.d.ts +44 -0
- package/dist/esm/models/ValidateInviteCode200ResponseData.js +45 -0
- package/dist/esm/models/index.d.ts +28 -1
- package/dist/esm/models/index.js +28 -1
- package/dist/models/AgentWidgetBuilderPublishWidgetIdPost200ResponseData.d.ts +18 -0
- package/dist/models/AgentWidgetBuilderPublishWidgetIdPost200ResponseData.js +6 -0
- package/dist/models/AgentWidgetBuilderPublishWidgetIdPostRequest.d.ts +6 -0
- package/dist/models/AgentWidgetBuilderPublishWidgetIdPostRequest.js +2 -0
- package/dist/models/ApiV1AdminBillingPlansPricesBackfillPostRequest.d.ts +32 -0
- package/dist/models/ApiV1AdminBillingPlansPricesBackfillPostRequest.js +48 -0
- package/dist/models/ApiV1AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequest.d.ts +32 -0
- package/dist/models/ApiV1AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequest.js +50 -0
- package/dist/models/ApiV1AdminBillingRefundsClawbacksGet200Response.d.ts +39 -0
- package/dist/models/ApiV1AdminBillingRefundsClawbacksGet200Response.js +51 -0
- package/dist/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseData.d.ts +57 -0
- package/dist/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseData.js +57 -0
- package/dist/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner.d.ts +68 -0
- package/dist/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner.js +60 -0
- package/dist/models/ApiV1AdminBillingRefundsPostRequest.d.ts +8 -8
- package/dist/models/ApiV1AdminBillingRefundsPostRequest.js +4 -4
- package/dist/models/ApiV1AdminBillingRefundsPreviewPost200Response.d.ts +71 -0
- package/dist/models/ApiV1AdminBillingRefundsPreviewPost200Response.js +67 -0
- package/dist/models/ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreview.d.ts +51 -0
- package/dist/models/ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreview.js +55 -0
- package/dist/models/ApiV1AdminBillingRefundsPreviewPostRequest.d.ts +70 -0
- package/dist/models/ApiV1AdminBillingRefundsPreviewPostRequest.js +70 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200Response.d.ts +39 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200Response.js +51 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseData.d.ts +33 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseData.js +49 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner.d.ts +62 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner.js +58 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPost200Response.d.ts +39 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPost200Response.js +51 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData.d.ts +33 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData.js +49 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPostRequest.d.ts +32 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPostRequest.js +50 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200Response.d.ts +39 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200Response.js +51 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData.d.ts +50 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData.js +54 -0
- package/dist/models/ApiV1BillingUsersUserIdPortalPost200Response.d.ts +39 -0
- package/dist/models/ApiV1BillingUsersUserIdPortalPost200Response.js +51 -0
- package/dist/models/ApiV1BillingUsersUserIdPortalPost200ResponseData.d.ts +32 -0
- package/dist/models/ApiV1BillingUsersUserIdPortalPost200ResponseData.js +48 -0
- package/dist/models/ApiV1BillingUsersUserIdPortalPostRequest.d.ts +32 -0
- package/dist/models/ApiV1BillingUsersUserIdPortalPostRequest.js +48 -0
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionPostRequest.d.ts +1 -2
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionPostRequest.js +1 -2
- package/dist/models/ApiV1SubscriptionsIdRefundPreviewPost200Response.d.ts +71 -0
- package/dist/models/ApiV1SubscriptionsIdRefundPreviewPost200Response.js +67 -0
- package/dist/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview.d.ts +51 -0
- package/dist/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview.js +55 -0
- package/dist/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner.d.ts +38 -0
- package/dist/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner.js +50 -0
- package/dist/models/ApiV1SubscriptionsIdRefundPreviewPostRequest.d.ts +44 -0
- package/dist/models/ApiV1SubscriptionsIdRefundPreviewPostRequest.js +52 -0
- package/dist/models/ConfigureAutoReloadRequest.d.ts +6 -0
- package/dist/models/ConfigureAutoReloadRequest.js +2 -0
- package/dist/models/CreateMessageRequest.d.ts +13 -0
- package/dist/models/CreateMessageRequest.js +2 -0
- package/dist/models/GenerateCodeRequest.d.ts +42 -0
- package/dist/models/GenerateCodeRequest.js +14 -0
- package/dist/models/GetCompositionsBatch200ResponseErrorsInner.d.ts +38 -0
- package/dist/models/GetCompositionsBatch200ResponseErrorsInner.js +50 -0
- package/dist/models/GetWidgetPublishHistory200ResponseDataInner.d.ts +13 -1
- package/dist/models/GetWidgetPublishHistory200ResponseDataInner.js +4 -0
- package/dist/models/ListAccountNotices200Response.d.ts +39 -0
- package/dist/models/ListAccountNotices200Response.js +51 -0
- package/dist/models/ListAccountNotices200ResponseData.d.ts +33 -0
- package/dist/models/ListAccountNotices200ResponseData.js +49 -0
- package/dist/models/ListAccountNotices200ResponseDataNoticesInner.d.ts +68 -0
- package/dist/models/ListAccountNotices200ResponseDataNoticesInner.js +60 -0
- package/dist/models/LoginUser200Response.d.ts +38 -0
- package/dist/models/LoginUser200Response.js +50 -0
- package/dist/models/MoveSubscriptionSurfaceRequest.d.ts +58 -0
- package/dist/models/MoveSubscriptionSurfaceRequest.js +64 -0
- package/dist/models/OrganizationsOrgIdBillingMembersUpdatePostRequest.d.ts +1 -1
- package/dist/models/OrganizationsOrgIdBillingYearlyMembersAddPostRequest.d.ts +1 -1
- package/dist/models/OrganizationsOrgIdBillingYearlyMembersRemovePostRequest.d.ts +1 -1
- package/dist/models/PreviewWidgetVersion200Response.d.ts +39 -0
- package/dist/models/PreviewWidgetVersion200Response.js +55 -0
- package/dist/models/PreviewWidgetVersion200ResponseData.d.ts +56 -0
- package/dist/models/PreviewWidgetVersion200ResponseData.js +64 -0
- package/dist/models/ProcessRefund200Response.d.ts +6 -0
- package/dist/models/ProcessRefund200Response.js +2 -0
- package/dist/models/RefundRequest.d.ts +10 -4
- package/dist/models/RefundRequest.js +4 -4
- package/dist/models/RollbackComponent200Response.d.ts +38 -0
- package/dist/models/RollbackComponent200Response.js +50 -0
- package/dist/models/SignupUserRequest.d.ts +6 -0
- package/dist/models/SignupUserRequest.js +2 -0
- package/dist/models/UpdateSubscription.d.ts +30 -8
- package/dist/models/UpdateSubscription.js +22 -9
- package/dist/models/UploadWidgetThumbnail200Response.d.ts +39 -0
- package/dist/models/UploadWidgetThumbnail200Response.js +51 -0
- package/dist/models/UploadWidgetThumbnail200ResponseData.d.ts +32 -0
- package/dist/models/UploadWidgetThumbnail200ResponseData.js +48 -0
- package/dist/models/UploadWidgetThumbnailRequest.d.ts +32 -0
- package/dist/models/UploadWidgetThumbnailRequest.js +50 -0
- package/dist/models/ValidateInviteCode200Response.d.ts +39 -0
- package/dist/models/ValidateInviteCode200Response.js +51 -0
- package/dist/models/ValidateInviteCode200ResponseData.d.ts +44 -0
- package/dist/models/ValidateInviteCode200ResponseData.js +52 -0
- package/dist/models/index.d.ts +28 -1
- package/dist/models/index.js +28 -1
- package/package.json +1 -1
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Widgetic API Gateway
|
|
3
|
+
* API documentation for the Widgetic API Gateway
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner } from './ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner';
|
|
13
|
+
/**
|
|
14
|
+
* The per-member clawback an organization refund would make
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview
|
|
17
|
+
*/
|
|
18
|
+
export interface ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview
|
|
23
|
+
*/
|
|
24
|
+
impliedCredits?: number;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview
|
|
29
|
+
*/
|
|
30
|
+
unspentCredits?: number;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview
|
|
35
|
+
*/
|
|
36
|
+
reversableCredits?: number;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {Array<ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner>}
|
|
40
|
+
* @memberof ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview
|
|
41
|
+
*/
|
|
42
|
+
shares?: Array<ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner>;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview(value: object): value is ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview;
|
|
48
|
+
export declare function ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewFromJSON(json: any): ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview;
|
|
49
|
+
export declare function ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview;
|
|
50
|
+
export declare function ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewToJSON(json: any): ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview;
|
|
51
|
+
export declare function ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewToJSONTyped(value?: ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Widgetic API Gateway
|
|
6
|
+
* API documentation for the Widgetic API Gateway
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview = instanceOfApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview;
|
|
17
|
+
exports.ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewFromJSON = ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewFromJSON;
|
|
18
|
+
exports.ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewFromJSONTyped = ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewFromJSONTyped;
|
|
19
|
+
exports.ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewToJSON = ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewToJSON;
|
|
20
|
+
exports.ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewToJSONTyped = ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewToJSONTyped;
|
|
21
|
+
const ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner_1 = require("./ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewFromJSON(json) {
|
|
29
|
+
return ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'impliedCredits': json['impliedCredits'] == null ? undefined : json['impliedCredits'],
|
|
37
|
+
'unspentCredits': json['unspentCredits'] == null ? undefined : json['unspentCredits'],
|
|
38
|
+
'reversableCredits': json['reversableCredits'] == null ? undefined : json['reversableCredits'],
|
|
39
|
+
'shares': json['shares'] == null ? undefined : (json['shares'].map(ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner_1.ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInnerFromJSON)),
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
function ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewToJSON(json) {
|
|
43
|
+
return ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'impliedCredits': value['impliedCredits'],
|
|
51
|
+
'unspentCredits': value['unspentCredits'],
|
|
52
|
+
'reversableCredits': value['reversableCredits'],
|
|
53
|
+
'shares': value['shares'] == null ? undefined : (value['shares'].map(ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner_1.ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInnerToJSON)),
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -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 ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner
|
|
16
|
+
*/
|
|
17
|
+
export interface ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner
|
|
22
|
+
*/
|
|
23
|
+
userId?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner
|
|
28
|
+
*/
|
|
29
|
+
credits?: number;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner(value: object): value is ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner;
|
|
35
|
+
export declare function ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInnerFromJSON(json: any): ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner;
|
|
36
|
+
export declare function ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner;
|
|
37
|
+
export declare function ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInnerToJSON(json: any): ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner;
|
|
38
|
+
export declare function ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInnerToJSONTyped(value?: ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Widgetic API Gateway
|
|
6
|
+
* API documentation for the Widgetic API Gateway
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner = instanceOfApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner;
|
|
17
|
+
exports.ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInnerFromJSON = ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInnerFromJSON;
|
|
18
|
+
exports.ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInnerFromJSONTyped = ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInnerFromJSONTyped;
|
|
19
|
+
exports.ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInnerToJSON = ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInnerToJSON;
|
|
20
|
+
exports.ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInnerToJSONTyped = ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInnerToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInnerFromJSON(json) {
|
|
28
|
+
return ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInnerFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'userId': json['userId'] == null ? undefined : json['userId'],
|
|
36
|
+
'credits': json['credits'] == null ? undefined : json['credits'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInnerToJSON(json) {
|
|
40
|
+
return ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInnerToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInnerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'userId': value['userId'],
|
|
48
|
+
'credits': value['credits'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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 ApiV1SubscriptionsIdRefundPreviewPostRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface ApiV1SubscriptionsIdRefundPreviewPostRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ApiV1SubscriptionsIdRefundPreviewPostRequest
|
|
22
|
+
*/
|
|
23
|
+
paymentIntentId?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ApiV1SubscriptionsIdRefundPreviewPostRequest
|
|
28
|
+
*/
|
|
29
|
+
stripeInvoiceId?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Optional and unused on a preview; accepted so a client can post the same body it will send to the refund endpoint.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ApiV1SubscriptionsIdRefundPreviewPostRequest
|
|
34
|
+
*/
|
|
35
|
+
reason?: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the ApiV1SubscriptionsIdRefundPreviewPostRequest interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfApiV1SubscriptionsIdRefundPreviewPostRequest(value: object): value is ApiV1SubscriptionsIdRefundPreviewPostRequest;
|
|
41
|
+
export declare function ApiV1SubscriptionsIdRefundPreviewPostRequestFromJSON(json: any): ApiV1SubscriptionsIdRefundPreviewPostRequest;
|
|
42
|
+
export declare function ApiV1SubscriptionsIdRefundPreviewPostRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiV1SubscriptionsIdRefundPreviewPostRequest;
|
|
43
|
+
export declare function ApiV1SubscriptionsIdRefundPreviewPostRequestToJSON(json: any): ApiV1SubscriptionsIdRefundPreviewPostRequest;
|
|
44
|
+
export declare function ApiV1SubscriptionsIdRefundPreviewPostRequestToJSONTyped(value?: ApiV1SubscriptionsIdRefundPreviewPostRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Widgetic API Gateway
|
|
6
|
+
* API documentation for the Widgetic API Gateway
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfApiV1SubscriptionsIdRefundPreviewPostRequest = instanceOfApiV1SubscriptionsIdRefundPreviewPostRequest;
|
|
17
|
+
exports.ApiV1SubscriptionsIdRefundPreviewPostRequestFromJSON = ApiV1SubscriptionsIdRefundPreviewPostRequestFromJSON;
|
|
18
|
+
exports.ApiV1SubscriptionsIdRefundPreviewPostRequestFromJSONTyped = ApiV1SubscriptionsIdRefundPreviewPostRequestFromJSONTyped;
|
|
19
|
+
exports.ApiV1SubscriptionsIdRefundPreviewPostRequestToJSON = ApiV1SubscriptionsIdRefundPreviewPostRequestToJSON;
|
|
20
|
+
exports.ApiV1SubscriptionsIdRefundPreviewPostRequestToJSONTyped = ApiV1SubscriptionsIdRefundPreviewPostRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ApiV1SubscriptionsIdRefundPreviewPostRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfApiV1SubscriptionsIdRefundPreviewPostRequest(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function ApiV1SubscriptionsIdRefundPreviewPostRequestFromJSON(json) {
|
|
28
|
+
return ApiV1SubscriptionsIdRefundPreviewPostRequestFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function ApiV1SubscriptionsIdRefundPreviewPostRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'paymentIntentId': json['paymentIntentId'] == null ? undefined : json['paymentIntentId'],
|
|
36
|
+
'stripeInvoiceId': json['stripeInvoiceId'] == null ? undefined : json['stripeInvoiceId'],
|
|
37
|
+
'reason': json['reason'] == null ? undefined : json['reason'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function ApiV1SubscriptionsIdRefundPreviewPostRequestToJSON(json) {
|
|
41
|
+
return ApiV1SubscriptionsIdRefundPreviewPostRequestToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function ApiV1SubscriptionsIdRefundPreviewPostRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'paymentIntentId': value['paymentIntentId'],
|
|
49
|
+
'stripeInvoiceId': value['stripeInvoiceId'],
|
|
50
|
+
'reason': value['reason'],
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -33,6 +33,12 @@ export interface ConfigureAutoReloadRequest {
|
|
|
33
33
|
* @memberof ConfigureAutoReloadRequest
|
|
34
34
|
*/
|
|
35
35
|
reload_amount?: number;
|
|
36
|
+
/**
|
|
37
|
+
* Reload credits allowed per calendar month (UTC). Defaults to 2000 when omitted. Counts the credits the reload path grants; a reload that would exceed it is skipped with a warning.
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ConfigureAutoReloadRequest
|
|
40
|
+
*/
|
|
41
|
+
max_per_month?: number;
|
|
36
42
|
}
|
|
37
43
|
/**
|
|
38
44
|
* Check if a given object implements the ConfigureAutoReloadRequest interface.
|
|
@@ -37,6 +37,7 @@ function ConfigureAutoReloadRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
37
37
|
'enabled': json['enabled'],
|
|
38
38
|
'threshold': json['threshold'] == null ? undefined : json['threshold'],
|
|
39
39
|
'reload_amount': json['reload_amount'] == null ? undefined : json['reload_amount'],
|
|
40
|
+
'max_per_month': json['max_per_month'] == null ? undefined : json['max_per_month'],
|
|
40
41
|
};
|
|
41
42
|
}
|
|
42
43
|
function ConfigureAutoReloadRequestToJSON(json) {
|
|
@@ -50,5 +51,6 @@ function ConfigureAutoReloadRequestToJSONTyped(value, ignoreDiscriminator = fals
|
|
|
50
51
|
'enabled': value['enabled'],
|
|
51
52
|
'threshold': value['threshold'],
|
|
52
53
|
'reload_amount': value['reload_amount'],
|
|
54
|
+
'max_per_month': value['max_per_month'],
|
|
53
55
|
};
|
|
54
56
|
}
|
|
@@ -40,6 +40,19 @@ export interface CreateMessageRequest {
|
|
|
40
40
|
* @memberof CreateMessageRequest
|
|
41
41
|
*/
|
|
42
42
|
is_commit?: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Suggested follow-ups riding an assistant message (clarification cards).
|
|
45
|
+
* Structured objects — `label` is display copy the client renders verbatim
|
|
46
|
+
* and never parses; `intent` is the machine-readable behavior the chip's
|
|
47
|
+
* tap carries back. Legacy bare strings coerce to refine suggestions on
|
|
48
|
+
* the server's read path.
|
|
49
|
+
* @type {Array<{ label: string, intent: 'refine' | 'generate_anyway' }>}
|
|
50
|
+
* @memberof CreateMessageRequest
|
|
51
|
+
*/
|
|
52
|
+
suggestions?: Array<{
|
|
53
|
+
label: string;
|
|
54
|
+
intent: 'refine' | 'generate_anyway';
|
|
55
|
+
}> | null;
|
|
43
56
|
/**
|
|
44
57
|
* ID of the user sending the message
|
|
45
58
|
* @type {string}
|
|
@@ -49,6 +49,7 @@ function CreateMessageRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
49
49
|
'message_type': json['message_type'],
|
|
50
50
|
'attachments': json['attachments'] == null ? undefined : (json['attachments'].map(ContentItemInput_1.ContentItemInputFromJSON)),
|
|
51
51
|
'is_commit': json['is_commit'] == null ? undefined : json['is_commit'],
|
|
52
|
+
'suggestions': json['suggestions'] == null ? undefined : json['suggestions'],
|
|
52
53
|
'user_id': json['user_id'],
|
|
53
54
|
};
|
|
54
55
|
}
|
|
@@ -64,6 +65,7 @@ function CreateMessageRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
64
65
|
'message_type': value['message_type'],
|
|
65
66
|
'attachments': value['attachments'] == null ? undefined : (value['attachments'].map(ContentItemInput_1.ContentItemInputToJSON)),
|
|
66
67
|
'is_commit': value['is_commit'],
|
|
68
|
+
'suggestions': value['suggestions'],
|
|
67
69
|
'user_id': value['user_id'],
|
|
68
70
|
};
|
|
69
71
|
}
|
|
@@ -63,6 +63,48 @@ export interface GenerateCodeRequest {
|
|
|
63
63
|
* @memberof GenerateCodeRequest
|
|
64
64
|
*/
|
|
65
65
|
images?: Array<string> | null;
|
|
66
|
+
/**
|
|
67
|
+
* Optional model ID for the planner pre-call that enhances the user prompt before code generation.
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof GenerateCodeRequest
|
|
70
|
+
*/
|
|
71
|
+
plannerModelId?: string | null;
|
|
72
|
+
/**
|
|
73
|
+
* Optional conversation whose prior messages are loaded as LLM context for incremental edits.
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof GenerateCodeRequest
|
|
76
|
+
*/
|
|
77
|
+
conversationId?: string | null;
|
|
78
|
+
/**
|
|
79
|
+
* Optional upload IDs — server fetches CDN images for vision (avoids inline base64 in chat/codegen).
|
|
80
|
+
* @type {Array<string>}
|
|
81
|
+
* @memberof GenerateCodeRequest
|
|
82
|
+
*/
|
|
83
|
+
attachmentIds?: Array<string> | null;
|
|
84
|
+
/**
|
|
85
|
+
* Optional runtime console logs captured from the latest widget preview playback. Included automatically on iteration requests for AI self-diagnosis.
|
|
86
|
+
* @type {Array<string>}
|
|
87
|
+
* @memberof GenerateCodeRequest
|
|
88
|
+
*/
|
|
89
|
+
runtimeLogs?: Array<string> | null;
|
|
90
|
+
/**
|
|
91
|
+
* When true, skip full codegen — build current GitLab HEAD and run agent harness repair loop only (Fix Compile Error).
|
|
92
|
+
* @type {boolean}
|
|
93
|
+
* @memberof GenerateCodeRequest
|
|
94
|
+
*/
|
|
95
|
+
compileFixOnly?: boolean | null;
|
|
96
|
+
/**
|
|
97
|
+
* Escape hatch from the intent gate's clarification card: set when the user explicitly chose to generate anyway after a gated response. Skips only the gate — auth, quota, concurrency, and cost still apply.
|
|
98
|
+
* @type {boolean}
|
|
99
|
+
* @memberof GenerateCodeRequest
|
|
100
|
+
*/
|
|
101
|
+
skipIntentGate?: boolean | null;
|
|
102
|
+
/**
|
|
103
|
+
* Machine-readable signal that this generate request started from a clarification-card chip tap — the tapped chip's own structured intent, sent because the client knows it and the server never infers behavior from copy. Measured as the chip-conversion outcome (split by intent); never acts.
|
|
104
|
+
* @type {string}
|
|
105
|
+
* @memberof GenerateCodeRequest
|
|
106
|
+
*/
|
|
107
|
+
chipIntent?: 'refine' | 'generate_anyway' | null;
|
|
66
108
|
}
|
|
67
109
|
/**
|
|
68
110
|
* Check if a given object implements the GenerateCodeRequest interface.
|
|
@@ -44,6 +44,13 @@ function GenerateCodeRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
44
44
|
'planId': json['planId'] == null ? undefined : json['planId'],
|
|
45
45
|
'developmentTaskId': json['developmentTaskId'] == null ? undefined : json['developmentTaskId'],
|
|
46
46
|
'images': json['images'] == null ? undefined : json['images'],
|
|
47
|
+
'plannerModelId': json['plannerModelId'] == null ? undefined : json['plannerModelId'],
|
|
48
|
+
'conversationId': json['conversationId'] == null ? undefined : json['conversationId'],
|
|
49
|
+
'attachmentIds': json['attachmentIds'] == null ? undefined : json['attachmentIds'],
|
|
50
|
+
'runtimeLogs': json['runtimeLogs'] == null ? undefined : json['runtimeLogs'],
|
|
51
|
+
'compileFixOnly': json['compileFixOnly'] == null ? undefined : json['compileFixOnly'],
|
|
52
|
+
'skipIntentGate': json['skipIntentGate'] == null ? undefined : json['skipIntentGate'],
|
|
53
|
+
'chipIntent': json['chipIntent'] == null ? undefined : json['chipIntent'],
|
|
47
54
|
};
|
|
48
55
|
}
|
|
49
56
|
function GenerateCodeRequestToJSON(json) {
|
|
@@ -62,5 +69,12 @@ function GenerateCodeRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
62
69
|
'planId': value['planId'],
|
|
63
70
|
'developmentTaskId': value['developmentTaskId'],
|
|
64
71
|
'images': value['images'],
|
|
72
|
+
'plannerModelId': value['plannerModelId'],
|
|
73
|
+
'conversationId': value['conversationId'],
|
|
74
|
+
'attachmentIds': value['attachmentIds'],
|
|
75
|
+
'runtimeLogs': value['runtimeLogs'],
|
|
76
|
+
'compileFixOnly': value['compileFixOnly'],
|
|
77
|
+
'skipIntentGate': value['skipIntentGate'],
|
|
78
|
+
'chipIntent': value['chipIntent'],
|
|
65
79
|
};
|
|
66
80
|
}
|
|
@@ -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 GetCompositionsBatch200ResponseErrorsInner
|
|
16
|
+
*/
|
|
17
|
+
export interface GetCompositionsBatch200ResponseErrorsInner {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GetCompositionsBatch200ResponseErrorsInner
|
|
22
|
+
*/
|
|
23
|
+
id?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof GetCompositionsBatch200ResponseErrorsInner
|
|
28
|
+
*/
|
|
29
|
+
error?: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the GetCompositionsBatch200ResponseErrorsInner interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfGetCompositionsBatch200ResponseErrorsInner(value: object): value is GetCompositionsBatch200ResponseErrorsInner;
|
|
35
|
+
export declare function GetCompositionsBatch200ResponseErrorsInnerFromJSON(json: any): GetCompositionsBatch200ResponseErrorsInner;
|
|
36
|
+
export declare function GetCompositionsBatch200ResponseErrorsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetCompositionsBatch200ResponseErrorsInner;
|
|
37
|
+
export declare function GetCompositionsBatch200ResponseErrorsInnerToJSON(json: any): GetCompositionsBatch200ResponseErrorsInner;
|
|
38
|
+
export declare function GetCompositionsBatch200ResponseErrorsInnerToJSONTyped(value?: GetCompositionsBatch200ResponseErrorsInner | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Widgetic API Gateway
|
|
6
|
+
* API documentation for the Widgetic API Gateway
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfGetCompositionsBatch200ResponseErrorsInner = instanceOfGetCompositionsBatch200ResponseErrorsInner;
|
|
17
|
+
exports.GetCompositionsBatch200ResponseErrorsInnerFromJSON = GetCompositionsBatch200ResponseErrorsInnerFromJSON;
|
|
18
|
+
exports.GetCompositionsBatch200ResponseErrorsInnerFromJSONTyped = GetCompositionsBatch200ResponseErrorsInnerFromJSONTyped;
|
|
19
|
+
exports.GetCompositionsBatch200ResponseErrorsInnerToJSON = GetCompositionsBatch200ResponseErrorsInnerToJSON;
|
|
20
|
+
exports.GetCompositionsBatch200ResponseErrorsInnerToJSONTyped = GetCompositionsBatch200ResponseErrorsInnerToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the GetCompositionsBatch200ResponseErrorsInner interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfGetCompositionsBatch200ResponseErrorsInner(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function GetCompositionsBatch200ResponseErrorsInnerFromJSON(json) {
|
|
28
|
+
return GetCompositionsBatch200ResponseErrorsInnerFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function GetCompositionsBatch200ResponseErrorsInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
36
|
+
'error': json['error'] == null ? undefined : json['error'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function GetCompositionsBatch200ResponseErrorsInnerToJSON(json) {
|
|
40
|
+
return GetCompositionsBatch200ResponseErrorsInnerToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function GetCompositionsBatch200ResponseErrorsInnerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'id': value['id'],
|
|
48
|
+
'error': value['error'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -40,11 +40,23 @@ export interface GetWidgetPublishHistory200ResponseDataInner {
|
|
|
40
40
|
*/
|
|
41
41
|
artifactUrl?: string | null;
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
43
|
+
* When this version went Live. Null for a Draft.
|
|
44
44
|
* @type {Date}
|
|
45
45
|
* @memberof GetWidgetPublishHistory200ResponseDataInner
|
|
46
46
|
*/
|
|
47
47
|
publishedAt?: Date | null;
|
|
48
|
+
/**
|
|
49
|
+
* True when this version is Live.
|
|
50
|
+
* @type {boolean}
|
|
51
|
+
* @memberof GetWidgetPublishHistory200ResponseDataInner
|
|
52
|
+
*/
|
|
53
|
+
isPublished?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof GetWidgetPublishHistory200ResponseDataInner
|
|
58
|
+
*/
|
|
59
|
+
prompt?: string | null;
|
|
48
60
|
/**
|
|
49
61
|
*
|
|
50
62
|
* @type {string}
|
|
@@ -37,6 +37,8 @@ function GetWidgetPublishHistory200ResponseDataInnerFromJSONTyped(json, ignoreDi
|
|
|
37
37
|
'commitSha': json['commitSha'] == null ? undefined : json['commitSha'],
|
|
38
38
|
'artifactUrl': json['artifactUrl'] == null ? undefined : json['artifactUrl'],
|
|
39
39
|
'publishedAt': json['publishedAt'] == null ? undefined : (new Date(json['publishedAt'])),
|
|
40
|
+
'isPublished': json['isPublished'] == null ? undefined : json['isPublished'],
|
|
41
|
+
'prompt': json['prompt'] == null ? undefined : json['prompt'],
|
|
40
42
|
'publishedBy': json['publishedBy'] == null ? undefined : json['publishedBy'],
|
|
41
43
|
};
|
|
42
44
|
}
|
|
@@ -53,6 +55,8 @@ function GetWidgetPublishHistory200ResponseDataInnerToJSONTyped(value, ignoreDis
|
|
|
53
55
|
'commitSha': value['commitSha'],
|
|
54
56
|
'artifactUrl': value['artifactUrl'],
|
|
55
57
|
'publishedAt': value['publishedAt'] == null ? undefined : (value['publishedAt'].toISOString()),
|
|
58
|
+
'isPublished': value['isPublished'],
|
|
59
|
+
'prompt': value['prompt'],
|
|
56
60
|
'publishedBy': value['publishedBy'],
|
|
57
61
|
};
|
|
58
62
|
}
|
|
@@ -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 { ListAccountNotices200ResponseData } from './ListAccountNotices200ResponseData';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ListAccountNotices200Response
|
|
17
|
+
*/
|
|
18
|
+
export interface ListAccountNotices200Response {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof ListAccountNotices200Response
|
|
23
|
+
*/
|
|
24
|
+
success?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {ListAccountNotices200ResponseData}
|
|
28
|
+
* @memberof ListAccountNotices200Response
|
|
29
|
+
*/
|
|
30
|
+
data?: ListAccountNotices200ResponseData;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the ListAccountNotices200Response interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfListAccountNotices200Response(value: object): value is ListAccountNotices200Response;
|
|
36
|
+
export declare function ListAccountNotices200ResponseFromJSON(json: any): ListAccountNotices200Response;
|
|
37
|
+
export declare function ListAccountNotices200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListAccountNotices200Response;
|
|
38
|
+
export declare function ListAccountNotices200ResponseToJSON(json: any): ListAccountNotices200Response;
|
|
39
|
+
export declare function ListAccountNotices200ResponseToJSONTyped(value?: ListAccountNotices200Response | null, ignoreDiscriminator?: boolean): any;
|