@widgetic/api-sdk 1.0.21 → 1.0.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/apis/AdminBillingApi.d.ts +92 -1
- package/dist/apis/AdminBillingApi.js +246 -1
- package/dist/apis/AgentApi.d.ts +2 -2
- package/dist/apis/AgentApi.js +2 -2
- package/dist/apis/AuthenticationApi.d.ts +12 -1
- package/dist/apis/AuthenticationApi.js +31 -0
- package/dist/apis/BillingApi.js +13 -13
- package/dist/apis/CompositionsApi.d.ts +5 -5
- package/dist/apis/CompositionsApi.js +3 -3
- package/dist/apis/CreditsApi.d.ts +4 -4
- package/dist/apis/CreditsApi.js +4 -4
- package/dist/apis/MCPApi.d.ts +6 -6
- package/dist/apis/MCPApi.js +15 -6
- package/dist/apis/NoticesApi.d.ts +41 -0
- package/dist/apis/NoticesApi.js +103 -0
- package/dist/apis/OrganizationsApi.d.ts +17 -4
- package/dist/apis/OrganizationsApi.js +41 -4
- package/dist/apis/SubscriptionsApi.d.ts +32 -4
- package/dist/apis/SubscriptionsApi.js +82 -5
- package/dist/apis/WidgetsApi.d.ts +19 -35
- package/dist/apis/WidgetsApi.js +32 -32
- package/dist/apis/WorkflowsApi.d.ts +2 -2
- package/dist/apis/WorkflowsApi.js +2 -2
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/esm/apis/AdminBillingApi.d.ts +92 -1
- package/dist/esm/apis/AdminBillingApi.js +246 -1
- package/dist/esm/apis/AgentApi.d.ts +2 -2
- package/dist/esm/apis/AgentApi.js +2 -2
- package/dist/esm/apis/AuthenticationApi.d.ts +12 -1
- package/dist/esm/apis/AuthenticationApi.js +32 -1
- package/dist/esm/apis/BillingApi.js +13 -13
- package/dist/esm/apis/CompositionsApi.d.ts +5 -5
- package/dist/esm/apis/CompositionsApi.js +4 -4
- package/dist/esm/apis/CreditsApi.d.ts +4 -4
- package/dist/esm/apis/CreditsApi.js +4 -4
- package/dist/esm/apis/MCPApi.d.ts +6 -6
- package/dist/esm/apis/MCPApi.js +15 -6
- package/dist/esm/apis/NoticesApi.d.ts +41 -0
- package/dist/esm/apis/NoticesApi.js +99 -0
- package/dist/esm/apis/OrganizationsApi.d.ts +17 -4
- package/dist/esm/apis/OrganizationsApi.js +41 -4
- package/dist/esm/apis/SubscriptionsApi.d.ts +32 -4
- package/dist/esm/apis/SubscriptionsApi.js +83 -6
- package/dist/esm/apis/WidgetsApi.d.ts +19 -35
- package/dist/esm/apis/WidgetsApi.js +33 -33
- package/dist/esm/apis/WorkflowsApi.d.ts +2 -2
- package/dist/esm/apis/WorkflowsApi.js +2 -2
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +1 -0
- package/dist/esm/models/AgentWidgetBuilderPublishWidgetIdPost200ResponseData.d.ts +18 -0
- package/dist/esm/models/AgentWidgetBuilderPublishWidgetIdPost200ResponseData.js +6 -0
- package/dist/esm/models/ApiV1AdminBillingPlansPricesBackfillPostRequest.d.ts +32 -0
- package/dist/esm/models/ApiV1AdminBillingPlansPricesBackfillPostRequest.js +41 -0
- package/dist/esm/models/ApiV1AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequest.d.ts +32 -0
- package/dist/esm/models/ApiV1AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequest.js +43 -0
- package/dist/esm/models/ApiV1AdminBillingRefundsClawbacksGet200Response.d.ts +39 -0
- package/dist/esm/models/ApiV1AdminBillingRefundsClawbacksGet200Response.js +44 -0
- package/dist/esm/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseData.d.ts +57 -0
- package/dist/esm/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseData.js +50 -0
- package/dist/esm/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner.d.ts +68 -0
- package/dist/esm/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner.js +53 -0
- package/dist/esm/models/ApiV1AdminBillingRefundsPostRequest.d.ts +8 -8
- package/dist/esm/models/ApiV1AdminBillingRefundsPostRequest.js +4 -4
- package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPost200Response.d.ts +71 -0
- package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPost200Response.js +59 -0
- package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreview.d.ts +51 -0
- package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreview.js +48 -0
- package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPostRequest.d.ts +70 -0
- package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPostRequest.js +62 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200Response.d.ts +39 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200Response.js +44 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseData.d.ts +33 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseData.js +42 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner.d.ts +62 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner.js +51 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPost200Response.d.ts +39 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPost200Response.js +44 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData.d.ts +33 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData.js +42 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPostRequest.d.ts +32 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPostRequest.js +43 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200Response.d.ts +39 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200Response.js +44 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData.d.ts +50 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData.js +47 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPortalPost200Response.d.ts +39 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPortalPost200Response.js +44 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPortalPost200ResponseData.d.ts +32 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPortalPost200ResponseData.js +41 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPortalPostRequest.d.ts +32 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPortalPostRequest.js +41 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPostRequest.d.ts +1 -2
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPostRequest.js +1 -2
- package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200Response.d.ts +71 -0
- package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200Response.js +59 -0
- package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview.d.ts +51 -0
- package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview.js +48 -0
- package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner.d.ts +38 -0
- package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner.js +43 -0
- package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPostRequest.d.ts +44 -0
- package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPostRequest.js +45 -0
- package/dist/esm/models/ConfigureAutoReloadRequest.d.ts +6 -0
- package/dist/esm/models/ConfigureAutoReloadRequest.js +2 -0
- package/dist/esm/models/CreateMessageRequest.d.ts +13 -0
- package/dist/esm/models/CreateMessageRequest.js +2 -0
- package/dist/esm/models/GenerateCodeRequest.d.ts +54 -0
- package/dist/esm/models/GenerateCodeRequest.js +18 -0
- package/dist/esm/models/GetCompositionsBatch200ResponseErrorsInner.d.ts +38 -0
- package/dist/esm/models/GetCompositionsBatch200ResponseErrorsInner.js +43 -0
- package/dist/esm/models/GetWidgetPublishHistory200ResponseDataInner.d.ts +13 -1
- package/dist/esm/models/GetWidgetPublishHistory200ResponseDataInner.js +4 -0
- package/dist/esm/models/ListAccountNotices200Response.d.ts +39 -0
- package/dist/esm/models/ListAccountNotices200Response.js +44 -0
- package/dist/esm/models/ListAccountNotices200ResponseData.d.ts +33 -0
- package/dist/esm/models/ListAccountNotices200ResponseData.js +42 -0
- package/dist/esm/models/ListAccountNotices200ResponseDataNoticesInner.d.ts +68 -0
- package/dist/esm/models/ListAccountNotices200ResponseDataNoticesInner.js +53 -0
- package/dist/esm/models/LoginUser200Response.d.ts +38 -0
- package/dist/esm/models/LoginUser200Response.js +43 -0
- package/dist/esm/models/MoveSubscriptionSurfaceRequest.d.ts +58 -0
- package/dist/esm/models/MoveSubscriptionSurfaceRequest.js +56 -0
- package/dist/esm/models/OrganizationsOrgIdBillingMembersUpdatePostRequest.d.ts +1 -1
- package/dist/esm/models/OrganizationsOrgIdBillingYearlyMembersAddPostRequest.d.ts +1 -1
- package/dist/esm/models/OrganizationsOrgIdBillingYearlyMembersRemovePostRequest.d.ts +1 -1
- package/dist/esm/models/ProcessRefund200Response.d.ts +6 -0
- package/dist/esm/models/ProcessRefund200Response.js +2 -0
- package/dist/esm/models/RefundRequest.d.ts +10 -4
- package/dist/esm/models/RefundRequest.js +4 -4
- package/dist/esm/models/RollbackComponent200Response.d.ts +38 -0
- package/dist/esm/models/RollbackComponent200Response.js +43 -0
- package/dist/esm/models/SignupUserRequest.d.ts +12 -0
- package/dist/esm/models/SignupUserRequest.js +4 -0
- package/dist/esm/models/UpdateSubscription.d.ts +30 -8
- package/dist/esm/models/UpdateSubscription.js +21 -8
- package/dist/esm/models/UploadWidgetThumbnail200Response.d.ts +39 -0
- package/dist/esm/models/UploadWidgetThumbnail200Response.js +44 -0
- package/dist/esm/models/UploadWidgetThumbnail200ResponseData.d.ts +32 -0
- package/dist/esm/models/UploadWidgetThumbnail200ResponseData.js +41 -0
- package/dist/esm/models/UploadWidgetThumbnailRequest.d.ts +32 -0
- package/dist/esm/models/UploadWidgetThumbnailRequest.js +43 -0
- package/dist/esm/models/ValidateInviteCode200Response.d.ts +39 -0
- package/dist/esm/models/ValidateInviteCode200Response.js +44 -0
- package/dist/esm/models/ValidateInviteCode200ResponseData.d.ts +44 -0
- package/dist/esm/models/ValidateInviteCode200ResponseData.js +45 -0
- package/dist/esm/models/index.d.ts +26 -1
- package/dist/esm/models/index.js +26 -1
- package/dist/models/AgentWidgetBuilderPublishWidgetIdPost200ResponseData.d.ts +18 -0
- package/dist/models/AgentWidgetBuilderPublishWidgetIdPost200ResponseData.js +6 -0
- package/dist/models/ApiV1AdminBillingPlansPricesBackfillPostRequest.d.ts +32 -0
- package/dist/models/ApiV1AdminBillingPlansPricesBackfillPostRequest.js +48 -0
- package/dist/models/ApiV1AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequest.d.ts +32 -0
- package/dist/models/ApiV1AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequest.js +50 -0
- package/dist/models/ApiV1AdminBillingRefundsClawbacksGet200Response.d.ts +39 -0
- package/dist/models/ApiV1AdminBillingRefundsClawbacksGet200Response.js +51 -0
- package/dist/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseData.d.ts +57 -0
- package/dist/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseData.js +57 -0
- package/dist/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner.d.ts +68 -0
- package/dist/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner.js +60 -0
- package/dist/models/ApiV1AdminBillingRefundsPostRequest.d.ts +8 -8
- package/dist/models/ApiV1AdminBillingRefundsPostRequest.js +4 -4
- package/dist/models/ApiV1AdminBillingRefundsPreviewPost200Response.d.ts +71 -0
- package/dist/models/ApiV1AdminBillingRefundsPreviewPost200Response.js +67 -0
- package/dist/models/ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreview.d.ts +51 -0
- package/dist/models/ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreview.js +55 -0
- package/dist/models/ApiV1AdminBillingRefundsPreviewPostRequest.d.ts +70 -0
- package/dist/models/ApiV1AdminBillingRefundsPreviewPostRequest.js +70 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200Response.d.ts +39 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200Response.js +51 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseData.d.ts +33 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseData.js +49 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner.d.ts +62 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner.js +58 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPost200Response.d.ts +39 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPost200Response.js +51 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData.d.ts +33 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData.js +49 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPostRequest.d.ts +32 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPostRequest.js +50 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200Response.d.ts +39 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200Response.js +51 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData.d.ts +50 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData.js +54 -0
- package/dist/models/ApiV1BillingUsersUserIdPortalPost200Response.d.ts +39 -0
- package/dist/models/ApiV1BillingUsersUserIdPortalPost200Response.js +51 -0
- package/dist/models/ApiV1BillingUsersUserIdPortalPost200ResponseData.d.ts +32 -0
- package/dist/models/ApiV1BillingUsersUserIdPortalPost200ResponseData.js +48 -0
- package/dist/models/ApiV1BillingUsersUserIdPortalPostRequest.d.ts +32 -0
- package/dist/models/ApiV1BillingUsersUserIdPortalPostRequest.js +48 -0
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionPostRequest.d.ts +1 -2
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionPostRequest.js +1 -2
- package/dist/models/ApiV1SubscriptionsIdRefundPreviewPost200Response.d.ts +71 -0
- package/dist/models/ApiV1SubscriptionsIdRefundPreviewPost200Response.js +67 -0
- package/dist/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview.d.ts +51 -0
- package/dist/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview.js +55 -0
- package/dist/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner.d.ts +38 -0
- package/dist/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner.js +50 -0
- package/dist/models/ApiV1SubscriptionsIdRefundPreviewPostRequest.d.ts +44 -0
- package/dist/models/ApiV1SubscriptionsIdRefundPreviewPostRequest.js +52 -0
- package/dist/models/ConfigureAutoReloadRequest.d.ts +6 -0
- package/dist/models/ConfigureAutoReloadRequest.js +2 -0
- package/dist/models/CreateMessageRequest.d.ts +13 -0
- package/dist/models/CreateMessageRequest.js +2 -0
- package/dist/models/GenerateCodeRequest.d.ts +54 -0
- package/dist/models/GenerateCodeRequest.js +18 -0
- package/dist/models/GetCompositionsBatch200ResponseErrorsInner.d.ts +38 -0
- package/dist/models/GetCompositionsBatch200ResponseErrorsInner.js +50 -0
- package/dist/models/GetWidgetPublishHistory200ResponseDataInner.d.ts +13 -1
- package/dist/models/GetWidgetPublishHistory200ResponseDataInner.js +4 -0
- package/dist/models/ListAccountNotices200Response.d.ts +39 -0
- package/dist/models/ListAccountNotices200Response.js +51 -0
- package/dist/models/ListAccountNotices200ResponseData.d.ts +33 -0
- package/dist/models/ListAccountNotices200ResponseData.js +49 -0
- package/dist/models/ListAccountNotices200ResponseDataNoticesInner.d.ts +68 -0
- package/dist/models/ListAccountNotices200ResponseDataNoticesInner.js +60 -0
- package/dist/models/LoginUser200Response.d.ts +38 -0
- package/dist/models/LoginUser200Response.js +50 -0
- package/dist/models/MoveSubscriptionSurfaceRequest.d.ts +58 -0
- package/dist/models/MoveSubscriptionSurfaceRequest.js +64 -0
- package/dist/models/OrganizationsOrgIdBillingMembersUpdatePostRequest.d.ts +1 -1
- package/dist/models/OrganizationsOrgIdBillingYearlyMembersAddPostRequest.d.ts +1 -1
- package/dist/models/OrganizationsOrgIdBillingYearlyMembersRemovePostRequest.d.ts +1 -1
- package/dist/models/ProcessRefund200Response.d.ts +6 -0
- package/dist/models/ProcessRefund200Response.js +2 -0
- package/dist/models/RefundRequest.d.ts +10 -4
- package/dist/models/RefundRequest.js +4 -4
- package/dist/models/RollbackComponent200Response.d.ts +38 -0
- package/dist/models/RollbackComponent200Response.js +50 -0
- package/dist/models/SignupUserRequest.d.ts +12 -0
- package/dist/models/SignupUserRequest.js +4 -0
- package/dist/models/UpdateSubscription.d.ts +30 -8
- package/dist/models/UpdateSubscription.js +22 -9
- package/dist/models/UploadWidgetThumbnail200Response.d.ts +39 -0
- package/dist/models/UploadWidgetThumbnail200Response.js +51 -0
- package/dist/models/UploadWidgetThumbnail200ResponseData.d.ts +32 -0
- package/dist/models/UploadWidgetThumbnail200ResponseData.js +48 -0
- package/dist/models/UploadWidgetThumbnailRequest.d.ts +32 -0
- package/dist/models/UploadWidgetThumbnailRequest.js +50 -0
- package/dist/models/ValidateInviteCode200Response.d.ts +39 -0
- package/dist/models/ValidateInviteCode200Response.js +51 -0
- package/dist/models/ValidateInviteCode200ResponseData.d.ts +44 -0
- package/dist/models/ValidateInviteCode200ResponseData.js +52 -0
- package/dist/models/index.d.ts +26 -1
- package/dist/models/index.js +26 -1
- package/package.json +1 -1
|
@@ -0,0 +1,32 @@
|
|
|
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 ApiV1AdminBillingPlansPricesBackfillPostRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface ApiV1AdminBillingPlansPricesBackfillPostRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof ApiV1AdminBillingPlansPricesBackfillPostRequest
|
|
22
|
+
*/
|
|
23
|
+
dryRun?: boolean;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the ApiV1AdminBillingPlansPricesBackfillPostRequest interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfApiV1AdminBillingPlansPricesBackfillPostRequest(value: object): value is ApiV1AdminBillingPlansPricesBackfillPostRequest;
|
|
29
|
+
export declare function ApiV1AdminBillingPlansPricesBackfillPostRequestFromJSON(json: any): ApiV1AdminBillingPlansPricesBackfillPostRequest;
|
|
30
|
+
export declare function ApiV1AdminBillingPlansPricesBackfillPostRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiV1AdminBillingPlansPricesBackfillPostRequest;
|
|
31
|
+
export declare function ApiV1AdminBillingPlansPricesBackfillPostRequestToJSON(json: any): ApiV1AdminBillingPlansPricesBackfillPostRequest;
|
|
32
|
+
export declare function ApiV1AdminBillingPlansPricesBackfillPostRequestToJSONTyped(value?: ApiV1AdminBillingPlansPricesBackfillPostRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,41 @@
|
|
|
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 ApiV1AdminBillingPlansPricesBackfillPostRequest interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfApiV1AdminBillingPlansPricesBackfillPostRequest(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function ApiV1AdminBillingPlansPricesBackfillPostRequestFromJSON(json) {
|
|
21
|
+
return ApiV1AdminBillingPlansPricesBackfillPostRequestFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function ApiV1AdminBillingPlansPricesBackfillPostRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'dryRun': json['dryRun'] == null ? undefined : json['dryRun'],
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
export function ApiV1AdminBillingPlansPricesBackfillPostRequestToJSON(json) {
|
|
32
|
+
return ApiV1AdminBillingPlansPricesBackfillPostRequestToJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
export function ApiV1AdminBillingPlansPricesBackfillPostRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
35
|
+
if (value == null) {
|
|
36
|
+
return value;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'dryRun': value['dryRun'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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 ApiV1AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface ApiV1AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ApiV1AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequest
|
|
22
|
+
*/
|
|
23
|
+
priceId: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the ApiV1AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequest interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfApiV1AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequest(value: object): value is ApiV1AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequest;
|
|
29
|
+
export declare function ApiV1AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequestFromJSON(json: any): ApiV1AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequest;
|
|
30
|
+
export declare function ApiV1AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiV1AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequest;
|
|
31
|
+
export declare function ApiV1AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequestToJSON(json: any): ApiV1AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequest;
|
|
32
|
+
export declare function ApiV1AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequestToJSONTyped(value?: ApiV1AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequest | 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 ApiV1AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequest interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfApiV1AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequest(value) {
|
|
18
|
+
if (!('priceId' in value) || value['priceId'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function ApiV1AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequestFromJSON(json) {
|
|
23
|
+
return ApiV1AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequestFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function ApiV1AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'priceId': json['priceId'],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function ApiV1AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequestToJSON(json) {
|
|
34
|
+
return ApiV1AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequestToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function ApiV1AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'priceId': value['priceId'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
@@ -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 { ApiV1AdminBillingRefundsClawbacksGet200ResponseData } from './ApiV1AdminBillingRefundsClawbacksGet200ResponseData';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ApiV1AdminBillingRefundsClawbacksGet200Response
|
|
17
|
+
*/
|
|
18
|
+
export interface ApiV1AdminBillingRefundsClawbacksGet200Response {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof ApiV1AdminBillingRefundsClawbacksGet200Response
|
|
23
|
+
*/
|
|
24
|
+
success?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {ApiV1AdminBillingRefundsClawbacksGet200ResponseData}
|
|
28
|
+
* @memberof ApiV1AdminBillingRefundsClawbacksGet200Response
|
|
29
|
+
*/
|
|
30
|
+
data?: ApiV1AdminBillingRefundsClawbacksGet200ResponseData;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the ApiV1AdminBillingRefundsClawbacksGet200Response interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfApiV1AdminBillingRefundsClawbacksGet200Response(value: object): value is ApiV1AdminBillingRefundsClawbacksGet200Response;
|
|
36
|
+
export declare function ApiV1AdminBillingRefundsClawbacksGet200ResponseFromJSON(json: any): ApiV1AdminBillingRefundsClawbacksGet200Response;
|
|
37
|
+
export declare function ApiV1AdminBillingRefundsClawbacksGet200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiV1AdminBillingRefundsClawbacksGet200Response;
|
|
38
|
+
export declare function ApiV1AdminBillingRefundsClawbacksGet200ResponseToJSON(json: any): ApiV1AdminBillingRefundsClawbacksGet200Response;
|
|
39
|
+
export declare function ApiV1AdminBillingRefundsClawbacksGet200ResponseToJSONTyped(value?: ApiV1AdminBillingRefundsClawbacksGet200Response | 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 { ApiV1AdminBillingRefundsClawbacksGet200ResponseDataFromJSON, ApiV1AdminBillingRefundsClawbacksGet200ResponseDataToJSON, } from './ApiV1AdminBillingRefundsClawbacksGet200ResponseData.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the ApiV1AdminBillingRefundsClawbacksGet200Response interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfApiV1AdminBillingRefundsClawbacksGet200Response(value) {
|
|
19
|
+
return true;
|
|
20
|
+
}
|
|
21
|
+
export function ApiV1AdminBillingRefundsClawbacksGet200ResponseFromJSON(json) {
|
|
22
|
+
return ApiV1AdminBillingRefundsClawbacksGet200ResponseFromJSONTyped(json, false);
|
|
23
|
+
}
|
|
24
|
+
export function ApiV1AdminBillingRefundsClawbacksGet200ResponseFromJSONTyped(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 : ApiV1AdminBillingRefundsClawbacksGet200ResponseDataFromJSON(json['data']),
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function ApiV1AdminBillingRefundsClawbacksGet200ResponseToJSON(json) {
|
|
34
|
+
return ApiV1AdminBillingRefundsClawbacksGet200ResponseToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function ApiV1AdminBillingRefundsClawbacksGet200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'success': value['success'],
|
|
42
|
+
'data': ApiV1AdminBillingRefundsClawbacksGet200ResponseDataToJSON(value['data']),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
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 { ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner } from './ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ApiV1AdminBillingRefundsClawbacksGet200ResponseData
|
|
17
|
+
*/
|
|
18
|
+
export interface ApiV1AdminBillingRefundsClawbacksGet200ResponseData {
|
|
19
|
+
/**
|
|
20
|
+
* The organization the listing was scoped to; null on the unscoped feed.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof ApiV1AdminBillingRefundsClawbacksGet200ResponseData
|
|
23
|
+
*/
|
|
24
|
+
organizationId?: string | null;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {Array<ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner>}
|
|
28
|
+
* @memberof ApiV1AdminBillingRefundsClawbacksGet200ResponseData
|
|
29
|
+
*/
|
|
30
|
+
clawbacks?: Array<ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner>;
|
|
31
|
+
/**
|
|
32
|
+
* Matching rows across every page.
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof ApiV1AdminBillingRefundsClawbacksGet200ResponseData
|
|
35
|
+
*/
|
|
36
|
+
total?: number;
|
|
37
|
+
/**
|
|
38
|
+
* Sum of credits across every matching row — the re-grant sizing figure.
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof ApiV1AdminBillingRefundsClawbacksGet200ResponseData
|
|
41
|
+
*/
|
|
42
|
+
totalCredits?: number;
|
|
43
|
+
/**
|
|
44
|
+
* Distinct charges behind the matches.
|
|
45
|
+
* @type {number}
|
|
46
|
+
* @memberof ApiV1AdminBillingRefundsClawbacksGet200ResponseData
|
|
47
|
+
*/
|
|
48
|
+
totalCharges?: number;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Check if a given object implements the ApiV1AdminBillingRefundsClawbacksGet200ResponseData interface.
|
|
52
|
+
*/
|
|
53
|
+
export declare function instanceOfApiV1AdminBillingRefundsClawbacksGet200ResponseData(value: object): value is ApiV1AdminBillingRefundsClawbacksGet200ResponseData;
|
|
54
|
+
export declare function ApiV1AdminBillingRefundsClawbacksGet200ResponseDataFromJSON(json: any): ApiV1AdminBillingRefundsClawbacksGet200ResponseData;
|
|
55
|
+
export declare function ApiV1AdminBillingRefundsClawbacksGet200ResponseDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiV1AdminBillingRefundsClawbacksGet200ResponseData;
|
|
56
|
+
export declare function ApiV1AdminBillingRefundsClawbacksGet200ResponseDataToJSON(json: any): ApiV1AdminBillingRefundsClawbacksGet200ResponseData;
|
|
57
|
+
export declare function ApiV1AdminBillingRefundsClawbacksGet200ResponseDataToJSONTyped(value?: ApiV1AdminBillingRefundsClawbacksGet200ResponseData | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
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 { ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInnerFromJSON, ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInnerToJSON, } from './ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the ApiV1AdminBillingRefundsClawbacksGet200ResponseData interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfApiV1AdminBillingRefundsClawbacksGet200ResponseData(value) {
|
|
19
|
+
return true;
|
|
20
|
+
}
|
|
21
|
+
export function ApiV1AdminBillingRefundsClawbacksGet200ResponseDataFromJSON(json) {
|
|
22
|
+
return ApiV1AdminBillingRefundsClawbacksGet200ResponseDataFromJSONTyped(json, false);
|
|
23
|
+
}
|
|
24
|
+
export function ApiV1AdminBillingRefundsClawbacksGet200ResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
+
if (json == null) {
|
|
26
|
+
return json;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'organizationId': json['organizationId'] == null ? undefined : json['organizationId'],
|
|
30
|
+
'clawbacks': json['clawbacks'] == null ? undefined : (json['clawbacks'].map(ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInnerFromJSON)),
|
|
31
|
+
'total': json['total'] == null ? undefined : json['total'],
|
|
32
|
+
'totalCredits': json['totalCredits'] == null ? undefined : json['totalCredits'],
|
|
33
|
+
'totalCharges': json['totalCharges'] == null ? undefined : json['totalCharges'],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function ApiV1AdminBillingRefundsClawbacksGet200ResponseDataToJSON(json) {
|
|
37
|
+
return ApiV1AdminBillingRefundsClawbacksGet200ResponseDataToJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function ApiV1AdminBillingRefundsClawbacksGet200ResponseDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'organizationId': value['organizationId'],
|
|
45
|
+
'clawbacks': value['clawbacks'] == null ? undefined : (value['clawbacks'].map(ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInnerToJSON)),
|
|
46
|
+
'total': value['total'],
|
|
47
|
+
'totalCredits': value['totalCredits'],
|
|
48
|
+
'totalCharges': value['totalCharges'],
|
|
49
|
+
};
|
|
50
|
+
}
|
package/dist/esm/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner.d.ts
ADDED
|
@@ -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 ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner
|
|
16
|
+
*/
|
|
17
|
+
export interface ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner
|
|
22
|
+
*/
|
|
23
|
+
memberId?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner
|
|
28
|
+
*/
|
|
29
|
+
memberEmail?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
* Every organization the member belongs to; names whose seat the charge was on the unscoped feed.
|
|
32
|
+
* @type {Array<string>}
|
|
33
|
+
* @memberof ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner
|
|
34
|
+
*/
|
|
35
|
+
organizations?: Array<string>;
|
|
36
|
+
/**
|
|
37
|
+
* The Stripe charge the reversal belongs to — the per-charge dedupe key.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner
|
|
40
|
+
*/
|
|
41
|
+
chargeId?: string | null;
|
|
42
|
+
/**
|
|
43
|
+
* Credits the clawback took from this member.
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner
|
|
46
|
+
*/
|
|
47
|
+
credits?: number;
|
|
48
|
+
/**
|
|
49
|
+
* `refund_reversal:<chargeId>` — the ledger key naming this clawback.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner
|
|
52
|
+
*/
|
|
53
|
+
referenceId?: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner
|
|
58
|
+
*/
|
|
59
|
+
occurredAt?: string | null;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Check if a given object implements the ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner interface.
|
|
63
|
+
*/
|
|
64
|
+
export declare function instanceOfApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner(value: object): value is ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner;
|
|
65
|
+
export declare function ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInnerFromJSON(json: any): ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner;
|
|
66
|
+
export declare function ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner;
|
|
67
|
+
export declare function ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInnerToJSON(json: any): ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner;
|
|
68
|
+
export declare function ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInnerToJSONTyped(value?: ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner | 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 ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInnerFromJSON(json) {
|
|
21
|
+
return ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInnerFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'memberId': json['memberId'] == null ? undefined : json['memberId'],
|
|
29
|
+
'memberEmail': json['memberEmail'] == null ? undefined : json['memberEmail'],
|
|
30
|
+
'organizations': json['organizations'] == null ? undefined : json['organizations'],
|
|
31
|
+
'chargeId': json['chargeId'] == null ? undefined : json['chargeId'],
|
|
32
|
+
'credits': json['credits'] == null ? undefined : json['credits'],
|
|
33
|
+
'referenceId': json['referenceId'] == null ? undefined : json['referenceId'],
|
|
34
|
+
'occurredAt': json['occurredAt'] == null ? undefined : json['occurredAt'],
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
export function ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInnerToJSON(json) {
|
|
38
|
+
return ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInnerToJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
export function ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInnerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
41
|
+
if (value == null) {
|
|
42
|
+
return value;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'memberId': value['memberId'],
|
|
46
|
+
'memberEmail': value['memberEmail'],
|
|
47
|
+
'organizations': value['organizations'],
|
|
48
|
+
'chargeId': value['chargeId'],
|
|
49
|
+
'credits': value['credits'],
|
|
50
|
+
'referenceId': value['referenceId'],
|
|
51
|
+
'occurredAt': value['occurredAt'],
|
|
52
|
+
};
|
|
53
|
+
}
|
|
@@ -28,29 +28,29 @@ export interface ApiV1AdminBillingRefundsPostRequest {
|
|
|
28
28
|
*/
|
|
29
29
|
subjectId: string;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* Why the refund is being issued (required; recorded on the refund event)
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof ApiV1AdminBillingRefundsPostRequest
|
|
34
34
|
*/
|
|
35
|
-
|
|
35
|
+
reason: string;
|
|
36
36
|
/**
|
|
37
37
|
*
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof ApiV1AdminBillingRefundsPostRequest
|
|
40
40
|
*/
|
|
41
|
-
|
|
41
|
+
paymentIntentId?: string;
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
45
|
* @memberof ApiV1AdminBillingRefundsPostRequest
|
|
46
46
|
*/
|
|
47
|
-
|
|
47
|
+
stripeInvoiceId?: string;
|
|
48
48
|
/**
|
|
49
|
-
*
|
|
49
|
+
* Refund the subscription's latest paid invoice, resolved server-side (Stripe first, then its newest paid credit grant). Used only when neither charge id is given; naming a charge wins.
|
|
50
50
|
* @type {string}
|
|
51
51
|
* @memberof ApiV1AdminBillingRefundsPostRequest
|
|
52
52
|
*/
|
|
53
|
-
|
|
53
|
+
subscriptionId?: string;
|
|
54
54
|
}
|
|
55
55
|
/**
|
|
56
56
|
* @export
|
|
@@ -40,10 +40,10 @@ export function ApiV1AdminBillingRefundsPostRequestFromJSONTyped(json, ignoreDis
|
|
|
40
40
|
return {
|
|
41
41
|
'subjectType': json['subjectType'],
|
|
42
42
|
'subjectId': json['subjectId'],
|
|
43
|
+
'reason': json['reason'],
|
|
43
44
|
'paymentIntentId': json['paymentIntentId'] == null ? undefined : json['paymentIntentId'],
|
|
44
45
|
'stripeInvoiceId': json['stripeInvoiceId'] == null ? undefined : json['stripeInvoiceId'],
|
|
45
|
-
'
|
|
46
|
-
'reason': json['reason'],
|
|
46
|
+
'subscriptionId': json['subscriptionId'] == null ? undefined : json['subscriptionId'],
|
|
47
47
|
};
|
|
48
48
|
}
|
|
49
49
|
export function ApiV1AdminBillingRefundsPostRequestToJSON(json) {
|
|
@@ -56,9 +56,9 @@ export function ApiV1AdminBillingRefundsPostRequestToJSONTyped(value, ignoreDisc
|
|
|
56
56
|
return {
|
|
57
57
|
'subjectType': value['subjectType'],
|
|
58
58
|
'subjectId': value['subjectId'],
|
|
59
|
+
'reason': value['reason'],
|
|
59
60
|
'paymentIntentId': value['paymentIntentId'],
|
|
60
61
|
'stripeInvoiceId': value['stripeInvoiceId'],
|
|
61
|
-
'
|
|
62
|
-
'reason': value['reason'],
|
|
62
|
+
'subscriptionId': value['subscriptionId'],
|
|
63
63
|
};
|
|
64
64
|
}
|
|
@@ -0,0 +1,71 @@
|
|
|
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 { ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreview } from './ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreview';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ApiV1AdminBillingRefundsPreviewPost200Response
|
|
17
|
+
*/
|
|
18
|
+
export interface ApiV1AdminBillingRefundsPreviewPost200Response {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof ApiV1AdminBillingRefundsPreviewPost200Response
|
|
23
|
+
*/
|
|
24
|
+
paymentIntentId?: string;
|
|
25
|
+
/**
|
|
26
|
+
* The derived refund amount
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof ApiV1AdminBillingRefundsPreviewPost200Response
|
|
29
|
+
*/
|
|
30
|
+
amountUsd?: number;
|
|
31
|
+
/**
|
|
32
|
+
* The plan's own credit rate, or null when the plan cannot price one
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof ApiV1AdminBillingRefundsPreviewPost200Response
|
|
35
|
+
*/
|
|
36
|
+
unitPriceUsd?: number | null;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof ApiV1AdminBillingRefundsPreviewPost200Response
|
|
41
|
+
*/
|
|
42
|
+
planType?: string | null;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof ApiV1AdminBillingRefundsPreviewPost200Response
|
|
47
|
+
*/
|
|
48
|
+
allowanceKind?: ApiV1AdminBillingRefundsPreviewPost200ResponseAllowanceKindEnum;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreview}
|
|
52
|
+
* @memberof ApiV1AdminBillingRefundsPreviewPost200Response
|
|
53
|
+
*/
|
|
54
|
+
organizationPreview?: ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreview | null;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* @export
|
|
58
|
+
*/
|
|
59
|
+
export declare const ApiV1AdminBillingRefundsPreviewPost200ResponseAllowanceKindEnum: {
|
|
60
|
+
readonly Grant: "grant";
|
|
61
|
+
readonly Organization: "organization";
|
|
62
|
+
};
|
|
63
|
+
export type ApiV1AdminBillingRefundsPreviewPost200ResponseAllowanceKindEnum = typeof ApiV1AdminBillingRefundsPreviewPost200ResponseAllowanceKindEnum[keyof typeof ApiV1AdminBillingRefundsPreviewPost200ResponseAllowanceKindEnum];
|
|
64
|
+
/**
|
|
65
|
+
* Check if a given object implements the ApiV1AdminBillingRefundsPreviewPost200Response interface.
|
|
66
|
+
*/
|
|
67
|
+
export declare function instanceOfApiV1AdminBillingRefundsPreviewPost200Response(value: object): value is ApiV1AdminBillingRefundsPreviewPost200Response;
|
|
68
|
+
export declare function ApiV1AdminBillingRefundsPreviewPost200ResponseFromJSON(json: any): ApiV1AdminBillingRefundsPreviewPost200Response;
|
|
69
|
+
export declare function ApiV1AdminBillingRefundsPreviewPost200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiV1AdminBillingRefundsPreviewPost200Response;
|
|
70
|
+
export declare function ApiV1AdminBillingRefundsPreviewPost200ResponseToJSON(json: any): ApiV1AdminBillingRefundsPreviewPost200Response;
|
|
71
|
+
export declare function ApiV1AdminBillingRefundsPreviewPost200ResponseToJSONTyped(value?: ApiV1AdminBillingRefundsPreviewPost200Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,59 @@
|
|
|
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 { ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreviewFromJSON, ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreviewToJSON, } from './ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreview.js';
|
|
15
|
+
/**
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const ApiV1AdminBillingRefundsPreviewPost200ResponseAllowanceKindEnum = {
|
|
19
|
+
Grant: 'grant',
|
|
20
|
+
Organization: 'organization'
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the ApiV1AdminBillingRefundsPreviewPost200Response interface.
|
|
24
|
+
*/
|
|
25
|
+
export function instanceOfApiV1AdminBillingRefundsPreviewPost200Response(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
export function ApiV1AdminBillingRefundsPreviewPost200ResponseFromJSON(json) {
|
|
29
|
+
return ApiV1AdminBillingRefundsPreviewPost200ResponseFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
export function ApiV1AdminBillingRefundsPreviewPost200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'paymentIntentId': json['paymentIntentId'] == null ? undefined : json['paymentIntentId'],
|
|
37
|
+
'amountUsd': json['amountUsd'] == null ? undefined : json['amountUsd'],
|
|
38
|
+
'unitPriceUsd': json['unitPriceUsd'] == null ? undefined : json['unitPriceUsd'],
|
|
39
|
+
'planType': json['planType'] == null ? undefined : json['planType'],
|
|
40
|
+
'allowanceKind': json['allowanceKind'] == null ? undefined : json['allowanceKind'],
|
|
41
|
+
'organizationPreview': json['organizationPreview'] == null ? undefined : ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreviewFromJSON(json['organizationPreview']),
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
export function ApiV1AdminBillingRefundsPreviewPost200ResponseToJSON(json) {
|
|
45
|
+
return ApiV1AdminBillingRefundsPreviewPost200ResponseToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
export function ApiV1AdminBillingRefundsPreviewPost200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'paymentIntentId': value['paymentIntentId'],
|
|
53
|
+
'amountUsd': value['amountUsd'],
|
|
54
|
+
'unitPriceUsd': value['unitPriceUsd'],
|
|
55
|
+
'planType': value['planType'],
|
|
56
|
+
'allowanceKind': value['allowanceKind'],
|
|
57
|
+
'organizationPreview': ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreviewToJSON(value['organizationPreview']),
|
|
58
|
+
};
|
|
59
|
+
}
|