@widgetic/api-sdk 1.0.21 → 1.0.23
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 +2 -2
- package/dist/apis/AgentApi.js +2 -2
- 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 +2 -2
- package/dist/esm/apis/AgentApi.js +2 -2
- 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/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 +54 -0
- package/dist/esm/models/GenerateCodeRequest.js +18 -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/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 +12 -0
- package/dist/esm/models/SignupUserRequest.js +4 -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 +26 -1
- package/dist/esm/models/index.js +26 -1
- package/dist/models/AgentWidgetBuilderPublishWidgetIdPost200ResponseData.d.ts +18 -0
- package/dist/models/AgentWidgetBuilderPublishWidgetIdPost200ResponseData.js +6 -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 +54 -0
- package/dist/models/GenerateCodeRequest.js +18 -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/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 +12 -0
- package/dist/models/SignupUserRequest.js +4 -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 +26 -1
- package/dist/models/index.js +26 -1
- package/package.json +1 -1
|
@@ -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,60 @@ 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;
|
|
108
|
+
/**
|
|
109
|
+
* Widget language. Omitted means Svelte.
|
|
110
|
+
* @type {string}
|
|
111
|
+
* @memberof GenerateCodeRequest
|
|
112
|
+
*/
|
|
113
|
+
language?: 'svelte' | 'react' | null;
|
|
114
|
+
/**
|
|
115
|
+
* Optional customer brand kit applied at generation.
|
|
116
|
+
* @type {object}
|
|
117
|
+
* @memberof GenerateCodeRequest
|
|
118
|
+
*/
|
|
119
|
+
brandKit?: object | null;
|
|
66
120
|
}
|
|
67
121
|
/**
|
|
68
122
|
* Check if a given object implements the GenerateCodeRequest interface.
|
|
@@ -44,6 +44,15 @@ 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'],
|
|
54
|
+
'language': json['language'] == null ? undefined : json['language'],
|
|
55
|
+
'brandKit': json['brandKit'] == null ? undefined : json['brandKit'],
|
|
47
56
|
};
|
|
48
57
|
}
|
|
49
58
|
function GenerateCodeRequestToJSON(json) {
|
|
@@ -62,5 +71,14 @@ function GenerateCodeRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
62
71
|
'planId': value['planId'],
|
|
63
72
|
'developmentTaskId': value['developmentTaskId'],
|
|
64
73
|
'images': value['images'],
|
|
74
|
+
'plannerModelId': value['plannerModelId'],
|
|
75
|
+
'conversationId': value['conversationId'],
|
|
76
|
+
'attachmentIds': value['attachmentIds'],
|
|
77
|
+
'runtimeLogs': value['runtimeLogs'],
|
|
78
|
+
'compileFixOnly': value['compileFixOnly'],
|
|
79
|
+
'skipIntentGate': value['skipIntentGate'],
|
|
80
|
+
'chipIntent': value['chipIntent'],
|
|
81
|
+
'language': value['language'],
|
|
82
|
+
'brandKit': value['brandKit'],
|
|
65
83
|
};
|
|
66
84
|
}
|
|
@@ -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;
|
|
@@ -0,0 +1,51 @@
|
|
|
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.instanceOfListAccountNotices200Response = instanceOfListAccountNotices200Response;
|
|
17
|
+
exports.ListAccountNotices200ResponseFromJSON = ListAccountNotices200ResponseFromJSON;
|
|
18
|
+
exports.ListAccountNotices200ResponseFromJSONTyped = ListAccountNotices200ResponseFromJSONTyped;
|
|
19
|
+
exports.ListAccountNotices200ResponseToJSON = ListAccountNotices200ResponseToJSON;
|
|
20
|
+
exports.ListAccountNotices200ResponseToJSONTyped = ListAccountNotices200ResponseToJSONTyped;
|
|
21
|
+
const ListAccountNotices200ResponseData_1 = require("./ListAccountNotices200ResponseData");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the ListAccountNotices200Response interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfListAccountNotices200Response(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function ListAccountNotices200ResponseFromJSON(json) {
|
|
29
|
+
return ListAccountNotices200ResponseFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function ListAccountNotices200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'success': json['success'] == null ? undefined : json['success'],
|
|
37
|
+
'data': json['data'] == null ? undefined : (0, ListAccountNotices200ResponseData_1.ListAccountNotices200ResponseDataFromJSON)(json['data']),
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function ListAccountNotices200ResponseToJSON(json) {
|
|
41
|
+
return ListAccountNotices200ResponseToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function ListAccountNotices200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'success': value['success'],
|
|
49
|
+
'data': (0, ListAccountNotices200ResponseData_1.ListAccountNotices200ResponseDataToJSON)(value['data']),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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 { ListAccountNotices200ResponseDataNoticesInner } from './ListAccountNotices200ResponseDataNoticesInner';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ListAccountNotices200ResponseData
|
|
17
|
+
*/
|
|
18
|
+
export interface ListAccountNotices200ResponseData {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<ListAccountNotices200ResponseDataNoticesInner>}
|
|
22
|
+
* @memberof ListAccountNotices200ResponseData
|
|
23
|
+
*/
|
|
24
|
+
notices?: Array<ListAccountNotices200ResponseDataNoticesInner>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the ListAccountNotices200ResponseData interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfListAccountNotices200ResponseData(value: object): value is ListAccountNotices200ResponseData;
|
|
30
|
+
export declare function ListAccountNotices200ResponseDataFromJSON(json: any): ListAccountNotices200ResponseData;
|
|
31
|
+
export declare function ListAccountNotices200ResponseDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListAccountNotices200ResponseData;
|
|
32
|
+
export declare function ListAccountNotices200ResponseDataToJSON(json: any): ListAccountNotices200ResponseData;
|
|
33
|
+
export declare function ListAccountNotices200ResponseDataToJSONTyped(value?: ListAccountNotices200ResponseData | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,49 @@
|
|
|
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.instanceOfListAccountNotices200ResponseData = instanceOfListAccountNotices200ResponseData;
|
|
17
|
+
exports.ListAccountNotices200ResponseDataFromJSON = ListAccountNotices200ResponseDataFromJSON;
|
|
18
|
+
exports.ListAccountNotices200ResponseDataFromJSONTyped = ListAccountNotices200ResponseDataFromJSONTyped;
|
|
19
|
+
exports.ListAccountNotices200ResponseDataToJSON = ListAccountNotices200ResponseDataToJSON;
|
|
20
|
+
exports.ListAccountNotices200ResponseDataToJSONTyped = ListAccountNotices200ResponseDataToJSONTyped;
|
|
21
|
+
const ListAccountNotices200ResponseDataNoticesInner_1 = require("./ListAccountNotices200ResponseDataNoticesInner");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the ListAccountNotices200ResponseData interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfListAccountNotices200ResponseData(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function ListAccountNotices200ResponseDataFromJSON(json) {
|
|
29
|
+
return ListAccountNotices200ResponseDataFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function ListAccountNotices200ResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'notices': json['notices'] == null ? undefined : (json['notices'].map(ListAccountNotices200ResponseDataNoticesInner_1.ListAccountNotices200ResponseDataNoticesInnerFromJSON)),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function ListAccountNotices200ResponseDataToJSON(json) {
|
|
40
|
+
return ListAccountNotices200ResponseDataToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function ListAccountNotices200ResponseDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'notices': value['notices'] == null ? undefined : (value['notices'].map(ListAccountNotices200ResponseDataNoticesInner_1.ListAccountNotices200ResponseDataNoticesInnerToJSON)),
|
|
48
|
+
};
|
|
49
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
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 ListAccountNotices200ResponseDataNoticesInner
|
|
16
|
+
*/
|
|
17
|
+
export interface ListAccountNotices200ResponseDataNoticesInner {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ListAccountNotices200ResponseDataNoticesInner
|
|
22
|
+
*/
|
|
23
|
+
id?: string;
|
|
24
|
+
/**
|
|
25
|
+
* e.g. `free_window_ending`
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ListAccountNotices200ResponseDataNoticesInner
|
|
28
|
+
*/
|
|
29
|
+
kind?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ListAccountNotices200ResponseDataNoticesInner
|
|
34
|
+
*/
|
|
35
|
+
title?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ListAccountNotices200ResponseDataNoticesInner
|
|
40
|
+
*/
|
|
41
|
+
body?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof ListAccountNotices200ResponseDataNoticesInner
|
|
46
|
+
*/
|
|
47
|
+
actionUrl?: string | null;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof ListAccountNotices200ResponseDataNoticesInner
|
|
52
|
+
*/
|
|
53
|
+
actionLabel?: string | null;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {Date}
|
|
57
|
+
* @memberof ListAccountNotices200ResponseDataNoticesInner
|
|
58
|
+
*/
|
|
59
|
+
expiresAt?: Date | null;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Check if a given object implements the ListAccountNotices200ResponseDataNoticesInner interface.
|
|
63
|
+
*/
|
|
64
|
+
export declare function instanceOfListAccountNotices200ResponseDataNoticesInner(value: object): value is ListAccountNotices200ResponseDataNoticesInner;
|
|
65
|
+
export declare function ListAccountNotices200ResponseDataNoticesInnerFromJSON(json: any): ListAccountNotices200ResponseDataNoticesInner;
|
|
66
|
+
export declare function ListAccountNotices200ResponseDataNoticesInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListAccountNotices200ResponseDataNoticesInner;
|
|
67
|
+
export declare function ListAccountNotices200ResponseDataNoticesInnerToJSON(json: any): ListAccountNotices200ResponseDataNoticesInner;
|
|
68
|
+
export declare function ListAccountNotices200ResponseDataNoticesInnerToJSONTyped(value?: ListAccountNotices200ResponseDataNoticesInner | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,60 @@
|
|
|
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.instanceOfListAccountNotices200ResponseDataNoticesInner = instanceOfListAccountNotices200ResponseDataNoticesInner;
|
|
17
|
+
exports.ListAccountNotices200ResponseDataNoticesInnerFromJSON = ListAccountNotices200ResponseDataNoticesInnerFromJSON;
|
|
18
|
+
exports.ListAccountNotices200ResponseDataNoticesInnerFromJSONTyped = ListAccountNotices200ResponseDataNoticesInnerFromJSONTyped;
|
|
19
|
+
exports.ListAccountNotices200ResponseDataNoticesInnerToJSON = ListAccountNotices200ResponseDataNoticesInnerToJSON;
|
|
20
|
+
exports.ListAccountNotices200ResponseDataNoticesInnerToJSONTyped = ListAccountNotices200ResponseDataNoticesInnerToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ListAccountNotices200ResponseDataNoticesInner interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfListAccountNotices200ResponseDataNoticesInner(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function ListAccountNotices200ResponseDataNoticesInnerFromJSON(json) {
|
|
28
|
+
return ListAccountNotices200ResponseDataNoticesInnerFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function ListAccountNotices200ResponseDataNoticesInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
36
|
+
'kind': json['kind'] == null ? undefined : json['kind'],
|
|
37
|
+
'title': json['title'] == null ? undefined : json['title'],
|
|
38
|
+
'body': json['body'] == null ? undefined : json['body'],
|
|
39
|
+
'actionUrl': json['actionUrl'] == null ? undefined : json['actionUrl'],
|
|
40
|
+
'actionLabel': json['actionLabel'] == null ? undefined : json['actionLabel'],
|
|
41
|
+
'expiresAt': json['expiresAt'] == null ? undefined : (new Date(json['expiresAt'])),
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function ListAccountNotices200ResponseDataNoticesInnerToJSON(json) {
|
|
45
|
+
return ListAccountNotices200ResponseDataNoticesInnerToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function ListAccountNotices200ResponseDataNoticesInnerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'id': value['id'],
|
|
53
|
+
'kind': value['kind'],
|
|
54
|
+
'title': value['title'],
|
|
55
|
+
'body': value['body'],
|
|
56
|
+
'actionUrl': value['actionUrl'],
|
|
57
|
+
'actionLabel': value['actionLabel'],
|
|
58
|
+
'expiresAt': value['expiresAt'] == null ? undefined : (value['expiresAt'].toISOString()),
|
|
59
|
+
};
|
|
60
|
+
}
|