@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
|
@@ -30,6 +30,8 @@ export function GetWidgetPublishHistory200ResponseDataInnerFromJSONTyped(json, i
|
|
|
30
30
|
'commitSha': json['commitSha'] == null ? undefined : json['commitSha'],
|
|
31
31
|
'artifactUrl': json['artifactUrl'] == null ? undefined : json['artifactUrl'],
|
|
32
32
|
'publishedAt': json['publishedAt'] == null ? undefined : (new Date(json['publishedAt'])),
|
|
33
|
+
'isPublished': json['isPublished'] == null ? undefined : json['isPublished'],
|
|
34
|
+
'prompt': json['prompt'] == null ? undefined : json['prompt'],
|
|
33
35
|
'publishedBy': json['publishedBy'] == null ? undefined : json['publishedBy'],
|
|
34
36
|
};
|
|
35
37
|
}
|
|
@@ -46,6 +48,8 @@ export function GetWidgetPublishHistory200ResponseDataInnerToJSONTyped(value, ig
|
|
|
46
48
|
'commitSha': value['commitSha'],
|
|
47
49
|
'artifactUrl': value['artifactUrl'],
|
|
48
50
|
'publishedAt': value['publishedAt'] == null ? undefined : (value['publishedAt'].toISOString()),
|
|
51
|
+
'isPublished': value['isPublished'],
|
|
52
|
+
'prompt': value['prompt'],
|
|
49
53
|
'publishedBy': value['publishedBy'],
|
|
50
54
|
};
|
|
51
55
|
}
|
|
@@ -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,44 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Widgetic API Gateway
|
|
5
|
+
* API documentation for the Widgetic API Gateway
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { ListAccountNotices200ResponseDataFromJSON, ListAccountNotices200ResponseDataToJSON, } from './ListAccountNotices200ResponseData.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the ListAccountNotices200Response interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfListAccountNotices200Response(value) {
|
|
19
|
+
return true;
|
|
20
|
+
}
|
|
21
|
+
export function ListAccountNotices200ResponseFromJSON(json) {
|
|
22
|
+
return ListAccountNotices200ResponseFromJSONTyped(json, false);
|
|
23
|
+
}
|
|
24
|
+
export function ListAccountNotices200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
+
if (json == null) {
|
|
26
|
+
return json;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'success': json['success'] == null ? undefined : json['success'],
|
|
30
|
+
'data': json['data'] == null ? undefined : ListAccountNotices200ResponseDataFromJSON(json['data']),
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function ListAccountNotices200ResponseToJSON(json) {
|
|
34
|
+
return ListAccountNotices200ResponseToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function ListAccountNotices200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'success': value['success'],
|
|
42
|
+
'data': ListAccountNotices200ResponseDataToJSON(value['data']),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
@@ -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,42 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Widgetic API Gateway
|
|
5
|
+
* API documentation for the Widgetic API Gateway
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { ListAccountNotices200ResponseDataNoticesInnerFromJSON, ListAccountNotices200ResponseDataNoticesInnerToJSON, } from './ListAccountNotices200ResponseDataNoticesInner.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the ListAccountNotices200ResponseData interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfListAccountNotices200ResponseData(value) {
|
|
19
|
+
return true;
|
|
20
|
+
}
|
|
21
|
+
export function ListAccountNotices200ResponseDataFromJSON(json) {
|
|
22
|
+
return ListAccountNotices200ResponseDataFromJSONTyped(json, false);
|
|
23
|
+
}
|
|
24
|
+
export function ListAccountNotices200ResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
+
if (json == null) {
|
|
26
|
+
return json;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'notices': json['notices'] == null ? undefined : (json['notices'].map(ListAccountNotices200ResponseDataNoticesInnerFromJSON)),
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
export function ListAccountNotices200ResponseDataToJSON(json) {
|
|
33
|
+
return ListAccountNotices200ResponseDataToJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function ListAccountNotices200ResponseDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
36
|
+
if (value == null) {
|
|
37
|
+
return value;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'notices': value['notices'] == null ? undefined : (value['notices'].map(ListAccountNotices200ResponseDataNoticesInnerToJSON)),
|
|
41
|
+
};
|
|
42
|
+
}
|
|
@@ -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,53 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Widgetic API Gateway
|
|
5
|
+
* API documentation for the Widgetic API Gateway
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the ListAccountNotices200ResponseDataNoticesInner interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfListAccountNotices200ResponseDataNoticesInner(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function ListAccountNotices200ResponseDataNoticesInnerFromJSON(json) {
|
|
21
|
+
return ListAccountNotices200ResponseDataNoticesInnerFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function ListAccountNotices200ResponseDataNoticesInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
29
|
+
'kind': json['kind'] == null ? undefined : json['kind'],
|
|
30
|
+
'title': json['title'] == null ? undefined : json['title'],
|
|
31
|
+
'body': json['body'] == null ? undefined : json['body'],
|
|
32
|
+
'actionUrl': json['actionUrl'] == null ? undefined : json['actionUrl'],
|
|
33
|
+
'actionLabel': json['actionLabel'] == null ? undefined : json['actionLabel'],
|
|
34
|
+
'expiresAt': json['expiresAt'] == null ? undefined : (new Date(json['expiresAt'])),
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
export function ListAccountNotices200ResponseDataNoticesInnerToJSON(json) {
|
|
38
|
+
return ListAccountNotices200ResponseDataNoticesInnerToJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
export function ListAccountNotices200ResponseDataNoticesInnerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
41
|
+
if (value == null) {
|
|
42
|
+
return value;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'id': value['id'],
|
|
46
|
+
'kind': value['kind'],
|
|
47
|
+
'title': value['title'],
|
|
48
|
+
'body': value['body'],
|
|
49
|
+
'actionUrl': value['actionUrl'],
|
|
50
|
+
'actionLabel': value['actionLabel'],
|
|
51
|
+
'expiresAt': value['expiresAt'] == null ? undefined : (value['expiresAt'].toISOString()),
|
|
52
|
+
};
|
|
53
|
+
}
|
|
@@ -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 LoginUser200Response
|
|
16
|
+
*/
|
|
17
|
+
export interface LoginUser200Response {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof LoginUser200Response
|
|
22
|
+
*/
|
|
23
|
+
success?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {object}
|
|
27
|
+
* @memberof LoginUser200Response
|
|
28
|
+
*/
|
|
29
|
+
data?: object;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the LoginUser200Response interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfLoginUser200Response(value: object): value is LoginUser200Response;
|
|
35
|
+
export declare function LoginUser200ResponseFromJSON(json: any): LoginUser200Response;
|
|
36
|
+
export declare function LoginUser200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): LoginUser200Response;
|
|
37
|
+
export declare function LoginUser200ResponseToJSON(json: any): LoginUser200Response;
|
|
38
|
+
export declare function LoginUser200ResponseToJSONTyped(value?: LoginUser200Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Widgetic API Gateway
|
|
5
|
+
* API documentation for the Widgetic API Gateway
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the LoginUser200Response interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfLoginUser200Response(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function LoginUser200ResponseFromJSON(json) {
|
|
21
|
+
return LoginUser200ResponseFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function LoginUser200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'success': json['success'] == null ? undefined : json['success'],
|
|
29
|
+
'data': json['data'] == null ? undefined : json['data'],
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
export function LoginUser200ResponseToJSON(json) {
|
|
33
|
+
return LoginUser200ResponseToJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function LoginUser200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
36
|
+
if (value == null) {
|
|
37
|
+
return value;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'success': value['success'],
|
|
41
|
+
'data': value['data'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
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 MoveSubscriptionSurfaceRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface MoveSubscriptionSurfaceRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof MoveSubscriptionSurfaceRequest
|
|
22
|
+
*/
|
|
23
|
+
targetSurface: MoveSubscriptionSurfaceRequestTargetSurfaceEnum;
|
|
24
|
+
/**
|
|
25
|
+
* Required when targetSurface is organization. Must be an organization this subscription's user owns.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof MoveSubscriptionSurfaceRequest
|
|
28
|
+
*/
|
|
29
|
+
organizationId?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Only for a surface that sells more than one plan; otherwise the surface's plan is used.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof MoveSubscriptionSurfaceRequest
|
|
34
|
+
*/
|
|
35
|
+
planType?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Recorded on the audit line and on every revoke the move performs.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof MoveSubscriptionSurfaceRequest
|
|
40
|
+
*/
|
|
41
|
+
reason?: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @export
|
|
45
|
+
*/
|
|
46
|
+
export declare const MoveSubscriptionSurfaceRequestTargetSurfaceEnum: {
|
|
47
|
+
readonly Personal: "personal";
|
|
48
|
+
readonly Organization: "organization";
|
|
49
|
+
};
|
|
50
|
+
export type MoveSubscriptionSurfaceRequestTargetSurfaceEnum = typeof MoveSubscriptionSurfaceRequestTargetSurfaceEnum[keyof typeof MoveSubscriptionSurfaceRequestTargetSurfaceEnum];
|
|
51
|
+
/**
|
|
52
|
+
* Check if a given object implements the MoveSubscriptionSurfaceRequest interface.
|
|
53
|
+
*/
|
|
54
|
+
export declare function instanceOfMoveSubscriptionSurfaceRequest(value: object): value is MoveSubscriptionSurfaceRequest;
|
|
55
|
+
export declare function MoveSubscriptionSurfaceRequestFromJSON(json: any): MoveSubscriptionSurfaceRequest;
|
|
56
|
+
export declare function MoveSubscriptionSurfaceRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): MoveSubscriptionSurfaceRequest;
|
|
57
|
+
export declare function MoveSubscriptionSurfaceRequestToJSON(json: any): MoveSubscriptionSurfaceRequest;
|
|
58
|
+
export declare function MoveSubscriptionSurfaceRequestToJSONTyped(value?: MoveSubscriptionSurfaceRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Widgetic API Gateway
|
|
5
|
+
* API documentation for the Widgetic API Gateway
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export const MoveSubscriptionSurfaceRequestTargetSurfaceEnum = {
|
|
18
|
+
Personal: 'personal',
|
|
19
|
+
Organization: 'organization'
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the MoveSubscriptionSurfaceRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
export function instanceOfMoveSubscriptionSurfaceRequest(value) {
|
|
25
|
+
if (!('targetSurface' in value) || value['targetSurface'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
export function MoveSubscriptionSurfaceRequestFromJSON(json) {
|
|
30
|
+
return MoveSubscriptionSurfaceRequestFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
export function MoveSubscriptionSurfaceRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'targetSurface': json['targetSurface'],
|
|
38
|
+
'organizationId': json['organizationId'] == null ? undefined : json['organizationId'],
|
|
39
|
+
'planType': json['planType'] == null ? undefined : json['planType'],
|
|
40
|
+
'reason': json['reason'] == null ? undefined : json['reason'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
export function MoveSubscriptionSurfaceRequestToJSON(json) {
|
|
44
|
+
return MoveSubscriptionSurfaceRequestToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
export function MoveSubscriptionSurfaceRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'targetSurface': value['targetSurface'],
|
|
52
|
+
'organizationId': value['organizationId'],
|
|
53
|
+
'planType': value['planType'],
|
|
54
|
+
'reason': value['reason'],
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface OrganizationsOrgIdBillingMembersUpdatePostRequest {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* The organization's current billable member count (active members, floored at 1). Must match the membership exactly — counts that disagree are refused, because the seat quantity Stripe bills is derived from the member lifecycle, not set directly.
|
|
20
20
|
* @type {number}
|
|
21
21
|
* @memberof OrganizationsOrgIdBillingMembersUpdatePostRequest
|
|
22
22
|
*/
|
|
@@ -22,7 +22,7 @@ export interface OrganizationsOrgIdBillingYearlyMembersAddPostRequest {
|
|
|
22
22
|
*/
|
|
23
23
|
newMemberCount: number;
|
|
24
24
|
/**
|
|
25
|
-
* Email of the member being added
|
|
25
|
+
* Email of the member being added. Names the member for the targeted provisioning pass and the response's `member` block.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof OrganizationsOrgIdBillingYearlyMembersAddPostRequest
|
|
28
28
|
*/
|
|
@@ -22,7 +22,7 @@ export interface OrganizationsOrgIdBillingYearlyMembersRemovePostRequest {
|
|
|
22
22
|
*/
|
|
23
23
|
removedMemberCount: number;
|
|
24
24
|
/**
|
|
25
|
-
* Email of the member being removed
|
|
25
|
+
* Email of the member being removed. Names them in the accumulated-credit ledger row and in `data.memberChangeResult.member`.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof OrganizationsOrgIdBillingYearlyMembersRemovePostRequest
|
|
28
28
|
*/
|
|
@@ -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 { PreviewWidgetVersion200ResponseData } from './PreviewWidgetVersion200ResponseData';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface PreviewWidgetVersion200Response
|
|
17
|
+
*/
|
|
18
|
+
export interface PreviewWidgetVersion200Response {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof PreviewWidgetVersion200Response
|
|
23
|
+
*/
|
|
24
|
+
success: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {PreviewWidgetVersion200ResponseData}
|
|
28
|
+
* @memberof PreviewWidgetVersion200Response
|
|
29
|
+
*/
|
|
30
|
+
data: PreviewWidgetVersion200ResponseData;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the PreviewWidgetVersion200Response interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfPreviewWidgetVersion200Response(value: object): value is PreviewWidgetVersion200Response;
|
|
36
|
+
export declare function PreviewWidgetVersion200ResponseFromJSON(json: any): PreviewWidgetVersion200Response;
|
|
37
|
+
export declare function PreviewWidgetVersion200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PreviewWidgetVersion200Response;
|
|
38
|
+
export declare function PreviewWidgetVersion200ResponseToJSON(json: any): PreviewWidgetVersion200Response;
|
|
39
|
+
export declare function PreviewWidgetVersion200ResponseToJSONTyped(value?: PreviewWidgetVersion200Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Widgetic API Gateway
|
|
5
|
+
* API documentation for the Widgetic API Gateway
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { PreviewWidgetVersion200ResponseDataFromJSON, PreviewWidgetVersion200ResponseDataToJSON, } from './PreviewWidgetVersion200ResponseData.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the PreviewWidgetVersion200Response interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfPreviewWidgetVersion200Response(value) {
|
|
19
|
+
if (!('success' in value) || value['success'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
return true;
|
|
24
|
+
}
|
|
25
|
+
export function PreviewWidgetVersion200ResponseFromJSON(json) {
|
|
26
|
+
return PreviewWidgetVersion200ResponseFromJSONTyped(json, false);
|
|
27
|
+
}
|
|
28
|
+
export function PreviewWidgetVersion200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
+
if (json == null) {
|
|
30
|
+
return json;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'success': json['success'],
|
|
34
|
+
'data': PreviewWidgetVersion200ResponseDataFromJSON(json['data']),
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
export function PreviewWidgetVersion200ResponseToJSON(json) {
|
|
38
|
+
return PreviewWidgetVersion200ResponseToJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
export function PreviewWidgetVersion200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
41
|
+
if (value == null) {
|
|
42
|
+
return value;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'success': value['success'],
|
|
46
|
+
'data': PreviewWidgetVersion200ResponseDataToJSON(value['data']),
|
|
47
|
+
};
|
|
48
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
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 PreviewWidgetVersion200ResponseData
|
|
16
|
+
*/
|
|
17
|
+
export interface PreviewWidgetVersion200ResponseData {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PreviewWidgetVersion200ResponseData
|
|
22
|
+
*/
|
|
23
|
+
widgetId: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof PreviewWidgetVersion200ResponseData
|
|
28
|
+
*/
|
|
29
|
+
version: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PreviewWidgetVersion200ResponseData
|
|
34
|
+
*/
|
|
35
|
+
commitSha: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof PreviewWidgetVersion200ResponseData
|
|
40
|
+
*/
|
|
41
|
+
previewUrl: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof PreviewWidgetVersion200ResponseData
|
|
46
|
+
*/
|
|
47
|
+
buildTimeMs?: number;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the PreviewWidgetVersion200ResponseData interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfPreviewWidgetVersion200ResponseData(value: object): value is PreviewWidgetVersion200ResponseData;
|
|
53
|
+
export declare function PreviewWidgetVersion200ResponseDataFromJSON(json: any): PreviewWidgetVersion200ResponseData;
|
|
54
|
+
export declare function PreviewWidgetVersion200ResponseDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): PreviewWidgetVersion200ResponseData;
|
|
55
|
+
export declare function PreviewWidgetVersion200ResponseDataToJSON(json: any): PreviewWidgetVersion200ResponseData;
|
|
56
|
+
export declare function PreviewWidgetVersion200ResponseDataToJSONTyped(value?: PreviewWidgetVersion200ResponseData | null, ignoreDiscriminator?: boolean): any;
|