@widgetic/api-sdk 1.0.21 → 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 +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 +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/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 +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 +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/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 +26 -1
- package/dist/models/index.js +26 -1
- package/package.json +1 -1
|
@@ -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
|
*/
|
|
@@ -27,6 +27,12 @@ export interface ProcessRefund200Response {
|
|
|
27
27
|
* @memberof ProcessRefund200Response
|
|
28
28
|
*/
|
|
29
29
|
refundId?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ProcessRefund200Response
|
|
34
|
+
*/
|
|
35
|
+
status?: string;
|
|
30
36
|
}
|
|
31
37
|
/**
|
|
32
38
|
* Check if a given object implements the ProcessRefund200Response interface.
|
|
@@ -27,6 +27,7 @@ export function ProcessRefund200ResponseFromJSONTyped(json, ignoreDiscriminator)
|
|
|
27
27
|
return {
|
|
28
28
|
'success': json['success'] == null ? undefined : json['success'],
|
|
29
29
|
'refundId': json['refundId'] == null ? undefined : json['refundId'],
|
|
30
|
+
'status': json['status'] == null ? undefined : json['status'],
|
|
30
31
|
};
|
|
31
32
|
}
|
|
32
33
|
export function ProcessRefund200ResponseToJSON(json) {
|
|
@@ -39,5 +40,6 @@ export function ProcessRefund200ResponseToJSONTyped(value, ignoreDiscriminator =
|
|
|
39
40
|
return {
|
|
40
41
|
'success': value['success'],
|
|
41
42
|
'refundId': value['refundId'],
|
|
43
|
+
'status': value['status'],
|
|
42
44
|
};
|
|
43
45
|
}
|
|
@@ -10,17 +10,23 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
-
* Request to process a refund for a subscription
|
|
13
|
+
* Request to process a refund for a subscription. Both fields are optional: when neither is given, the subscription in the path names the charge — its latest paid invoice, resolved server-side. A caller that names a charge gets exactly that charge refunded.
|
|
14
14
|
* @export
|
|
15
15
|
* @interface RefundRequest
|
|
16
16
|
*/
|
|
17
17
|
export interface RefundRequest {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {
|
|
19
|
+
* Stripe payment intent of the charge to refund
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof RefundRequest
|
|
22
|
+
*/
|
|
23
|
+
paymentIntentId?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Stripe invoice the charge was collected on (alternative to paymentIntentId)
|
|
26
|
+
* @type {string}
|
|
21
27
|
* @memberof RefundRequest
|
|
22
28
|
*/
|
|
23
|
-
|
|
29
|
+
stripeInvoiceId?: string;
|
|
24
30
|
/**
|
|
25
31
|
* Reason for the refund
|
|
26
32
|
* @type {string}
|
|
@@ -15,8 +15,6 @@
|
|
|
15
15
|
* Check if a given object implements the RefundRequest interface.
|
|
16
16
|
*/
|
|
17
17
|
export function instanceOfRefundRequest(value) {
|
|
18
|
-
if (!('amount' in value) || value['amount'] === undefined)
|
|
19
|
-
return false;
|
|
20
18
|
return true;
|
|
21
19
|
}
|
|
22
20
|
export function RefundRequestFromJSON(json) {
|
|
@@ -27,7 +25,8 @@ export function RefundRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
27
25
|
return json;
|
|
28
26
|
}
|
|
29
27
|
return {
|
|
30
|
-
'
|
|
28
|
+
'paymentIntentId': json['paymentIntentId'] == null ? undefined : json['paymentIntentId'],
|
|
29
|
+
'stripeInvoiceId': json['stripeInvoiceId'] == null ? undefined : json['stripeInvoiceId'],
|
|
31
30
|
'reason': json['reason'] == null ? undefined : json['reason'],
|
|
32
31
|
};
|
|
33
32
|
}
|
|
@@ -39,7 +38,8 @@ export function RefundRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
39
38
|
return value;
|
|
40
39
|
}
|
|
41
40
|
return {
|
|
42
|
-
'
|
|
41
|
+
'paymentIntentId': value['paymentIntentId'],
|
|
42
|
+
'stripeInvoiceId': value['stripeInvoiceId'],
|
|
43
43
|
'reason': value['reason'],
|
|
44
44
|
};
|
|
45
45
|
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Widgetic API Gateway
|
|
3
|
+
* API documentation for the Widgetic API Gateway
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface RollbackComponent200Response
|
|
16
|
+
*/
|
|
17
|
+
export interface RollbackComponent200Response {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof RollbackComponent200Response
|
|
22
|
+
*/
|
|
23
|
+
success?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof RollbackComponent200Response
|
|
28
|
+
*/
|
|
29
|
+
message?: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the RollbackComponent200Response interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfRollbackComponent200Response(value: object): value is RollbackComponent200Response;
|
|
35
|
+
export declare function RollbackComponent200ResponseFromJSON(json: any): RollbackComponent200Response;
|
|
36
|
+
export declare function RollbackComponent200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): RollbackComponent200Response;
|
|
37
|
+
export declare function RollbackComponent200ResponseToJSON(json: any): RollbackComponent200Response;
|
|
38
|
+
export declare function RollbackComponent200ResponseToJSONTyped(value?: RollbackComponent200Response | 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 RollbackComponent200Response interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfRollbackComponent200Response(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function RollbackComponent200ResponseFromJSON(json) {
|
|
21
|
+
return RollbackComponent200ResponseFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function RollbackComponent200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'success': json['success'] == null ? undefined : json['success'],
|
|
29
|
+
'message': json['message'] == null ? undefined : json['message'],
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
export function RollbackComponent200ResponseToJSON(json) {
|
|
33
|
+
return RollbackComponent200ResponseToJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function RollbackComponent200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
36
|
+
if (value == null) {
|
|
37
|
+
return value;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'success': value['success'],
|
|
41
|
+
'message': value['message'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
@@ -39,6 +39,12 @@ export interface SignupUserRequest {
|
|
|
39
39
|
* @memberof SignupUserRequest
|
|
40
40
|
*/
|
|
41
41
|
plan?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof SignupUserRequest
|
|
46
|
+
*/
|
|
47
|
+
inviteCode?: string;
|
|
42
48
|
}
|
|
43
49
|
/**
|
|
44
50
|
* Check if a given object implements the SignupUserRequest interface.
|
|
@@ -33,6 +33,7 @@ export function SignupUserRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
33
33
|
'password': json['password'],
|
|
34
34
|
'role': json['role'] == null ? undefined : json['role'],
|
|
35
35
|
'plan': json['plan'] == null ? undefined : json['plan'],
|
|
36
|
+
'inviteCode': json['inviteCode'] == null ? undefined : json['inviteCode'],
|
|
36
37
|
};
|
|
37
38
|
}
|
|
38
39
|
export function SignupUserRequestToJSON(json) {
|
|
@@ -47,5 +48,6 @@ export function SignupUserRequestToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
47
48
|
'password': value['password'],
|
|
48
49
|
'role': value['role'],
|
|
49
50
|
'plan': value['plan'],
|
|
51
|
+
'inviteCode': value['inviteCode'],
|
|
50
52
|
};
|
|
51
53
|
}
|