@widgetic/api-sdk 1.0.24 → 1.0.25
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/ABTestingApi.d.ts +29 -1
- package/dist/apis/ABTestingApi.js +80 -0
- package/dist/apis/AdminApi.d.ts +192 -1
- package/dist/apis/AdminApi.js +507 -1
- package/dist/apis/AdminBillingApi.d.ts +103 -97
- package/dist/apis/AdminBillingApi.js +182 -168
- package/dist/apis/AgentApi.d.ts +31 -42
- package/dist/apis/AgentApi.js +67 -110
- package/dist/apis/AuthenticationApi.d.ts +19 -3
- package/dist/apis/AuthenticationApi.js +35 -4
- package/dist/apis/BillingApi.d.ts +42 -42
- package/dist/apis/BillingApi.js +68 -68
- package/dist/apis/CanvasesApi.d.ts +10 -8
- package/dist/apis/CanvasesApi.js +14 -8
- package/dist/apis/ComponentsApi.d.ts +1 -28
- package/dist/apis/ComponentsApi.js +0 -85
- package/dist/apis/CompositionsApi.d.ts +74 -17
- package/dist/apis/CompositionsApi.js +178 -15
- package/dist/apis/CreditsApi.d.ts +15 -14
- package/dist/apis/CreditsApi.js +15 -14
- package/dist/apis/EntitlementsApi.js +3 -3
- package/dist/apis/InvoicesApi.d.ts +35 -19
- package/dist/apis/InvoicesApi.js +33 -18
- package/dist/apis/MCPApi.d.ts +2 -35
- package/dist/apis/MCPApi.js +2 -89
- package/dist/apis/ManagedUsersApi.d.ts +105 -11
- package/dist/apis/ManagedUsersApi.js +285 -9
- package/dist/apis/MonitoringApi.d.ts +19 -19
- package/dist/apis/MonitoringApi.js +24 -24
- package/dist/apis/OAuthConnectionsApi.d.ts +68 -0
- package/dist/apis/OAuthConnectionsApi.js +183 -0
- package/dist/apis/OperationsApi.d.ts +9 -4
- package/dist/apis/OperationsApi.js +8 -3
- package/dist/apis/OrganizationsApi.d.ts +35 -19
- package/dist/apis/OrganizationsApi.js +71 -17
- package/dist/apis/PartnerCustomizationsApi.d.ts +6 -6
- package/dist/apis/PartnerCustomizationsApi.js +6 -6
- package/dist/apis/PartnersApi.d.ts +124 -3
- package/dist/apis/PartnersApi.js +350 -2
- package/dist/apis/ShopifyApi.d.ts +127 -0
- package/dist/apis/ShopifyApi.js +335 -0
- package/dist/apis/SubscriptionsApi.d.ts +17 -17
- package/dist/apis/SubscriptionsApi.js +42 -42
- package/dist/apis/UploadsApi.d.ts +41 -22
- package/dist/apis/UploadsApi.js +86 -30
- package/dist/apis/UsageApi.d.ts +6 -6
- package/dist/apis/UsageApi.js +9 -9
- package/dist/apis/UsersApi.d.ts +138 -1
- package/dist/apis/UsersApi.js +404 -0
- package/dist/apis/WidgetsApi.d.ts +30 -27
- package/dist/apis/WidgetsApi.js +68 -39
- package/dist/apis/WorkspacesApi.d.ts +29 -1
- package/dist/apis/WorkspacesApi.js +80 -0
- package/dist/apis/index.d.ts +2 -3
- package/dist/apis/index.js +2 -3
- package/dist/esm/apis/ABTestingApi.d.ts +29 -1
- package/dist/esm/apis/ABTestingApi.js +81 -1
- package/dist/esm/apis/AdminApi.d.ts +192 -1
- package/dist/esm/apis/AdminApi.js +507 -1
- package/dist/esm/apis/AdminBillingApi.d.ts +103 -97
- package/dist/esm/apis/AdminBillingApi.js +182 -168
- package/dist/esm/apis/AgentApi.d.ts +31 -42
- package/dist/esm/apis/AgentApi.js +68 -111
- package/dist/esm/apis/AuthenticationApi.d.ts +19 -3
- package/dist/esm/apis/AuthenticationApi.js +36 -5
- package/dist/esm/apis/BillingApi.d.ts +42 -42
- package/dist/esm/apis/BillingApi.js +69 -69
- package/dist/esm/apis/CanvasesApi.d.ts +10 -8
- package/dist/esm/apis/CanvasesApi.js +14 -8
- package/dist/esm/apis/ComponentsApi.d.ts +1 -28
- package/dist/esm/apis/ComponentsApi.js +1 -86
- package/dist/esm/apis/CompositionsApi.d.ts +74 -17
- package/dist/esm/apis/CompositionsApi.js +179 -16
- package/dist/esm/apis/CreditsApi.d.ts +15 -14
- package/dist/esm/apis/CreditsApi.js +15 -14
- package/dist/esm/apis/EntitlementsApi.js +3 -3
- package/dist/esm/apis/InvoicesApi.d.ts +35 -19
- package/dist/esm/apis/InvoicesApi.js +32 -17
- package/dist/esm/apis/MCPApi.d.ts +2 -35
- package/dist/esm/apis/MCPApi.js +2 -89
- package/dist/esm/apis/ManagedUsersApi.d.ts +105 -11
- package/dist/esm/apis/ManagedUsersApi.js +286 -10
- package/dist/esm/apis/MonitoringApi.d.ts +19 -19
- package/dist/esm/apis/MonitoringApi.js +24 -24
- package/dist/esm/apis/OAuthConnectionsApi.d.ts +68 -0
- package/dist/esm/apis/OAuthConnectionsApi.js +179 -0
- package/dist/esm/apis/OperationsApi.d.ts +9 -4
- package/dist/esm/apis/OperationsApi.js +8 -3
- package/dist/esm/apis/OrganizationsApi.d.ts +35 -19
- package/dist/esm/apis/OrganizationsApi.js +72 -18
- package/dist/esm/apis/PartnerCustomizationsApi.d.ts +6 -6
- package/dist/esm/apis/PartnerCustomizationsApi.js +6 -6
- package/dist/esm/apis/PartnersApi.d.ts +124 -3
- package/dist/esm/apis/PartnersApi.js +351 -3
- package/dist/esm/apis/ShopifyApi.d.ts +127 -0
- package/dist/esm/apis/ShopifyApi.js +331 -0
- package/dist/esm/apis/SubscriptionsApi.d.ts +17 -17
- package/dist/esm/apis/SubscriptionsApi.js +43 -43
- package/dist/esm/apis/UploadsApi.d.ts +41 -22
- package/dist/esm/apis/UploadsApi.js +86 -30
- package/dist/esm/apis/UsageApi.d.ts +6 -6
- package/dist/esm/apis/UsageApi.js +9 -9
- package/dist/esm/apis/UsersApi.d.ts +138 -1
- package/dist/esm/apis/UsersApi.js +405 -1
- package/dist/esm/apis/WidgetsApi.d.ts +30 -27
- package/dist/esm/apis/WidgetsApi.js +68 -39
- package/dist/esm/apis/WorkspacesApi.d.ts +29 -1
- package/dist/esm/apis/WorkspacesApi.js +81 -1
- package/dist/esm/apis/index.d.ts +2 -3
- package/dist/esm/apis/index.js +2 -3
- package/dist/esm/models/ABTestDiagnosis.d.ts +69 -0
- package/dist/esm/models/ABTestDiagnosis.js +61 -0
- package/dist/esm/models/ABTestStatistics.d.ts +47 -0
- package/dist/esm/models/ABTestStatistics.js +48 -0
- package/dist/esm/models/ABTestStatisticsOverall.d.ts +56 -0
- package/dist/esm/models/ABTestStatisticsOverall.js +49 -0
- package/dist/esm/models/ABTestStatisticsRecommendation.d.ts +54 -0
- package/dist/esm/models/ABTestStatisticsRecommendation.js +54 -0
- package/dist/esm/models/ABTestStatisticsVariantsInner.d.ts +104 -0
- package/dist/esm/models/ABTestStatisticsVariantsInner.js +65 -0
- package/dist/esm/models/AccountCreditBalance.d.ts +58 -0
- package/dist/esm/models/AccountCreditBalance.js +49 -0
- package/dist/esm/models/AccountCreditTransaction.d.ts +69 -0
- package/dist/esm/models/AccountCreditTransaction.js +53 -0
- package/dist/esm/models/AddPartnerCreditsRequest.d.ts +1 -1
- package/dist/esm/models/AdjustPartnerCredits200Response.d.ts +44 -0
- package/dist/esm/models/AdjustPartnerCredits200Response.js +45 -0
- package/dist/esm/models/AdjustPartnerCreditsRequest.d.ts +54 -0
- package/dist/esm/models/AdjustPartnerCreditsRequest.js +60 -0
- package/dist/esm/models/AdjustUserCredits200Response.d.ts +44 -0
- package/dist/esm/models/AdjustUserCredits200Response.js +45 -0
- package/dist/esm/models/AdjustUserCreditsRequest.d.ts +44 -0
- package/dist/esm/models/AdjustUserCreditsRequest.js +51 -0
- package/dist/esm/models/AdminBillingGrantsGrantIdRejectPostRequest.d.ts +32 -0
- package/dist/esm/models/AdminBillingGrantsGrantIdRejectPostRequest.js +41 -0
- package/dist/esm/models/AdminBillingGrantsPost200Response.d.ts +39 -0
- package/dist/esm/models/AdminBillingGrantsPost200Response.js +44 -0
- package/dist/esm/models/AdminBillingGrantsPost200ResponseData.d.ts +46 -0
- package/dist/esm/models/AdminBillingGrantsPost200ResponseData.js +46 -0
- package/dist/esm/models/AdminBillingGrantsPost200ResponseDataGrant.d.ts +110 -0
- package/dist/esm/models/AdminBillingGrantsPost200ResponseDataGrant.js +77 -0
- package/dist/esm/models/AdminBillingGrantsPostRequest.d.ts +82 -0
- package/dist/esm/models/AdminBillingGrantsPostRequest.js +79 -0
- package/dist/esm/models/AdminBillingPlansPricesBackfillPostRequest.d.ts +32 -0
- package/dist/esm/models/AdminBillingPlansPricesBackfillPostRequest.js +41 -0
- package/dist/esm/models/AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequest.d.ts +32 -0
- package/dist/esm/models/AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequest.js +43 -0
- package/dist/esm/models/AdminBillingRefundsClawbacksGet200Response.d.ts +39 -0
- package/dist/esm/models/AdminBillingRefundsClawbacksGet200Response.js +44 -0
- package/dist/esm/models/AdminBillingRefundsClawbacksGet200ResponseData.d.ts +57 -0
- package/dist/esm/models/AdminBillingRefundsClawbacksGet200ResponseData.js +50 -0
- package/dist/esm/models/AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner.d.ts +68 -0
- package/dist/esm/models/AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner.js +53 -0
- package/dist/esm/models/AdminBillingRefundsPostRequest.d.ts +70 -0
- package/dist/esm/models/AdminBillingRefundsPostRequest.js +64 -0
- package/dist/esm/models/AdminBillingRefundsPreviewPost200Response.d.ts +71 -0
- package/dist/esm/models/AdminBillingRefundsPreviewPost200Response.js +59 -0
- package/dist/esm/models/AdminBillingRefundsPreviewPost200ResponseOrganizationPreview.d.ts +51 -0
- package/dist/esm/models/AdminBillingRefundsPreviewPost200ResponseOrganizationPreview.js +48 -0
- package/dist/esm/models/AdminBillingRefundsPreviewPostRequest.d.ts +70 -0
- package/dist/esm/models/AdminBillingRefundsPreviewPostRequest.js +62 -0
- package/dist/esm/models/AdminBillingSubscriptionsSubjectIdCancelPostRequest.d.ts +46 -0
- package/dist/esm/models/AdminBillingSubscriptionsSubjectIdCancelPostRequest.js +52 -0
- package/dist/esm/models/AgentDesignResolvePost200Response.d.ts +39 -0
- package/dist/esm/models/AgentDesignResolvePost200Response.js +44 -0
- package/dist/esm/models/AgentDesignResolvePost200ResponseData.d.ts +80 -0
- package/dist/esm/models/AgentDesignResolvePost200ResponseData.js +57 -0
- package/dist/esm/models/AgentDesignResolvePostRequest.d.ts +54 -0
- package/dist/esm/models/AgentDesignResolvePostRequest.js +51 -0
- package/dist/esm/models/AgentShapeRecognizePost200Response.d.ts +39 -0
- package/dist/esm/models/AgentShapeRecognizePost200Response.js +44 -0
- package/dist/esm/models/AgentShapeRecognizePost200ResponseData.d.ts +68 -0
- package/dist/esm/models/AgentShapeRecognizePost200ResponseData.js +53 -0
- package/dist/esm/models/AgentShapeRecognizePostRequest.d.ts +54 -0
- package/dist/esm/models/AgentShapeRecognizePostRequest.js +53 -0
- package/dist/esm/models/AgentShapeRecognizePostRequestCandidatesInner.d.ts +44 -0
- package/dist/esm/models/AgentShapeRecognizePostRequestCandidatesInner.js +51 -0
- package/dist/esm/models/AgentShapeRecognizePostRequestDeterministic.d.ts +38 -0
- package/dist/esm/models/AgentShapeRecognizePostRequestDeterministic.js +43 -0
- package/dist/esm/models/AgentWidgetBuilderPublishWidgetIdPost200ResponseData.d.ts +6 -0
- package/dist/esm/models/AgentWidgetBuilderPublishWidgetIdPost200ResponseData.js +2 -0
- package/dist/esm/models/ApproveShopifySeat200Response.d.ts +39 -0
- package/dist/esm/models/ApproveShopifySeat200Response.js +44 -0
- package/dist/esm/models/ApproveShopifySeat200ResponseData.d.ts +50 -0
- package/dist/esm/models/ApproveShopifySeat200ResponseData.js +52 -0
- package/dist/esm/models/ApproveShopifySeat200ResponseDataSeat.d.ts +52 -0
- package/dist/esm/models/ApproveShopifySeat200ResponseDataSeat.js +52 -0
- package/dist/esm/models/BillingPricingGet200Response.d.ts +39 -0
- package/dist/esm/models/BillingPricingGet200Response.js +44 -0
- package/dist/esm/models/BillingPricingGet200ResponseData.d.ts +46 -0
- package/dist/esm/models/BillingPricingGet200ResponseData.js +47 -0
- package/dist/esm/models/BillingPricingGet200ResponseDataPlansInner.d.ts +68 -0
- package/dist/esm/models/BillingPricingGet200ResponseDataPlansInner.js +53 -0
- package/dist/esm/models/BillingPricingGet200ResponseDataTrial.d.ts +44 -0
- package/dist/esm/models/BillingPricingGet200ResponseDataTrial.js +45 -0
- package/dist/esm/models/BillingUsersUserIdInvoicesGet200Response.d.ts +39 -0
- package/dist/esm/models/BillingUsersUserIdInvoicesGet200Response.js +44 -0
- package/dist/esm/models/BillingUsersUserIdInvoicesGet200ResponseData.d.ts +33 -0
- package/dist/esm/models/BillingUsersUserIdInvoicesGet200ResponseData.js +42 -0
- package/dist/esm/models/BillingUsersUserIdInvoicesGet200ResponseDataInvoicesInner.d.ts +68 -0
- package/dist/esm/models/BillingUsersUserIdInvoicesGet200ResponseDataInvoicesInner.js +53 -0
- package/dist/esm/models/BillingUsersUserIdPaymentMethodsPaymentMethodIdDefaultPut200Response.d.ts +39 -0
- package/dist/esm/models/BillingUsersUserIdPaymentMethodsPaymentMethodIdDefaultPut200Response.js +44 -0
- package/dist/esm/models/BillingUsersUserIdPaymentMethodsPaymentMethodIdDefaultPut200ResponseData.d.ts +32 -0
- package/dist/esm/models/BillingUsersUserIdPaymentMethodsPaymentMethodIdDefaultPut200ResponseData.js +41 -0
- package/dist/esm/models/BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200Response.d.ts +39 -0
- package/dist/esm/models/BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200Response.js +44 -0
- package/dist/esm/models/BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200ResponseData.d.ts +32 -0
- package/dist/esm/models/BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200ResponseData.js +41 -0
- package/dist/esm/models/BillingUsersUserIdPortalPostRequest.d.ts +32 -0
- package/dist/esm/models/BillingUsersUserIdPortalPostRequest.js +41 -0
- package/dist/esm/models/BillingUsersUserIdSubscriptionCancelPost200Response.d.ts +39 -0
- package/dist/esm/models/BillingUsersUserIdSubscriptionCancelPost200Response.js +44 -0
- package/dist/esm/models/BillingUsersUserIdSubscriptionCancelPost200ResponseData.d.ts +32 -0
- package/dist/esm/models/BillingUsersUserIdSubscriptionCancelPost200ResponseData.js +41 -0
- package/dist/esm/models/BillingUsersUserIdSubscriptionCancelPostRequest.d.ts +32 -0
- package/dist/esm/models/BillingUsersUserIdSubscriptionCancelPostRequest.js +41 -0
- package/dist/esm/models/BillingUsersUserIdSubscriptionGet200Response.d.ts +39 -0
- package/dist/esm/models/BillingUsersUserIdSubscriptionGet200Response.js +44 -0
- package/dist/esm/models/BillingUsersUserIdSubscriptionGet200ResponseData.d.ts +120 -0
- package/dist/esm/models/BillingUsersUserIdSubscriptionGet200ResponseData.js +76 -0
- package/dist/esm/models/BillingUsersUserIdSubscriptionPayPost200Response.d.ts +39 -0
- package/dist/esm/models/BillingUsersUserIdSubscriptionPayPost200Response.js +44 -0
- package/dist/esm/models/BillingUsersUserIdSubscriptionPayPost200ResponseData.d.ts +38 -0
- package/dist/esm/models/BillingUsersUserIdSubscriptionPayPost200ResponseData.js +43 -0
- package/dist/esm/models/BillingUsersUserIdSubscriptionPost200Response.d.ts +39 -0
- package/dist/esm/models/BillingUsersUserIdSubscriptionPost200Response.js +44 -0
- package/dist/esm/models/BillingUsersUserIdSubscriptionPost200ResponseData.d.ts +38 -0
- package/dist/esm/models/BillingUsersUserIdSubscriptionPost200ResponseData.js +43 -0
- package/dist/esm/models/BillingUsersUserIdSubscriptionPostRequest.d.ts +59 -0
- package/dist/esm/models/BillingUsersUserIdSubscriptionPostRequest.js +60 -0
- package/dist/esm/models/CancelStoragePackRequest.d.ts +40 -0
- package/dist/esm/models/CancelStoragePackRequest.js +43 -0
- package/dist/esm/models/Canvas.d.ts +6 -0
- package/dist/esm/models/Canvas.js +2 -0
- package/dist/esm/models/Component.d.ts +4 -4
- package/dist/esm/models/Component.js +8 -8
- package/dist/esm/models/Composition.d.ts +6 -0
- package/dist/esm/models/Composition.js +2 -0
- package/dist/esm/models/CompositionEntriesDescription.d.ts +47 -0
- package/dist/esm/models/CompositionEntriesDescription.js +52 -0
- package/dist/esm/models/CompositionEntriesReading.d.ts +83 -0
- package/dist/esm/models/CompositionEntriesReading.js +72 -0
- package/dist/esm/models/CompositionEntryColumn.d.ts +38 -0
- package/dist/esm/models/CompositionEntryColumn.js +47 -0
- package/dist/esm/models/CompositionEntryTable.d.ts +45 -0
- package/dist/esm/models/CompositionEntryTable.js +52 -0
- package/dist/esm/models/CompositionEntryTally.d.ts +40 -0
- package/dist/esm/models/CompositionEntryTally.js +47 -0
- package/dist/esm/models/CompositionVersion.d.ts +1 -1
- package/dist/esm/models/CompositionVersion.js +2 -2
- package/dist/esm/models/ConfigureAutoReloadRequest.d.ts +1 -1
- package/dist/esm/models/CopyMyPresetRequest.d.ts +32 -0
- package/dist/esm/models/CopyMyPresetRequest.js +43 -0
- package/dist/esm/models/CopyPartnerPresetRequest.d.ts +32 -0
- package/dist/esm/models/CopyPartnerPresetRequest.js +41 -0
- package/dist/esm/models/CreateCanvasRequest.d.ts +12 -0
- package/dist/esm/models/CreateCanvasRequest.js +4 -0
- package/dist/esm/models/CreateInvoiceRequest.d.ts +137 -0
- package/dist/esm/models/CreateInvoiceRequest.js +100 -0
- package/dist/esm/models/CreateInvoiceRequestItemsInner.d.ts +50 -0
- package/dist/esm/models/CreateInvoiceRequestItemsInner.js +55 -0
- package/dist/esm/models/CreateMessageRequest.d.ts +7 -13
- package/dist/esm/models/CreateMessageRequest.js +5 -4
- package/dist/esm/models/CreateMessageRequestSuggestionsInner.d.ts +46 -0
- package/dist/esm/models/CreateMessageRequestSuggestionsInner.js +54 -0
- package/dist/esm/models/CreateOrganizationTranslationRequest.d.ts +58 -0
- package/dist/esm/models/CreateOrganizationTranslationRequest.js +57 -0
- package/dist/esm/models/CreatePartnerRequest.d.ts +71 -0
- package/dist/esm/models/CreatePartnerRequest.js +59 -0
- package/dist/esm/models/CreateShopifyBuilderSession200Response.d.ts +39 -0
- package/dist/esm/models/CreateShopifyBuilderSession200Response.js +44 -0
- package/dist/esm/models/CreateShopifyBuilderSession200ResponseData.d.ts +44 -0
- package/dist/esm/models/CreateShopifyBuilderSession200ResponseData.js +45 -0
- package/dist/esm/models/CreateShopifyBuilderSessionRequest.d.ts +32 -0
- package/dist/esm/models/CreateShopifyBuilderSessionRequest.js +41 -0
- package/dist/esm/models/CreateUserApiKeyRequest.d.ts +38 -0
- package/dist/esm/models/CreateUserApiKeyRequest.js +45 -0
- package/dist/esm/models/CreateWidget201Response.d.ts +3 -3
- package/dist/esm/models/CreateWidget201Response.js +3 -3
- package/dist/esm/models/CreateWidget201ResponseData.d.ts +181 -0
- package/dist/esm/models/CreateWidget201ResponseData.js +95 -0
- package/dist/esm/models/CreatedUserApiKey.d.ts +68 -0
- package/dist/esm/models/CreatedUserApiKey.js +65 -0
- package/dist/esm/models/DecideOAuthAuthorization200Response.d.ts +39 -0
- package/dist/esm/models/DecideOAuthAuthorization200Response.js +44 -0
- package/dist/esm/models/DecideOAuthAuthorization200ResponseData.d.ts +59 -0
- package/dist/esm/models/DecideOAuthAuthorization200ResponseData.js +62 -0
- package/dist/esm/models/DecideOAuthAuthorizationRequest.d.ts +32 -0
- package/dist/esm/models/DecideOAuthAuthorizationRequest.js +43 -0
- package/dist/esm/models/DeclineShopifySeat200Response.d.ts +39 -0
- package/dist/esm/models/DeclineShopifySeat200Response.js +44 -0
- package/dist/esm/models/DeclineShopifySeat200ResponseData.d.ts +47 -0
- package/dist/esm/models/DeclineShopifySeat200ResponseData.js +51 -0
- package/dist/esm/models/DeclineShopifySeat200ResponseDataSeat.d.ts +52 -0
- package/dist/esm/models/DeclineShopifySeat200ResponseDataSeat.js +52 -0
- package/dist/esm/models/DeleteAccountRequest.d.ts +32 -0
- package/dist/esm/models/DeleteAccountRequest.js +41 -0
- package/dist/esm/models/DeletePersonalWorkspaceDomain200Response.d.ts +32 -0
- package/dist/esm/models/DeletePersonalWorkspaceDomain200Response.js +41 -0
- package/dist/esm/models/DeleteUserApiKey200Response.d.ts +32 -0
- package/dist/esm/models/DeleteUserApiKey200Response.js +41 -0
- package/dist/esm/models/DisconnectOAuthConnection200Response.d.ts +39 -0
- package/dist/esm/models/DisconnectOAuthConnection200Response.js +44 -0
- package/dist/esm/models/DisconnectOAuthConnection200ResponseData.d.ts +32 -0
- package/dist/esm/models/DisconnectOAuthConnection200ResponseData.js +43 -0
- package/dist/esm/models/DuplicateWidgetRequest.d.ts +18 -0
- package/dist/esm/models/DuplicateWidgetRequest.js +6 -0
- package/dist/esm/models/EditorSession.d.ts +91 -0
- package/dist/esm/models/EditorSession.js +79 -0
- package/dist/esm/models/Entitlement.d.ts +7 -7
- package/dist/esm/models/Entitlement.js +14 -14
- package/dist/esm/models/EntitlementCheck.d.ts +1 -1
- package/dist/esm/models/EntitlementCheck.js +2 -2
- package/dist/esm/models/ForbiddenErrorResponse.d.ts +51 -0
- package/dist/esm/models/ForbiddenErrorResponse.js +52 -0
- package/dist/esm/models/ForbiddenErrorResponseError.d.ts +57 -0
- package/dist/esm/models/ForbiddenErrorResponseError.js +54 -0
- package/dist/esm/models/ForbiddenErrorResponseErrorDetails.d.ts +49 -0
- package/dist/esm/models/ForbiddenErrorResponseErrorDetails.js +50 -0
- package/dist/esm/models/GenerateCodeRequest.d.ts +41 -33
- package/dist/esm/models/GenerateCodeRequest.js +21 -10
- package/dist/esm/models/GenerateCodeRequestBrandKit.d.ts +69 -0
- package/dist/esm/models/GenerateCodeRequestBrandKit.js +59 -0
- package/dist/esm/models/GenerateCodeRequestBrandKitUploadsInner.d.ts +52 -0
- package/dist/esm/models/GenerateCodeRequestBrandKitUploadsInner.js +52 -0
- package/dist/esm/models/GetAllManagedUsers200Response.d.ts +7 -12
- package/dist/esm/models/GetAllManagedUsers200Response.js +5 -6
- package/dist/esm/models/GetAllManagedUsers200ResponseMeta.d.ts +56 -0
- package/dist/esm/models/GetAllManagedUsers200ResponseMeta.js +49 -0
- package/dist/esm/models/GetComponentsByWidgetId200Response.d.ts +7 -12
- package/dist/esm/models/GetComponentsByWidgetId200Response.js +5 -6
- package/dist/esm/models/GetComponentsByWidgetId200ResponseMeta.d.ts +56 -0
- package/dist/esm/models/GetComponentsByWidgetId200ResponseMeta.js +49 -0
- package/dist/esm/models/GetCompositionEmbedSchema200Response.d.ts +74 -0
- package/dist/esm/models/GetCompositionEmbedSchema200Response.js +57 -0
- package/dist/esm/models/GetCompositionPreview200Response.d.ts +50 -0
- package/dist/esm/models/GetCompositionPreview200Response.js +47 -0
- package/dist/esm/models/GetCompositionVersions200Response.d.ts +39 -0
- package/dist/esm/models/GetCompositionVersions200Response.js +44 -0
- package/dist/esm/models/GetInvoicesByPartnerId200Response.d.ts +39 -0
- package/dist/esm/models/GetInvoicesByPartnerId200Response.js +44 -0
- package/dist/esm/models/GetManagedUserEntitlements200Response.d.ts +1 -1
- package/dist/esm/models/GetManagedUserEntitlements200Response.js +2 -2
- package/dist/esm/models/GetManagedUsersByManagerId200Response.d.ts +51 -0
- package/dist/esm/models/GetManagedUsersByManagerId200Response.js +48 -0
- package/dist/esm/models/GetOAuthAuthorization200Response.d.ts +39 -0
- package/dist/esm/models/GetOAuthAuthorization200Response.js +44 -0
- package/dist/esm/models/GetOAuthAuthorization200ResponseData.d.ts +77 -0
- package/dist/esm/models/GetOAuthAuthorization200ResponseData.js +73 -0
- package/dist/esm/models/GetOAuthAuthorization200ResponseDataClient.d.ts +58 -0
- package/dist/esm/models/GetOAuthAuthorization200ResponseDataClient.js +62 -0
- package/dist/esm/models/GetOAuthAuthorization200ResponseDataScopesInner.d.ts +38 -0
- package/dist/esm/models/GetOAuthAuthorization200ResponseDataScopesInner.js +47 -0
- package/dist/esm/models/GetOrganizationPricing200ResponseDataStorage.d.ts +27 -3
- package/dist/esm/models/GetOrganizationPricing200ResponseDataStorage.js +6 -0
- package/dist/esm/models/GetOrganizationStorageUsage200ResponseData.d.ts +3 -21
- package/dist/esm/models/GetOrganizationStorageUsage200ResponseData.js +3 -9
- package/dist/esm/models/GetOrganizationStorageUsage200ResponseDataStorageUsage.d.ts +98 -0
- package/dist/esm/models/GetOrganizationStorageUsage200ResponseDataStorageUsage.js +63 -0
- package/dist/esm/models/GetPartnerCreditBalance200Response.d.ts +2 -2
- package/dist/esm/models/GetPartnerCreditBalance200Response.js +4 -4
- package/dist/esm/models/GetPartnerCreditBalance200ResponseAutoReloadSettings.d.ts +1 -1
- package/dist/esm/models/GetPartnerCreditBalance200ResponseAutoReloadSettings.js +2 -2
- package/dist/esm/models/GetPartnerEntitlements200Response.d.ts +1 -1
- package/dist/esm/models/GetPartnerEntitlements200Response.js +2 -2
- package/dist/esm/models/GetPersonalWorkspaceDomains200Response.d.ts +39 -0
- package/dist/esm/models/GetPersonalWorkspaceDomains200Response.js +44 -0
- package/dist/esm/models/GetShopifySeatQuote200Response.d.ts +39 -0
- package/dist/esm/models/GetShopifySeatQuote200Response.js +44 -0
- package/dist/esm/models/GetShopifySeatQuote200ResponseData.d.ts +33 -0
- package/dist/esm/models/GetShopifySeatQuote200ResponseData.js +42 -0
- package/dist/esm/models/GetShopifySeatQuote200ResponseDataQuote.d.ts +128 -0
- package/dist/esm/models/GetShopifySeatQuote200ResponseDataQuote.js +84 -0
- package/dist/esm/models/GetShopifySeatQuote200ResponseDataQuoteCredits.d.ts +44 -0
- package/dist/esm/models/GetShopifySeatQuote200ResponseDataQuoteCredits.js +45 -0
- package/dist/esm/models/GetShopifySeatQuote200ResponseDataQuoteCurrentPlan.d.ts +73 -0
- package/dist/esm/models/GetShopifySeatQuote200ResponseDataQuoteCurrentPlan.js +64 -0
- package/dist/esm/models/GetShopifySeatQuote200ResponseDataQuoteTargetPlan.d.ts +58 -0
- package/dist/esm/models/GetShopifySeatQuote200ResponseDataQuoteTargetPlan.js +54 -0
- package/dist/esm/models/GetShopifyTenant200Response.d.ts +39 -0
- package/dist/esm/models/GetShopifyTenant200Response.js +44 -0
- package/dist/esm/models/GetShopifyTenant200ResponseData.d.ts +33 -0
- package/dist/esm/models/GetShopifyTenant200ResponseData.js +42 -0
- package/dist/esm/models/GetShopifyTenant200ResponseDataTenant.d.ts +64 -0
- package/dist/esm/models/GetShopifyTenant200ResponseDataTenant.js +53 -0
- package/dist/esm/models/GetShopifyTenant200ResponseDataTenantPlan.d.ts +149 -0
- package/dist/esm/models/GetShopifyTenant200ResponseDataTenantPlan.js +87 -0
- package/dist/esm/models/GetShopifyTenant200ResponseDataTenantPlanPendingChange.d.ts +52 -0
- package/dist/esm/models/GetShopifyTenant200ResponseDataTenantPlanPendingChange.js +52 -0
- package/dist/esm/models/GetShopifyTenant200ResponseDataTenantSeat.d.ts +87 -0
- package/dist/esm/models/GetShopifyTenant200ResponseDataTenantSeat.js +67 -0
- package/dist/esm/models/GetUserApiKeyUsageLogs200Response.d.ts +33 -0
- package/dist/esm/models/GetUserApiKeyUsageLogs200Response.js +44 -0
- package/dist/esm/models/GetUserApiKeys200Response.d.ts +39 -0
- package/dist/esm/models/GetUserApiKeys200Response.js +44 -0
- package/dist/esm/models/GetUserCreditTransactions200Response.d.ts +39 -0
- package/dist/esm/models/GetUserCreditTransactions200Response.js +44 -0
- package/dist/esm/models/GetUserEntitlements200Response.d.ts +1 -1
- package/dist/esm/models/GetUserEntitlements200Response.js +2 -2
- package/dist/esm/models/GetWidgetPublishHistory200ResponseDataInner.d.ts +6 -0
- package/dist/esm/models/GetWidgetPublishHistory200ResponseDataInner.js +2 -0
- package/dist/esm/models/GetWidgets200Response.d.ts +4 -3
- package/dist/esm/models/GetWidgets200Response.js +3 -2
- package/dist/esm/models/GetWidgets200ResponseMeta.d.ts +70 -0
- package/dist/esm/models/GetWidgets200ResponseMeta.js +53 -0
- package/dist/esm/models/GetWorkspaceABTestDiagnosis200Response.d.ts +39 -0
- package/dist/esm/models/GetWorkspaceABTestDiagnosis200Response.js +44 -0
- package/dist/esm/models/GetWorkspaceABTestStatistics200Response.d.ts +39 -0
- package/dist/esm/models/GetWorkspaceABTestStatistics200Response.js +44 -0
- package/dist/esm/models/IssuePartnerInvoiceRequest.d.ts +44 -0
- package/dist/esm/models/IssuePartnerInvoiceRequest.js +45 -0
- package/dist/esm/models/IssuedPartnerInvoice.d.ts +68 -0
- package/dist/esm/models/IssuedPartnerInvoice.js +67 -0
- package/dist/esm/models/ListMyPresets200Response.d.ts +39 -0
- package/dist/esm/models/ListMyPresets200Response.js +44 -0
- package/dist/esm/models/ListOAuthConnections200Response.d.ts +39 -0
- package/dist/esm/models/ListOAuthConnections200Response.js +44 -0
- package/dist/esm/models/ListOAuthConnections200ResponseData.d.ts +33 -0
- package/dist/esm/models/ListOAuthConnections200ResponseData.js +44 -0
- package/dist/esm/models/ListOAuthConnections200ResponseDataConnectionsInner.d.ts +70 -0
- package/dist/esm/models/ListOAuthConnections200ResponseDataConnectionsInner.js +69 -0
- package/dist/esm/models/ListOAuthConnections200ResponseDataConnectionsInnerClient.d.ts +44 -0
- package/dist/esm/models/ListOAuthConnections200ResponseDataConnectionsInnerClient.js +51 -0
- package/dist/esm/models/ListPartnerCustomizations200ResponsePagination.d.ts +1 -1
- package/dist/esm/models/ListPartnerCustomizations200ResponsePagination.js +2 -2
- package/dist/esm/models/ListPartnerPresets200Response.d.ts +39 -0
- package/dist/esm/models/ListPartnerPresets200Response.js +44 -0
- package/dist/esm/models/ListShopifySeats200Response.d.ts +39 -0
- package/dist/esm/models/ListShopifySeats200Response.js +44 -0
- package/dist/esm/models/ListShopifySeats200ResponseData.d.ts +64 -0
- package/dist/esm/models/ListShopifySeats200ResponseData.js +53 -0
- package/dist/esm/models/ListShopifySeats200ResponseDataPlan.d.ts +81 -0
- package/dist/esm/models/ListShopifySeats200ResponseDataPlan.js +68 -0
- package/dist/esm/models/ListShopifySeats200ResponseDataSeatsInner.d.ts +111 -0
- package/dist/esm/models/ListShopifySeats200ResponseDataSeatsInner.js +75 -0
- package/dist/esm/models/ManagedUser.d.ts +13 -5
- package/dist/esm/models/ManagedUser.js +14 -12
- package/dist/esm/models/ManagedUserOperationUsage.d.ts +56 -0
- package/dist/esm/models/ManagedUserOperationUsage.js +59 -0
- package/dist/esm/models/ManagedUserUsage.d.ts +65 -0
- package/dist/esm/models/ManagedUserUsage.js +65 -0
- package/dist/esm/models/ManagedUserUsageTotals.d.ts +50 -0
- package/dist/esm/models/ManagedUserUsageTotals.js +55 -0
- package/dist/esm/models/MetricsGet200Response.d.ts +39 -0
- package/dist/esm/models/MetricsGet200Response.js +44 -0
- package/dist/esm/models/MetricsGet200ResponseData.d.ts +56 -0
- package/dist/esm/models/MetricsGet200ResponseData.js +50 -0
- package/dist/esm/models/MetricsGet200ResponseDataErrorsValue.d.ts +44 -0
- package/dist/esm/models/MetricsGet200ResponseDataErrorsValue.js +45 -0
- package/dist/esm/models/MetricsGet200ResponseDataLatencyValue.d.ts +50 -0
- package/dist/esm/models/MetricsGet200ResponseDataLatencyValue.js +47 -0
- package/dist/esm/models/MetricsLatencyGet200Response.d.ts +41 -0
- package/dist/esm/models/MetricsLatencyGet200Response.js +45 -0
- package/dist/esm/models/MetricsLatencyGet200ResponseDataValue.d.ts +62 -0
- package/dist/esm/models/MetricsLatencyGet200ResponseDataValue.js +51 -0
- package/dist/esm/models/ModifyCodeRequest.d.ts +0 -6
- package/dist/esm/models/ModifyCodeRequest.js +0 -2
- package/dist/esm/models/MyPreset.d.ts +50 -0
- package/dist/esm/models/MyPreset.js +55 -0
- package/dist/esm/models/MyPresetCopy.d.ts +56 -0
- package/dist/esm/models/MyPresetCopy.js +59 -0
- package/dist/esm/models/NewComposition.d.ts +12 -0
- package/dist/esm/models/NewComposition.js +4 -0
- package/dist/esm/models/NewEditorSession.d.ts +62 -0
- package/dist/esm/models/NewEditorSession.js +57 -0
- package/dist/esm/models/NewManagedUser.d.ts +3 -3
- package/dist/esm/models/NewManagedUser.js +1 -3
- package/dist/esm/models/NewWidget.d.ts +20 -66
- package/dist/esm/models/NewWidget.js +6 -23
- package/dist/esm/models/OperationsIdGet200Response.d.ts +88 -0
- package/dist/esm/models/OperationsIdGet200Response.js +65 -0
- package/dist/esm/models/OrganizationsOrgIdBillingGet200ResponseData.d.ts +9 -1
- package/dist/esm/models/OrganizationsOrgIdBillingGet200ResponseData.js +2 -0
- package/dist/esm/models/OrganizationsOrgIdBillingPortalPostRequest.d.ts +1 -1
- package/dist/esm/models/OrganizationsOrgIdBillingUpgradePostRequest.d.ts +5 -1
- package/dist/esm/models/Partner.d.ts +144 -0
- package/dist/esm/models/Partner.js +89 -0
- package/dist/esm/models/PartnerBillingOverview.d.ts +54 -0
- package/dist/esm/models/PartnerBillingOverview.js +51 -0
- package/dist/esm/models/PartnerBillingOverviewBillingIntegration.d.ts +50 -0
- package/dist/esm/models/PartnerBillingOverviewBillingIntegration.js +47 -0
- package/dist/esm/models/PartnerBillingOverviewOperationalCredits.d.ts +60 -0
- package/dist/esm/models/PartnerBillingOverviewOperationalCredits.js +49 -0
- package/dist/esm/models/PartnerBillingOverviewPartner.d.ts +58 -0
- package/dist/esm/models/PartnerBillingOverviewPartner.js +54 -0
- package/dist/esm/models/PartnerBillingReport.d.ts +69 -0
- package/dist/esm/models/PartnerBillingReport.js +55 -0
- package/dist/esm/models/PartnerBillingReportGroupedDataValue.d.ts +44 -0
- package/dist/esm/models/PartnerBillingReportGroupedDataValue.js +45 -0
- package/dist/esm/models/PartnerBillingReportSummary.d.ts +44 -0
- package/dist/esm/models/PartnerBillingReportSummary.js +45 -0
- package/dist/esm/models/PartnerContract.d.ts +120 -0
- package/dist/esm/models/PartnerContract.js +75 -0
- package/dist/esm/models/PartnerCreditAdjustment.d.ts +46 -0
- package/dist/esm/models/PartnerCreditAdjustment.js +45 -0
- package/dist/esm/models/PartnerCustomization.d.ts +13 -13
- package/dist/esm/models/PartnerCustomization.js +26 -26
- package/dist/esm/models/PartnerDetails.d.ts +164 -0
- package/dist/esm/models/PartnerDetails.js +98 -0
- package/dist/esm/models/PartnerDetailsAllOfAdminMetadata.d.ts +44 -0
- package/dist/esm/models/PartnerDetailsAllOfAdminMetadata.js +45 -0
- package/dist/esm/models/PartnerInvoice.d.ts +164 -0
- package/dist/esm/models/PartnerInvoice.js +93 -0
- package/dist/esm/models/PartnerList.d.ts +51 -0
- package/dist/esm/models/PartnerList.js +56 -0
- package/dist/esm/models/PartnerMonthlyStats.d.ts +81 -0
- package/dist/esm/models/PartnerMonthlyStats.js +58 -0
- package/dist/esm/models/PartnerMonthlyStatsPeriod.d.ts +38 -0
- package/dist/esm/models/PartnerMonthlyStatsPeriod.js +43 -0
- package/dist/esm/models/PartnerPreset.d.ts +81 -0
- package/dist/esm/models/PartnerPreset.js +75 -0
- package/dist/esm/models/PartnerPresetCopy.d.ts +62 -0
- package/dist/esm/models/PartnerPresetCopy.js +63 -0
- package/dist/esm/models/PartnerPresetRemoval.d.ts +32 -0
- package/dist/esm/models/PartnerPresetRemoval.js +43 -0
- package/dist/esm/models/PartnerStorageDestination.d.ts +99 -0
- package/dist/esm/models/PartnerStorageDestination.js +83 -0
- package/dist/esm/models/PartnerStorageRemoval.d.ts +32 -0
- package/dist/esm/models/PartnerStorageRemoval.js +43 -0
- package/dist/esm/models/PartnerUpdateResult.d.ts +158 -0
- package/dist/esm/models/PartnerUpdateResult.js +94 -0
- package/dist/esm/models/PartnerWithWarnings.d.ts +151 -0
- package/dist/esm/models/PartnerWithWarnings.js +91 -0
- package/dist/esm/models/PersonalWorkspaceDomain.d.ts +56 -0
- package/dist/esm/models/PersonalWorkspaceDomain.js +55 -0
- package/dist/esm/models/PersonalWorkspaceDomainResult.d.ts +39 -0
- package/dist/esm/models/PersonalWorkspaceDomainResult.js +48 -0
- package/dist/esm/models/PurchaseStoragePack200ResponseData.d.ts +3 -3
- package/dist/esm/models/PurchaseStoragePack200ResponseData.js +3 -3
- package/dist/esm/models/PurchaseStoragePackRequest.d.ts +3 -1
- package/dist/esm/models/RefundPartnerCreditsRequest.d.ts +65 -0
- package/dist/esm/models/RefundPartnerCreditsRequest.js +65 -0
- package/dist/esm/models/RemoveShopifySeat200Response.d.ts +39 -0
- package/dist/esm/models/RemoveShopifySeat200Response.js +44 -0
- package/dist/esm/models/RemoveShopifySeat200ResponseData.d.ts +55 -0
- package/dist/esm/models/RemoveShopifySeat200ResponseData.js +53 -0
- package/dist/esm/models/RemoveShopifySeat200ResponseDataSeat.d.ts +51 -0
- package/dist/esm/models/RemoveShopifySeat200ResponseDataSeat.js +51 -0
- package/dist/esm/models/RenameWidgetPublishHistoryTitle200Response.d.ts +39 -0
- package/dist/esm/models/RenameWidgetPublishHistoryTitle200Response.js +44 -0
- package/dist/esm/models/RenameWidgetPublishHistoryTitle200ResponseData.d.ts +44 -0
- package/dist/esm/models/RenameWidgetPublishHistoryTitle200ResponseData.js +45 -0
- package/dist/esm/models/RenameWidgetPublishHistoryTitleRequest.d.ts +32 -0
- package/dist/esm/models/RenameWidgetPublishHistoryTitleRequest.js +43 -0
- package/dist/esm/models/RepositoryResponse.d.ts +5 -0
- package/dist/esm/models/RevokeManagedUserEditorSessions200Response.d.ts +32 -0
- package/dist/esm/models/RevokeManagedUserEditorSessions200Response.js +41 -0
- package/dist/esm/models/SetPartnerPresetRequest.d.ts +50 -0
- package/dist/esm/models/SetPartnerPresetRequest.js +49 -0
- package/dist/esm/models/SetPartnerStorageDestinationRequest.d.ts +79 -0
- package/dist/esm/models/SetPartnerStorageDestinationRequest.js +67 -0
- package/dist/esm/models/SetWidgetPublishHistoryLive200ResponseDataData.d.ts +6 -0
- package/dist/esm/models/SetWidgetPublishHistoryLive200ResponseDataData.js +2 -0
- package/dist/esm/models/SignupUserRequest.d.ts +7 -1
- package/dist/esm/models/SignupUserRequest.js +2 -0
- package/dist/esm/models/StopWorkspaceABTestRequest.d.ts +10 -1
- package/dist/esm/models/StopWorkspaceABTestRequest.js +2 -0
- package/dist/esm/models/StorageChange.d.ts +96 -0
- package/dist/esm/models/StorageChange.js +85 -0
- package/dist/esm/models/StoragePack.d.ts +26 -7
- package/dist/esm/models/StoragePack.js +19 -10
- package/dist/esm/models/SubscriptionsIdRefundPreviewPost200Response.d.ts +71 -0
- package/dist/esm/models/SubscriptionsIdRefundPreviewPost200Response.js +59 -0
- package/dist/esm/models/SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview.d.ts +51 -0
- package/dist/esm/models/SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview.js +48 -0
- package/dist/esm/models/SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner.d.ts +38 -0
- package/dist/esm/models/SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner.js +43 -0
- package/dist/esm/models/SubscriptionsIdRefundPreviewPostRequest.d.ts +44 -0
- package/dist/esm/models/SubscriptionsIdRefundPreviewPostRequest.js +45 -0
- package/dist/esm/models/SyncShopifyBilling200Response.d.ts +39 -0
- package/dist/esm/models/SyncShopifyBilling200Response.js +44 -0
- package/dist/esm/models/SyncShopifyBilling200ResponseData.d.ts +39 -0
- package/dist/esm/models/SyncShopifyBilling200ResponseData.js +44 -0
- package/dist/esm/models/SyncShopifyBilling200ResponseDataSync.d.ts +67 -0
- package/dist/esm/models/SyncShopifyBilling200ResponseDataSync.js +64 -0
- package/dist/esm/models/UpdateDomainRequest.d.ts +3 -3
- package/dist/esm/models/UpdateDomainRequest.js +3 -3
- package/dist/esm/models/UpdateInvoiceStatusRequest.d.ts +47 -0
- package/dist/esm/models/UpdateInvoiceStatusRequest.js +57 -0
- package/dist/esm/models/UpdateManagedUser.d.ts +8 -1
- package/dist/esm/models/UpdateManagedUser.js +2 -0
- package/dist/esm/models/UpdateMessageRequest.d.ts +5 -4
- package/dist/esm/models/UpdateMessageRequest.js +3 -2
- package/dist/esm/models/UpdatePartnerEntitlements200Response.d.ts +2 -2
- package/dist/esm/models/UpdatePartnerEntitlements200Response.js +4 -4
- package/dist/esm/models/UpdatePartnerRequest.d.ts +89 -0
- package/dist/esm/models/UpdatePartnerRequest.js +59 -0
- package/dist/esm/models/UpdatePartnerStatusRequest.d.ts +47 -0
- package/dist/esm/models/UpdatePartnerStatusRequest.js +53 -0
- package/dist/esm/models/UpdateUserApiKeyRequest.d.ts +38 -0
- package/dist/esm/models/UpdateUserApiKeyRequest.js +43 -0
- package/dist/esm/models/UpdateWidget.d.ts +3 -15
- package/dist/esm/models/UpdateWidget.js +3 -7
- package/dist/esm/models/UpdateWidgetComponentsMetadataInner.d.ts +64 -0
- package/dist/esm/models/UpdateWidgetComponentsMetadataInner.js +53 -0
- package/dist/esm/models/UpdateWidgetComponentsMetadataInnerPosition.d.ts +38 -0
- package/dist/esm/models/UpdateWidgetComponentsMetadataInnerPosition.js +43 -0
- package/dist/esm/models/UpdateWidgetComponentsMetadataInnerSize.d.ts +38 -0
- package/dist/esm/models/UpdateWidgetComponentsMetadataInnerSize.js +43 -0
- package/dist/esm/models/Upload.d.ts +124 -0
- package/dist/esm/models/Upload.js +99 -0
- package/dist/esm/models/UploadLimits.d.ts +62 -0
- package/dist/esm/models/UploadLimits.js +51 -0
- package/dist/esm/models/UploadsGet200Response.d.ts +39 -0
- package/dist/esm/models/UploadsGet200Response.js +44 -0
- package/dist/esm/models/UserApiKey.d.ts +68 -0
- package/dist/esm/models/UserApiKey.js +63 -0
- package/dist/esm/models/UserApiKeyUsageLog.d.ts +76 -0
- package/dist/esm/models/UserApiKeyUsageLog.js +67 -0
- package/dist/esm/models/Widget.d.ts +6 -18
- package/dist/esm/models/Widget.js +2 -6
- package/dist/esm/models/index.d.ts +206 -74
- package/dist/esm/models/index.js +206 -74
- package/dist/esm/runtime.d.ts +40 -3
- package/dist/esm/runtime.js +72 -12
- package/dist/models/ABTestDiagnosis.d.ts +69 -0
- package/dist/models/ABTestDiagnosis.js +69 -0
- package/dist/models/ABTestStatistics.d.ts +47 -0
- package/dist/models/ABTestStatistics.js +55 -0
- package/dist/models/ABTestStatisticsOverall.d.ts +56 -0
- package/dist/models/ABTestStatisticsOverall.js +56 -0
- package/dist/models/ABTestStatisticsRecommendation.d.ts +54 -0
- package/dist/models/ABTestStatisticsRecommendation.js +62 -0
- package/dist/models/ABTestStatisticsVariantsInner.d.ts +104 -0
- package/dist/models/ABTestStatisticsVariantsInner.js +72 -0
- package/dist/models/AccountCreditBalance.d.ts +58 -0
- package/dist/models/AccountCreditBalance.js +56 -0
- package/dist/models/AccountCreditTransaction.d.ts +69 -0
- package/dist/models/AccountCreditTransaction.js +60 -0
- package/dist/models/AddPartnerCreditsRequest.d.ts +1 -1
- package/dist/models/AdjustPartnerCredits200Response.d.ts +44 -0
- package/dist/models/AdjustPartnerCredits200Response.js +52 -0
- package/dist/models/AdjustPartnerCreditsRequest.d.ts +54 -0
- package/dist/models/AdjustPartnerCreditsRequest.js +68 -0
- package/dist/models/AdjustUserCredits200Response.d.ts +44 -0
- package/dist/models/AdjustUserCredits200Response.js +52 -0
- package/dist/models/AdjustUserCreditsRequest.d.ts +44 -0
- package/dist/models/AdjustUserCreditsRequest.js +58 -0
- package/dist/models/AdminBillingGrantsGrantIdRejectPostRequest.d.ts +32 -0
- package/dist/models/AdminBillingGrantsGrantIdRejectPostRequest.js +48 -0
- package/dist/models/AdminBillingGrantsPost200Response.d.ts +39 -0
- package/dist/models/AdminBillingGrantsPost200Response.js +51 -0
- package/dist/models/AdminBillingGrantsPost200ResponseData.d.ts +46 -0
- package/dist/models/AdminBillingGrantsPost200ResponseData.js +53 -0
- package/dist/models/AdminBillingGrantsPost200ResponseDataGrant.d.ts +110 -0
- package/dist/models/AdminBillingGrantsPost200ResponseDataGrant.js +85 -0
- package/dist/models/AdminBillingGrantsPostRequest.d.ts +82 -0
- package/dist/models/AdminBillingGrantsPostRequest.js +87 -0
- package/dist/models/AdminBillingPlansPricesBackfillPostRequest.d.ts +32 -0
- package/dist/models/AdminBillingPlansPricesBackfillPostRequest.js +48 -0
- package/dist/models/AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequest.d.ts +32 -0
- package/dist/models/AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequest.js +50 -0
- package/dist/models/AdminBillingRefundsClawbacksGet200Response.d.ts +39 -0
- package/dist/models/AdminBillingRefundsClawbacksGet200Response.js +51 -0
- package/dist/models/AdminBillingRefundsClawbacksGet200ResponseData.d.ts +57 -0
- package/dist/models/AdminBillingRefundsClawbacksGet200ResponseData.js +57 -0
- package/dist/models/AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner.d.ts +68 -0
- package/dist/models/AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner.js +60 -0
- package/dist/models/AdminBillingRefundsPostRequest.d.ts +70 -0
- package/dist/models/AdminBillingRefundsPostRequest.js +72 -0
- package/dist/models/AdminBillingRefundsPreviewPost200Response.d.ts +71 -0
- package/dist/models/AdminBillingRefundsPreviewPost200Response.js +67 -0
- package/dist/models/AdminBillingRefundsPreviewPost200ResponseOrganizationPreview.d.ts +51 -0
- package/dist/models/AdminBillingRefundsPreviewPost200ResponseOrganizationPreview.js +55 -0
- package/dist/models/AdminBillingRefundsPreviewPostRequest.d.ts +70 -0
- package/dist/models/AdminBillingRefundsPreviewPostRequest.js +70 -0
- package/dist/models/AdminBillingSubscriptionsSubjectIdCancelPostRequest.d.ts +46 -0
- package/dist/models/AdminBillingSubscriptionsSubjectIdCancelPostRequest.js +60 -0
- package/dist/models/AgentDesignResolvePost200Response.d.ts +39 -0
- package/dist/models/AgentDesignResolvePost200Response.js +51 -0
- package/dist/models/AgentDesignResolvePost200ResponseData.d.ts +80 -0
- package/dist/models/AgentDesignResolvePost200ResponseData.js +64 -0
- package/dist/models/AgentDesignResolvePostRequest.d.ts +54 -0
- package/dist/models/AgentDesignResolvePostRequest.js +58 -0
- package/dist/models/AgentShapeRecognizePost200Response.d.ts +39 -0
- package/dist/models/AgentShapeRecognizePost200Response.js +51 -0
- package/dist/models/AgentShapeRecognizePost200ResponseData.d.ts +68 -0
- package/dist/models/AgentShapeRecognizePost200ResponseData.js +60 -0
- package/dist/models/AgentShapeRecognizePostRequest.d.ts +54 -0
- package/dist/models/AgentShapeRecognizePostRequest.js +60 -0
- package/dist/models/AgentShapeRecognizePostRequestCandidatesInner.d.ts +44 -0
- package/dist/models/AgentShapeRecognizePostRequestCandidatesInner.js +58 -0
- package/dist/models/AgentShapeRecognizePostRequestDeterministic.d.ts +38 -0
- package/dist/models/AgentShapeRecognizePostRequestDeterministic.js +50 -0
- package/dist/models/AgentWidgetBuilderPublishWidgetIdPost200ResponseData.d.ts +6 -0
- package/dist/models/AgentWidgetBuilderPublishWidgetIdPost200ResponseData.js +2 -0
- package/dist/models/ApproveShopifySeat200Response.d.ts +39 -0
- package/dist/models/ApproveShopifySeat200Response.js +51 -0
- package/dist/models/ApproveShopifySeat200ResponseData.d.ts +50 -0
- package/dist/models/ApproveShopifySeat200ResponseData.js +60 -0
- package/dist/models/ApproveShopifySeat200ResponseDataSeat.d.ts +52 -0
- package/dist/models/ApproveShopifySeat200ResponseDataSeat.js +60 -0
- package/dist/models/BillingPricingGet200Response.d.ts +39 -0
- package/dist/models/BillingPricingGet200Response.js +51 -0
- package/dist/models/BillingPricingGet200ResponseData.d.ts +46 -0
- package/dist/models/BillingPricingGet200ResponseData.js +54 -0
- package/dist/models/BillingPricingGet200ResponseDataPlansInner.d.ts +68 -0
- package/dist/models/BillingPricingGet200ResponseDataPlansInner.js +60 -0
- package/dist/models/BillingPricingGet200ResponseDataTrial.d.ts +44 -0
- package/dist/models/BillingPricingGet200ResponseDataTrial.js +52 -0
- package/dist/models/BillingUsersUserIdInvoicesGet200Response.d.ts +39 -0
- package/dist/models/BillingUsersUserIdInvoicesGet200Response.js +51 -0
- package/dist/models/BillingUsersUserIdInvoicesGet200ResponseData.d.ts +33 -0
- package/dist/models/BillingUsersUserIdInvoicesGet200ResponseData.js +49 -0
- package/dist/models/BillingUsersUserIdInvoicesGet200ResponseDataInvoicesInner.d.ts +68 -0
- package/dist/models/BillingUsersUserIdInvoicesGet200ResponseDataInvoicesInner.js +60 -0
- package/dist/models/BillingUsersUserIdPaymentMethodsPaymentMethodIdDefaultPut200Response.d.ts +39 -0
- package/dist/models/BillingUsersUserIdPaymentMethodsPaymentMethodIdDefaultPut200Response.js +51 -0
- package/dist/models/BillingUsersUserIdPaymentMethodsPaymentMethodIdDefaultPut200ResponseData.d.ts +32 -0
- package/dist/models/BillingUsersUserIdPaymentMethodsPaymentMethodIdDefaultPut200ResponseData.js +48 -0
- package/dist/models/BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200Response.d.ts +39 -0
- package/dist/models/BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200Response.js +51 -0
- package/dist/models/BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200ResponseData.d.ts +32 -0
- package/dist/models/BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200ResponseData.js +48 -0
- package/dist/models/BillingUsersUserIdPortalPostRequest.d.ts +32 -0
- package/dist/models/BillingUsersUserIdPortalPostRequest.js +48 -0
- package/dist/models/BillingUsersUserIdSubscriptionCancelPost200Response.d.ts +39 -0
- package/dist/models/BillingUsersUserIdSubscriptionCancelPost200Response.js +51 -0
- package/dist/models/BillingUsersUserIdSubscriptionCancelPost200ResponseData.d.ts +32 -0
- package/dist/models/BillingUsersUserIdSubscriptionCancelPost200ResponseData.js +48 -0
- package/dist/models/BillingUsersUserIdSubscriptionCancelPostRequest.d.ts +32 -0
- package/dist/models/BillingUsersUserIdSubscriptionCancelPostRequest.js +48 -0
- package/dist/models/BillingUsersUserIdSubscriptionGet200Response.d.ts +39 -0
- package/dist/models/BillingUsersUserIdSubscriptionGet200Response.js +51 -0
- package/dist/models/BillingUsersUserIdSubscriptionGet200ResponseData.d.ts +120 -0
- package/dist/models/BillingUsersUserIdSubscriptionGet200ResponseData.js +84 -0
- package/dist/models/BillingUsersUserIdSubscriptionPayPost200Response.d.ts +39 -0
- package/dist/models/BillingUsersUserIdSubscriptionPayPost200Response.js +51 -0
- package/dist/models/BillingUsersUserIdSubscriptionPayPost200ResponseData.d.ts +38 -0
- package/dist/models/BillingUsersUserIdSubscriptionPayPost200ResponseData.js +50 -0
- package/dist/models/BillingUsersUserIdSubscriptionPost200Response.d.ts +39 -0
- package/dist/models/BillingUsersUserIdSubscriptionPost200Response.js +51 -0
- package/dist/models/BillingUsersUserIdSubscriptionPost200ResponseData.d.ts +38 -0
- package/dist/models/BillingUsersUserIdSubscriptionPost200ResponseData.js +50 -0
- package/dist/models/BillingUsersUserIdSubscriptionPostRequest.d.ts +59 -0
- package/dist/models/BillingUsersUserIdSubscriptionPostRequest.js +68 -0
- package/dist/models/CancelStoragePackRequest.d.ts +40 -0
- package/dist/models/CancelStoragePackRequest.js +50 -0
- package/dist/models/Canvas.d.ts +6 -0
- package/dist/models/Canvas.js +2 -0
- package/dist/models/Component.d.ts +4 -4
- package/dist/models/Component.js +8 -8
- package/dist/models/Composition.d.ts +6 -0
- package/dist/models/Composition.js +2 -0
- package/dist/models/CompositionEntriesDescription.d.ts +47 -0
- package/dist/models/CompositionEntriesDescription.js +59 -0
- package/dist/models/CompositionEntriesReading.d.ts +83 -0
- package/dist/models/CompositionEntriesReading.js +79 -0
- package/dist/models/CompositionEntryColumn.d.ts +38 -0
- package/dist/models/CompositionEntryColumn.js +54 -0
- package/dist/models/CompositionEntryTable.d.ts +45 -0
- package/dist/models/CompositionEntryTable.js +59 -0
- package/dist/models/CompositionEntryTally.d.ts +40 -0
- package/dist/models/CompositionEntryTally.js +54 -0
- package/dist/models/CompositionVersion.d.ts +1 -1
- package/dist/models/CompositionVersion.js +2 -2
- package/dist/models/ConfigureAutoReloadRequest.d.ts +1 -1
- package/dist/models/CopyMyPresetRequest.d.ts +32 -0
- package/dist/models/CopyMyPresetRequest.js +50 -0
- package/dist/models/CopyPartnerPresetRequest.d.ts +32 -0
- package/dist/models/CopyPartnerPresetRequest.js +48 -0
- package/dist/models/CreateCanvasRequest.d.ts +12 -0
- package/dist/models/CreateCanvasRequest.js +4 -0
- package/dist/models/CreateInvoiceRequest.d.ts +137 -0
- package/dist/models/CreateInvoiceRequest.js +108 -0
- package/dist/models/CreateInvoiceRequestItemsInner.d.ts +50 -0
- package/dist/models/CreateInvoiceRequestItemsInner.js +62 -0
- package/dist/models/CreateMessageRequest.d.ts +7 -13
- package/dist/models/CreateMessageRequest.js +5 -4
- package/dist/models/CreateMessageRequestSuggestionsInner.d.ts +46 -0
- package/dist/models/CreateMessageRequestSuggestionsInner.js +62 -0
- package/dist/models/CreateOrganizationTranslationRequest.d.ts +58 -0
- package/dist/models/CreateOrganizationTranslationRequest.js +64 -0
- package/dist/models/CreatePartnerRequest.d.ts +71 -0
- package/dist/models/CreatePartnerRequest.js +66 -0
- package/dist/models/CreateShopifyBuilderSession200Response.d.ts +39 -0
- package/dist/models/CreateShopifyBuilderSession200Response.js +51 -0
- package/dist/models/CreateShopifyBuilderSession200ResponseData.d.ts +44 -0
- package/dist/models/CreateShopifyBuilderSession200ResponseData.js +52 -0
- package/dist/models/CreateShopifyBuilderSessionRequest.d.ts +32 -0
- package/dist/models/CreateShopifyBuilderSessionRequest.js +48 -0
- package/dist/models/CreateUserApiKeyRequest.d.ts +38 -0
- package/dist/models/CreateUserApiKeyRequest.js +52 -0
- package/dist/models/CreateWidget201Response.d.ts +3 -3
- package/dist/models/CreateWidget201Response.js +3 -3
- package/dist/models/CreateWidget201ResponseData.d.ts +181 -0
- package/dist/models/CreateWidget201ResponseData.js +103 -0
- package/dist/models/CreatedUserApiKey.d.ts +68 -0
- package/dist/models/CreatedUserApiKey.js +72 -0
- package/dist/models/DecideOAuthAuthorization200Response.d.ts +39 -0
- package/dist/models/DecideOAuthAuthorization200Response.js +51 -0
- package/dist/models/DecideOAuthAuthorization200ResponseData.d.ts +59 -0
- package/dist/models/DecideOAuthAuthorization200ResponseData.js +70 -0
- package/dist/models/DecideOAuthAuthorizationRequest.d.ts +32 -0
- package/dist/models/DecideOAuthAuthorizationRequest.js +50 -0
- package/dist/models/DeclineShopifySeat200Response.d.ts +39 -0
- package/dist/models/DeclineShopifySeat200Response.js +51 -0
- package/dist/models/DeclineShopifySeat200ResponseData.d.ts +47 -0
- package/dist/models/DeclineShopifySeat200ResponseData.js +59 -0
- package/dist/models/DeclineShopifySeat200ResponseDataSeat.d.ts +52 -0
- package/dist/models/DeclineShopifySeat200ResponseDataSeat.js +60 -0
- package/dist/models/DeleteAccountRequest.d.ts +32 -0
- package/dist/models/DeleteAccountRequest.js +48 -0
- package/dist/models/DeletePersonalWorkspaceDomain200Response.d.ts +32 -0
- package/dist/models/DeletePersonalWorkspaceDomain200Response.js +48 -0
- package/dist/models/DeleteUserApiKey200Response.d.ts +32 -0
- package/dist/models/DeleteUserApiKey200Response.js +48 -0
- package/dist/models/DisconnectOAuthConnection200Response.d.ts +39 -0
- package/dist/models/DisconnectOAuthConnection200Response.js +51 -0
- package/dist/models/DisconnectOAuthConnection200ResponseData.d.ts +32 -0
- package/dist/models/DisconnectOAuthConnection200ResponseData.js +50 -0
- package/dist/models/DuplicateWidgetRequest.d.ts +18 -0
- package/dist/models/DuplicateWidgetRequest.js +6 -0
- package/dist/models/EditorSession.d.ts +91 -0
- package/dist/models/EditorSession.js +87 -0
- package/dist/models/Entitlement.d.ts +7 -7
- package/dist/models/Entitlement.js +14 -14
- package/dist/models/EntitlementCheck.d.ts +1 -1
- package/dist/models/EntitlementCheck.js +2 -2
- package/dist/models/ForbiddenErrorResponse.d.ts +51 -0
- package/dist/models/ForbiddenErrorResponse.js +59 -0
- package/dist/models/ForbiddenErrorResponseError.d.ts +57 -0
- package/dist/models/ForbiddenErrorResponseError.js +61 -0
- package/dist/models/ForbiddenErrorResponseErrorDetails.d.ts +49 -0
- package/dist/models/ForbiddenErrorResponseErrorDetails.js +58 -0
- package/dist/models/GenerateCodeRequest.d.ts +41 -33
- package/dist/models/GenerateCodeRequest.js +22 -10
- package/dist/models/GenerateCodeRequestBrandKit.d.ts +69 -0
- package/dist/models/GenerateCodeRequestBrandKit.js +67 -0
- package/dist/models/GenerateCodeRequestBrandKitUploadsInner.d.ts +52 -0
- package/dist/models/GenerateCodeRequestBrandKitUploadsInner.js +60 -0
- package/dist/models/GetAllManagedUsers200Response.d.ts +7 -12
- package/dist/models/GetAllManagedUsers200Response.js +5 -6
- package/dist/models/GetAllManagedUsers200ResponseMeta.d.ts +56 -0
- package/dist/models/GetAllManagedUsers200ResponseMeta.js +56 -0
- package/dist/models/GetComponentsByWidgetId200Response.d.ts +7 -12
- package/dist/models/GetComponentsByWidgetId200Response.js +5 -6
- package/dist/models/GetComponentsByWidgetId200ResponseMeta.d.ts +56 -0
- package/dist/models/GetComponentsByWidgetId200ResponseMeta.js +56 -0
- package/dist/models/GetCompositionEmbedSchema200Response.d.ts +74 -0
- package/dist/models/GetCompositionEmbedSchema200Response.js +65 -0
- package/dist/models/GetCompositionPreview200Response.d.ts +50 -0
- package/dist/models/GetCompositionPreview200Response.js +54 -0
- package/dist/models/GetCompositionVersions200Response.d.ts +39 -0
- package/dist/models/GetCompositionVersions200Response.js +51 -0
- package/dist/models/GetInvoicesByPartnerId200Response.d.ts +39 -0
- package/dist/models/GetInvoicesByPartnerId200Response.js +51 -0
- package/dist/models/GetManagedUserEntitlements200Response.d.ts +1 -1
- package/dist/models/GetManagedUserEntitlements200Response.js +2 -2
- package/dist/models/GetManagedUsersByManagerId200Response.d.ts +51 -0
- package/dist/models/GetManagedUsersByManagerId200Response.js +55 -0
- package/dist/models/GetOAuthAuthorization200Response.d.ts +39 -0
- package/dist/models/GetOAuthAuthorization200Response.js +51 -0
- package/dist/models/GetOAuthAuthorization200ResponseData.d.ts +77 -0
- package/dist/models/GetOAuthAuthorization200ResponseData.js +81 -0
- package/dist/models/GetOAuthAuthorization200ResponseDataClient.d.ts +58 -0
- package/dist/models/GetOAuthAuthorization200ResponseDataClient.js +70 -0
- package/dist/models/GetOAuthAuthorization200ResponseDataScopesInner.d.ts +38 -0
- package/dist/models/GetOAuthAuthorization200ResponseDataScopesInner.js +54 -0
- package/dist/models/GetOrganizationPricing200ResponseDataStorage.d.ts +27 -3
- package/dist/models/GetOrganizationPricing200ResponseDataStorage.js +6 -0
- package/dist/models/GetOrganizationStorageUsage200ResponseData.d.ts +3 -21
- package/dist/models/GetOrganizationStorageUsage200ResponseData.js +3 -9
- package/dist/models/GetOrganizationStorageUsage200ResponseDataStorageUsage.d.ts +98 -0
- package/dist/models/GetOrganizationStorageUsage200ResponseDataStorageUsage.js +70 -0
- package/dist/models/GetPartnerCreditBalance200Response.d.ts +2 -2
- package/dist/models/GetPartnerCreditBalance200Response.js +4 -4
- package/dist/models/GetPartnerCreditBalance200ResponseAutoReloadSettings.d.ts +1 -1
- package/dist/models/GetPartnerCreditBalance200ResponseAutoReloadSettings.js +2 -2
- package/dist/models/GetPartnerEntitlements200Response.d.ts +1 -1
- package/dist/models/GetPartnerEntitlements200Response.js +2 -2
- package/dist/models/GetPersonalWorkspaceDomains200Response.d.ts +39 -0
- package/dist/models/GetPersonalWorkspaceDomains200Response.js +51 -0
- package/dist/models/GetShopifySeatQuote200Response.d.ts +39 -0
- package/dist/models/GetShopifySeatQuote200Response.js +51 -0
- package/dist/models/GetShopifySeatQuote200ResponseData.d.ts +33 -0
- package/dist/models/GetShopifySeatQuote200ResponseData.js +49 -0
- package/dist/models/GetShopifySeatQuote200ResponseDataQuote.d.ts +128 -0
- package/dist/models/GetShopifySeatQuote200ResponseDataQuote.js +92 -0
- package/dist/models/GetShopifySeatQuote200ResponseDataQuoteCredits.d.ts +44 -0
- package/dist/models/GetShopifySeatQuote200ResponseDataQuoteCredits.js +52 -0
- package/dist/models/GetShopifySeatQuote200ResponseDataQuoteCurrentPlan.d.ts +73 -0
- package/dist/models/GetShopifySeatQuote200ResponseDataQuoteCurrentPlan.js +72 -0
- package/dist/models/GetShopifySeatQuote200ResponseDataQuoteTargetPlan.d.ts +58 -0
- package/dist/models/GetShopifySeatQuote200ResponseDataQuoteTargetPlan.js +62 -0
- package/dist/models/GetShopifyTenant200Response.d.ts +39 -0
- package/dist/models/GetShopifyTenant200Response.js +51 -0
- package/dist/models/GetShopifyTenant200ResponseData.d.ts +33 -0
- package/dist/models/GetShopifyTenant200ResponseData.js +49 -0
- package/dist/models/GetShopifyTenant200ResponseDataTenant.d.ts +64 -0
- package/dist/models/GetShopifyTenant200ResponseDataTenant.js +60 -0
- package/dist/models/GetShopifyTenant200ResponseDataTenantPlan.d.ts +149 -0
- package/dist/models/GetShopifyTenant200ResponseDataTenantPlan.js +95 -0
- package/dist/models/GetShopifyTenant200ResponseDataTenantPlanPendingChange.d.ts +52 -0
- package/dist/models/GetShopifyTenant200ResponseDataTenantPlanPendingChange.js +60 -0
- package/dist/models/GetShopifyTenant200ResponseDataTenantSeat.d.ts +87 -0
- package/dist/models/GetShopifyTenant200ResponseDataTenantSeat.js +75 -0
- package/dist/models/GetUserApiKeyUsageLogs200Response.d.ts +33 -0
- package/dist/models/GetUserApiKeyUsageLogs200Response.js +51 -0
- package/dist/models/GetUserApiKeys200Response.d.ts +39 -0
- package/dist/models/GetUserApiKeys200Response.js +51 -0
- package/dist/models/GetUserCreditTransactions200Response.d.ts +39 -0
- package/dist/models/GetUserCreditTransactions200Response.js +51 -0
- package/dist/models/GetUserEntitlements200Response.d.ts +1 -1
- package/dist/models/GetUserEntitlements200Response.js +2 -2
- package/dist/models/GetWidgetPublishHistory200ResponseDataInner.d.ts +6 -0
- package/dist/models/GetWidgetPublishHistory200ResponseDataInner.js +2 -0
- package/dist/models/GetWidgets200Response.d.ts +4 -3
- package/dist/models/GetWidgets200Response.js +3 -2
- package/dist/models/GetWidgets200ResponseMeta.d.ts +70 -0
- package/dist/models/GetWidgets200ResponseMeta.js +60 -0
- package/dist/models/GetWorkspaceABTestDiagnosis200Response.d.ts +39 -0
- package/dist/models/GetWorkspaceABTestDiagnosis200Response.js +51 -0
- package/dist/models/GetWorkspaceABTestStatistics200Response.d.ts +39 -0
- package/dist/models/GetWorkspaceABTestStatistics200Response.js +51 -0
- package/dist/models/IssuePartnerInvoiceRequest.d.ts +44 -0
- package/dist/models/IssuePartnerInvoiceRequest.js +52 -0
- package/dist/models/IssuedPartnerInvoice.d.ts +68 -0
- package/dist/models/IssuedPartnerInvoice.js +74 -0
- package/dist/models/ListMyPresets200Response.d.ts +39 -0
- package/dist/models/ListMyPresets200Response.js +51 -0
- package/dist/models/ListOAuthConnections200Response.d.ts +39 -0
- package/dist/models/ListOAuthConnections200Response.js +51 -0
- package/dist/models/ListOAuthConnections200ResponseData.d.ts +33 -0
- package/dist/models/ListOAuthConnections200ResponseData.js +51 -0
- package/dist/models/ListOAuthConnections200ResponseDataConnectionsInner.d.ts +70 -0
- package/dist/models/ListOAuthConnections200ResponseDataConnectionsInner.js +76 -0
- package/dist/models/ListOAuthConnections200ResponseDataConnectionsInnerClient.d.ts +44 -0
- package/dist/models/ListOAuthConnections200ResponseDataConnectionsInnerClient.js +58 -0
- package/dist/models/ListPartnerCustomizations200ResponsePagination.d.ts +1 -1
- package/dist/models/ListPartnerCustomizations200ResponsePagination.js +2 -2
- package/dist/models/ListPartnerPresets200Response.d.ts +39 -0
- package/dist/models/ListPartnerPresets200Response.js +51 -0
- package/dist/models/ListShopifySeats200Response.d.ts +39 -0
- package/dist/models/ListShopifySeats200Response.js +51 -0
- package/dist/models/ListShopifySeats200ResponseData.d.ts +64 -0
- package/dist/models/ListShopifySeats200ResponseData.js +60 -0
- package/dist/models/ListShopifySeats200ResponseDataPlan.d.ts +81 -0
- package/dist/models/ListShopifySeats200ResponseDataPlan.js +76 -0
- package/dist/models/ListShopifySeats200ResponseDataSeatsInner.d.ts +111 -0
- package/dist/models/ListShopifySeats200ResponseDataSeatsInner.js +83 -0
- package/dist/models/ManagedUser.d.ts +13 -5
- package/dist/models/ManagedUser.js +14 -12
- package/dist/models/ManagedUserOperationUsage.d.ts +56 -0
- package/dist/models/ManagedUserOperationUsage.js +66 -0
- package/dist/models/ManagedUserUsage.d.ts +65 -0
- package/dist/models/ManagedUserUsage.js +72 -0
- package/dist/models/ManagedUserUsageTotals.d.ts +50 -0
- package/dist/models/ManagedUserUsageTotals.js +62 -0
- package/dist/models/MetricsGet200Response.d.ts +39 -0
- package/dist/models/MetricsGet200Response.js +51 -0
- package/dist/models/MetricsGet200ResponseData.d.ts +56 -0
- package/dist/models/MetricsGet200ResponseData.js +57 -0
- package/dist/models/MetricsGet200ResponseDataErrorsValue.d.ts +44 -0
- package/dist/models/MetricsGet200ResponseDataErrorsValue.js +52 -0
- package/dist/models/MetricsGet200ResponseDataLatencyValue.d.ts +50 -0
- package/dist/models/MetricsGet200ResponseDataLatencyValue.js +54 -0
- package/dist/models/MetricsLatencyGet200Response.d.ts +41 -0
- package/dist/models/MetricsLatencyGet200Response.js +52 -0
- package/dist/models/MetricsLatencyGet200ResponseDataValue.d.ts +62 -0
- package/dist/models/MetricsLatencyGet200ResponseDataValue.js +58 -0
- package/dist/models/ModifyCodeRequest.d.ts +0 -6
- package/dist/models/ModifyCodeRequest.js +0 -2
- package/dist/models/MyPreset.d.ts +50 -0
- package/dist/models/MyPreset.js +62 -0
- package/dist/models/MyPresetCopy.d.ts +56 -0
- package/dist/models/MyPresetCopy.js +66 -0
- package/dist/models/NewComposition.d.ts +12 -0
- package/dist/models/NewComposition.js +4 -0
- package/dist/models/NewEditorSession.d.ts +62 -0
- package/dist/models/NewEditorSession.js +65 -0
- package/dist/models/NewManagedUser.d.ts +3 -3
- package/dist/models/NewManagedUser.js +1 -3
- package/dist/models/NewWidget.d.ts +20 -66
- package/dist/models/NewWidget.js +6 -23
- package/dist/models/OperationsIdGet200Response.d.ts +88 -0
- package/dist/models/OperationsIdGet200Response.js +73 -0
- package/dist/models/OrganizationsOrgIdBillingGet200ResponseData.d.ts +9 -1
- package/dist/models/OrganizationsOrgIdBillingGet200ResponseData.js +2 -0
- package/dist/models/OrganizationsOrgIdBillingPortalPostRequest.d.ts +1 -1
- package/dist/models/OrganizationsOrgIdBillingUpgradePostRequest.d.ts +5 -1
- package/dist/models/Partner.d.ts +144 -0
- package/dist/models/Partner.js +97 -0
- package/dist/models/PartnerBillingOverview.d.ts +54 -0
- package/dist/models/PartnerBillingOverview.js +58 -0
- package/dist/models/PartnerBillingOverviewBillingIntegration.d.ts +50 -0
- package/dist/models/PartnerBillingOverviewBillingIntegration.js +54 -0
- package/dist/models/PartnerBillingOverviewOperationalCredits.d.ts +60 -0
- package/dist/models/PartnerBillingOverviewOperationalCredits.js +56 -0
- package/dist/models/PartnerBillingOverviewPartner.d.ts +58 -0
- package/dist/models/PartnerBillingOverviewPartner.js +62 -0
- package/dist/models/PartnerBillingReport.d.ts +69 -0
- package/dist/models/PartnerBillingReport.js +62 -0
- package/dist/models/PartnerBillingReportGroupedDataValue.d.ts +44 -0
- package/dist/models/PartnerBillingReportGroupedDataValue.js +52 -0
- package/dist/models/PartnerBillingReportSummary.d.ts +44 -0
- package/dist/models/PartnerBillingReportSummary.js +52 -0
- package/dist/models/PartnerContract.d.ts +120 -0
- package/dist/models/PartnerContract.js +83 -0
- package/dist/models/PartnerCreditAdjustment.d.ts +46 -0
- package/dist/models/PartnerCreditAdjustment.js +52 -0
- package/dist/models/PartnerCustomization.d.ts +13 -13
- package/dist/models/PartnerCustomization.js +26 -26
- package/dist/models/PartnerDetails.d.ts +164 -0
- package/dist/models/PartnerDetails.js +106 -0
- package/dist/models/PartnerDetailsAllOfAdminMetadata.d.ts +44 -0
- package/dist/models/PartnerDetailsAllOfAdminMetadata.js +52 -0
- package/dist/models/PartnerInvoice.d.ts +164 -0
- package/dist/models/PartnerInvoice.js +101 -0
- package/dist/models/PartnerList.d.ts +51 -0
- package/dist/models/PartnerList.js +63 -0
- package/dist/models/PartnerMonthlyStats.d.ts +81 -0
- package/dist/models/PartnerMonthlyStats.js +65 -0
- package/dist/models/PartnerMonthlyStatsPeriod.d.ts +38 -0
- package/dist/models/PartnerMonthlyStatsPeriod.js +50 -0
- package/dist/models/PartnerPreset.d.ts +81 -0
- package/dist/models/PartnerPreset.js +82 -0
- package/dist/models/PartnerPresetCopy.d.ts +62 -0
- package/dist/models/PartnerPresetCopy.js +70 -0
- package/dist/models/PartnerPresetRemoval.d.ts +32 -0
- package/dist/models/PartnerPresetRemoval.js +50 -0
- package/dist/models/PartnerStorageDestination.d.ts +99 -0
- package/dist/models/PartnerStorageDestination.js +90 -0
- package/dist/models/PartnerStorageRemoval.d.ts +32 -0
- package/dist/models/PartnerStorageRemoval.js +50 -0
- package/dist/models/PartnerUpdateResult.d.ts +158 -0
- package/dist/models/PartnerUpdateResult.js +102 -0
- package/dist/models/PartnerWithWarnings.d.ts +151 -0
- package/dist/models/PartnerWithWarnings.js +99 -0
- package/dist/models/PersonalWorkspaceDomain.d.ts +56 -0
- package/dist/models/PersonalWorkspaceDomain.js +62 -0
- package/dist/models/PersonalWorkspaceDomainResult.d.ts +39 -0
- package/dist/models/PersonalWorkspaceDomainResult.js +55 -0
- package/dist/models/PurchaseStoragePack200ResponseData.d.ts +3 -3
- package/dist/models/PurchaseStoragePack200ResponseData.js +3 -3
- package/dist/models/PurchaseStoragePackRequest.d.ts +3 -1
- package/dist/models/RefundPartnerCreditsRequest.d.ts +65 -0
- package/dist/models/RefundPartnerCreditsRequest.js +73 -0
- package/dist/models/RemoveShopifySeat200Response.d.ts +39 -0
- package/dist/models/RemoveShopifySeat200Response.js +51 -0
- package/dist/models/RemoveShopifySeat200ResponseData.d.ts +55 -0
- package/dist/models/RemoveShopifySeat200ResponseData.js +61 -0
- package/dist/models/RemoveShopifySeat200ResponseDataSeat.d.ts +51 -0
- package/dist/models/RemoveShopifySeat200ResponseDataSeat.js +59 -0
- package/dist/models/RenameWidgetPublishHistoryTitle200Response.d.ts +39 -0
- package/dist/models/RenameWidgetPublishHistoryTitle200Response.js +51 -0
- package/dist/models/RenameWidgetPublishHistoryTitle200ResponseData.d.ts +44 -0
- package/dist/models/RenameWidgetPublishHistoryTitle200ResponseData.js +52 -0
- package/dist/models/RenameWidgetPublishHistoryTitleRequest.d.ts +32 -0
- package/dist/models/RenameWidgetPublishHistoryTitleRequest.js +50 -0
- package/dist/models/RepositoryResponse.d.ts +5 -0
- package/dist/models/RevokeManagedUserEditorSessions200Response.d.ts +32 -0
- package/dist/models/RevokeManagedUserEditorSessions200Response.js +48 -0
- package/dist/models/SetPartnerPresetRequest.d.ts +50 -0
- package/dist/models/SetPartnerPresetRequest.js +56 -0
- package/dist/models/SetPartnerStorageDestinationRequest.d.ts +79 -0
- package/dist/models/SetPartnerStorageDestinationRequest.js +74 -0
- package/dist/models/SetWidgetPublishHistoryLive200ResponseDataData.d.ts +6 -0
- package/dist/models/SetWidgetPublishHistoryLive200ResponseDataData.js +2 -0
- package/dist/models/SignupUserRequest.d.ts +7 -1
- package/dist/models/SignupUserRequest.js +2 -0
- package/dist/models/StopWorkspaceABTestRequest.d.ts +10 -1
- package/dist/models/StopWorkspaceABTestRequest.js +2 -0
- package/dist/models/StorageChange.d.ts +96 -0
- package/dist/models/StorageChange.js +93 -0
- package/dist/models/StoragePack.d.ts +26 -7
- package/dist/models/StoragePack.js +20 -11
- package/dist/models/SubscriptionsIdRefundPreviewPost200Response.d.ts +71 -0
- package/dist/models/SubscriptionsIdRefundPreviewPost200Response.js +67 -0
- package/dist/models/SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview.d.ts +51 -0
- package/dist/models/SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview.js +55 -0
- package/dist/models/SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner.d.ts +38 -0
- package/dist/models/SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner.js +50 -0
- package/dist/models/SubscriptionsIdRefundPreviewPostRequest.d.ts +44 -0
- package/dist/models/SubscriptionsIdRefundPreviewPostRequest.js +52 -0
- package/dist/models/SyncShopifyBilling200Response.d.ts +39 -0
- package/dist/models/SyncShopifyBilling200Response.js +51 -0
- package/dist/models/SyncShopifyBilling200ResponseData.d.ts +39 -0
- package/dist/models/SyncShopifyBilling200ResponseData.js +51 -0
- package/dist/models/SyncShopifyBilling200ResponseDataSync.d.ts +67 -0
- package/dist/models/SyncShopifyBilling200ResponseDataSync.js +72 -0
- package/dist/models/UpdateDomainRequest.d.ts +3 -3
- package/dist/models/UpdateDomainRequest.js +3 -3
- package/dist/models/UpdateInvoiceStatusRequest.d.ts +47 -0
- package/dist/models/UpdateInvoiceStatusRequest.js +65 -0
- package/dist/models/UpdateManagedUser.d.ts +8 -1
- package/dist/models/UpdateManagedUser.js +2 -0
- package/dist/models/UpdateMessageRequest.d.ts +5 -4
- package/dist/models/UpdateMessageRequest.js +3 -2
- package/dist/models/UpdatePartnerEntitlements200Response.d.ts +2 -2
- package/dist/models/UpdatePartnerEntitlements200Response.js +4 -4
- package/dist/models/UpdatePartnerRequest.d.ts +89 -0
- package/dist/models/UpdatePartnerRequest.js +66 -0
- package/dist/models/UpdatePartnerStatusRequest.d.ts +47 -0
- package/dist/models/UpdatePartnerStatusRequest.js +61 -0
- package/dist/models/UpdateUserApiKeyRequest.d.ts +38 -0
- package/dist/models/UpdateUserApiKeyRequest.js +50 -0
- package/dist/models/UpdateWidget.d.ts +3 -15
- package/dist/models/UpdateWidget.js +3 -7
- package/dist/models/UpdateWidgetComponentsMetadataInner.d.ts +64 -0
- package/dist/models/UpdateWidgetComponentsMetadataInner.js +60 -0
- package/dist/models/UpdateWidgetComponentsMetadataInnerPosition.d.ts +38 -0
- package/dist/models/UpdateWidgetComponentsMetadataInnerPosition.js +50 -0
- package/dist/models/UpdateWidgetComponentsMetadataInnerSize.d.ts +38 -0
- package/dist/models/UpdateWidgetComponentsMetadataInnerSize.js +50 -0
- package/dist/models/Upload.d.ts +124 -0
- package/dist/models/Upload.js +107 -0
- package/dist/models/UploadLimits.d.ts +62 -0
- package/dist/models/UploadLimits.js +58 -0
- package/dist/models/UploadsGet200Response.d.ts +39 -0
- package/dist/models/UploadsGet200Response.js +51 -0
- package/dist/models/UserApiKey.d.ts +68 -0
- package/dist/models/UserApiKey.js +70 -0
- package/dist/models/UserApiKeyUsageLog.d.ts +76 -0
- package/dist/models/UserApiKeyUsageLog.js +74 -0
- package/dist/models/Widget.d.ts +6 -18
- package/dist/models/Widget.js +2 -6
- package/dist/models/index.d.ts +206 -74
- package/dist/models/index.js +206 -74
- package/dist/runtime.d.ts +40 -3
- package/dist/runtime.js +75 -15
- package/package.json +1 -1
- package/dist/apis/AgentRepositoryManagementApi.d.ts +0 -32
- package/dist/apis/AgentRepositoryManagementApi.js +0 -75
- package/dist/apis/UIComponentsApi.d.ts +0 -96
- package/dist/apis/UIComponentsApi.js +0 -209
- package/dist/apis/WorkflowsApi.d.ts +0 -44
- package/dist/apis/WorkflowsApi.js +0 -111
- package/dist/esm/apis/AgentRepositoryManagementApi.d.ts +0 -32
- package/dist/esm/apis/AgentRepositoryManagementApi.js +0 -71
- package/dist/esm/apis/UIComponentsApi.d.ts +0 -96
- package/dist/esm/apis/UIComponentsApi.js +0 -205
- package/dist/esm/apis/WorkflowsApi.d.ts +0 -44
- package/dist/esm/apis/WorkflowsApi.js +0 -107
- package/dist/esm/models/AgentRepositoriesRepoIdSyncPost202Response.d.ts +0 -32
- package/dist/esm/models/AgentRepositoriesRepoIdSyncPost202Response.js +0 -41
- package/dist/esm/models/AgentRepositoriesRepoIdSyncPostRequest.d.ts +0 -32
- package/dist/esm/models/AgentRepositoriesRepoIdSyncPostRequest.js +0 -43
- package/dist/esm/models/AgentTasksTaskIdStatusPutRequest.d.ts +0 -54
- package/dist/esm/models/AgentTasksTaskIdStatusPutRequest.js +0 -60
- package/dist/esm/models/ApiV1AdminBillingGrantsGrantIdRejectPostRequest.d.ts +0 -32
- package/dist/esm/models/ApiV1AdminBillingGrantsGrantIdRejectPostRequest.js +0 -41
- package/dist/esm/models/ApiV1AdminBillingGrantsPostRequest.d.ts +0 -82
- package/dist/esm/models/ApiV1AdminBillingGrantsPostRequest.js +0 -79
- package/dist/esm/models/ApiV1AdminBillingPlansPricesBackfillPostRequest.d.ts +0 -32
- package/dist/esm/models/ApiV1AdminBillingPlansPricesBackfillPostRequest.js +0 -41
- package/dist/esm/models/ApiV1AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequest.d.ts +0 -32
- package/dist/esm/models/ApiV1AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequest.js +0 -43
- package/dist/esm/models/ApiV1AdminBillingRefundsClawbacksGet200Response.d.ts +0 -39
- package/dist/esm/models/ApiV1AdminBillingRefundsClawbacksGet200Response.js +0 -44
- package/dist/esm/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseData.d.ts +0 -57
- package/dist/esm/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseData.js +0 -50
- package/dist/esm/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner.d.ts +0 -68
- package/dist/esm/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner.js +0 -53
- package/dist/esm/models/ApiV1AdminBillingRefundsPostRequest.d.ts +0 -70
- package/dist/esm/models/ApiV1AdminBillingRefundsPostRequest.js +0 -64
- package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPost200Response.d.ts +0 -71
- package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPost200Response.js +0 -59
- package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreview.d.ts +0 -51
- package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreview.js +0 -48
- package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPostRequest.d.ts +0 -70
- package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPostRequest.js +0 -62
- package/dist/esm/models/ApiV1AdminBillingSubscriptionsSubjectIdCancelPostRequest.d.ts +0 -46
- package/dist/esm/models/ApiV1AdminBillingSubscriptionsSubjectIdCancelPostRequest.js +0 -52
- package/dist/esm/models/ApiV1BillingPricingGet200Response.d.ts +0 -39
- package/dist/esm/models/ApiV1BillingPricingGet200Response.js +0 -44
- package/dist/esm/models/ApiV1BillingPricingGet200ResponseData.d.ts +0 -46
- package/dist/esm/models/ApiV1BillingPricingGet200ResponseData.js +0 -47
- package/dist/esm/models/ApiV1BillingPricingGet200ResponseDataPlansInner.d.ts +0 -68
- package/dist/esm/models/ApiV1BillingPricingGet200ResponseDataPlansInner.js +0 -53
- package/dist/esm/models/ApiV1BillingPricingGet200ResponseDataTrial.d.ts +0 -44
- package/dist/esm/models/ApiV1BillingPricingGet200ResponseDataTrial.js +0 -45
- package/dist/esm/models/ApiV1BillingUsersUserIdInvoicesGet200Response.d.ts +0 -39
- package/dist/esm/models/ApiV1BillingUsersUserIdInvoicesGet200Response.js +0 -44
- package/dist/esm/models/ApiV1BillingUsersUserIdInvoicesGet200ResponseData.d.ts +0 -33
- package/dist/esm/models/ApiV1BillingUsersUserIdInvoicesGet200ResponseData.js +0 -42
- package/dist/esm/models/ApiV1BillingUsersUserIdInvoicesGet200ResponseDataInvoicesInner.d.ts +0 -68
- package/dist/esm/models/ApiV1BillingUsersUserIdInvoicesGet200ResponseDataInvoicesInner.js +0 -53
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200Response.d.ts +0 -39
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200Response.js +0 -44
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseData.d.ts +0 -33
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseData.js +0 -42
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner.d.ts +0 -62
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner.js +0 -51
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDefaultPut200Response.d.ts +0 -39
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDefaultPut200Response.js +0 -44
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDefaultPut200ResponseData.d.ts +0 -32
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDefaultPut200ResponseData.js +0 -41
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200Response.d.ts +0 -39
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200Response.js +0 -44
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200ResponseData.d.ts +0 -32
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200ResponseData.js +0 -41
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPost200Response.d.ts +0 -39
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPost200Response.js +0 -44
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData.d.ts +0 -33
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData.js +0 -42
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPostRequest.d.ts +0 -32
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPostRequest.js +0 -43
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200Response.d.ts +0 -39
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200Response.js +0 -44
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData.d.ts +0 -50
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData.js +0 -47
- package/dist/esm/models/ApiV1BillingUsersUserIdPortalPost200Response.d.ts +0 -39
- package/dist/esm/models/ApiV1BillingUsersUserIdPortalPost200Response.js +0 -44
- package/dist/esm/models/ApiV1BillingUsersUserIdPortalPost200ResponseData.d.ts +0 -32
- package/dist/esm/models/ApiV1BillingUsersUserIdPortalPost200ResponseData.js +0 -41
- package/dist/esm/models/ApiV1BillingUsersUserIdPortalPostRequest.d.ts +0 -32
- package/dist/esm/models/ApiV1BillingUsersUserIdPortalPostRequest.js +0 -41
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionCancelPost200Response.d.ts +0 -39
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionCancelPost200Response.js +0 -44
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionCancelPost200ResponseData.d.ts +0 -32
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionCancelPost200ResponseData.js +0 -41
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionCancelPostRequest.d.ts +0 -32
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionCancelPostRequest.js +0 -41
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionGet200Response.d.ts +0 -39
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionGet200Response.js +0 -44
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionGet200ResponseData.d.ts +0 -120
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionGet200ResponseData.js +0 -76
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPayPost200Response.d.ts +0 -39
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPayPost200Response.js +0 -44
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPayPost200ResponseData.d.ts +0 -38
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPayPost200ResponseData.js +0 -43
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPost200Response.d.ts +0 -39
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPost200Response.js +0 -44
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPost200ResponseData.d.ts +0 -38
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPost200ResponseData.js +0 -43
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPostRequest.d.ts +0 -53
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPostRequest.js +0 -58
- package/dist/esm/models/ApiV1MetricsGet200Response.d.ts +0 -39
- package/dist/esm/models/ApiV1MetricsGet200Response.js +0 -44
- package/dist/esm/models/ApiV1MetricsGet200ResponseData.d.ts +0 -56
- package/dist/esm/models/ApiV1MetricsGet200ResponseData.js +0 -50
- package/dist/esm/models/ApiV1MetricsGet200ResponseDataErrorsValue.d.ts +0 -44
- package/dist/esm/models/ApiV1MetricsGet200ResponseDataErrorsValue.js +0 -45
- package/dist/esm/models/ApiV1MetricsGet200ResponseDataLatencyValue.d.ts +0 -50
- package/dist/esm/models/ApiV1MetricsGet200ResponseDataLatencyValue.js +0 -47
- package/dist/esm/models/ApiV1MetricsLatencyGet200Response.d.ts +0 -41
- package/dist/esm/models/ApiV1MetricsLatencyGet200Response.js +0 -45
- package/dist/esm/models/ApiV1MetricsLatencyGet200ResponseDataValue.d.ts +0 -62
- package/dist/esm/models/ApiV1MetricsLatencyGet200ResponseDataValue.js +0 -51
- package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200Response.d.ts +0 -71
- package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200Response.js +0 -59
- package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview.d.ts +0 -51
- package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview.js +0 -48
- package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner.d.ts +0 -38
- package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner.js +0 -43
- package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPostRequest.d.ts +0 -44
- package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPostRequest.js +0 -45
- package/dist/esm/models/CanvasesCanvasIdComponentsComponentIdPublishPost202Response.d.ts +0 -38
- package/dist/esm/models/CanvasesCanvasIdComponentsComponentIdPublishPost202Response.js +0 -43
- package/dist/esm/models/CanvasesCanvasIdComponentsComponentIdPublishPostRequest.d.ts +0 -38
- package/dist/esm/models/CanvasesCanvasIdComponentsComponentIdPublishPostRequest.js +0 -47
- package/dist/esm/models/ComponentManifest.d.ts +0 -52
- package/dist/esm/models/ComponentManifest.js +0 -49
- package/dist/esm/models/ComponentManifestAssets.d.ts +0 -38
- package/dist/esm/models/ComponentManifestAssets.js +0 -43
- package/dist/esm/models/ComponentManifestConfig.d.ts +0 -44
- package/dist/esm/models/ComponentManifestConfig.js +0 -45
- package/dist/esm/models/DevelopmentPlan.d.ts +0 -97
- package/dist/esm/models/DevelopmentPlan.js +0 -69
- package/dist/esm/models/DevelopmentTask.d.ts +0 -90
- package/dist/esm/models/DevelopmentTask.js +0 -66
- package/dist/esm/models/GenerateComponentWorkflowInput.d.ts +0 -56
- package/dist/esm/models/GenerateComponentWorkflowInput.js +0 -55
- package/dist/esm/models/GenerateMixedComponentInput.d.ts +0 -62
- package/dist/esm/models/GenerateMixedComponentInput.js +0 -59
- package/dist/esm/models/GetCompositionsBatch200ResponseErrorsInner.d.ts +0 -38
- package/dist/esm/models/GetCompositionsBatch200ResponseErrorsInner.js +0 -43
- package/dist/esm/models/GetOrganizationStorageUsage200ResponseDataBreakdown.d.ts +0 -44
- package/dist/esm/models/GetOrganizationStorageUsage200ResponseDataBreakdown.js +0 -45
- package/dist/esm/models/ListComponents200Response.d.ts +0 -33
- package/dist/esm/models/ListComponents200Response.js +0 -42
- package/dist/esm/models/LoginUser200Response.d.ts +0 -38
- package/dist/esm/models/LoginUser200Response.js +0 -43
- package/dist/esm/models/MountRequest.d.ts +0 -45
- package/dist/esm/models/MountRequest.js +0 -48
- package/dist/esm/models/MountRequestTheme.d.ts +0 -54
- package/dist/esm/models/MountRequestTheme.js +0 -54
- package/dist/esm/models/MountRequestThemeColors.d.ts +0 -50
- package/dist/esm/models/MountRequestThemeColors.js +0 -47
- package/dist/esm/models/MountRequestThemeTypography.d.ts +0 -38
- package/dist/esm/models/MountRequestThemeTypography.js +0 -43
- package/dist/esm/models/MountResponse.d.ts +0 -46
- package/dist/esm/models/MountResponse.js +0 -50
- package/dist/esm/models/NewWidgetComponentsMetadataInner.d.ts +0 -64
- package/dist/esm/models/NewWidgetComponentsMetadataInner.js +0 -53
- package/dist/esm/models/NewWidgetComponentsMetadataInnerPosition.d.ts +0 -38
- package/dist/esm/models/NewWidgetComponentsMetadataInnerPosition.js +0 -43
- package/dist/esm/models/NewWidgetComponentsMetadataInnerSize.d.ts +0 -38
- package/dist/esm/models/NewWidgetComponentsMetadataInnerSize.js +0 -43
- package/dist/esm/models/PurchaseStoragePack200ResponseDataPaymentIntent.d.ts +0 -50
- package/dist/esm/models/PurchaseStoragePack200ResponseDataPaymentIntent.js +0 -47
- package/dist/esm/models/RollbackComponent200Response.d.ts +0 -38
- package/dist/esm/models/RollbackComponent200Response.js +0 -43
- package/dist/esm/models/RollbackComponentRequest.d.ts +0 -38
- package/dist/esm/models/RollbackComponentRequest.js +0 -45
- package/dist/esm/models/UIComponent.d.ts +0 -65
- package/dist/esm/models/UIComponent.js +0 -57
- package/dist/esm/models/UpdateCompositionRequest.d.ts +0 -68
- package/dist/esm/models/UpdateCompositionRequest.js +0 -53
- package/dist/esm/models/WorkflowAcceptedResponse.d.ts +0 -38
- package/dist/esm/models/WorkflowAcceptedResponse.js +0 -43
- package/dist/models/AgentRepositoriesRepoIdSyncPost202Response.d.ts +0 -32
- package/dist/models/AgentRepositoriesRepoIdSyncPost202Response.js +0 -48
- package/dist/models/AgentRepositoriesRepoIdSyncPostRequest.d.ts +0 -32
- package/dist/models/AgentRepositoriesRepoIdSyncPostRequest.js +0 -50
- package/dist/models/AgentTasksTaskIdStatusPutRequest.d.ts +0 -54
- package/dist/models/AgentTasksTaskIdStatusPutRequest.js +0 -68
- package/dist/models/ApiV1AdminBillingGrantsGrantIdRejectPostRequest.d.ts +0 -32
- package/dist/models/ApiV1AdminBillingGrantsGrantIdRejectPostRequest.js +0 -48
- package/dist/models/ApiV1AdminBillingGrantsPostRequest.d.ts +0 -82
- package/dist/models/ApiV1AdminBillingGrantsPostRequest.js +0 -87
- package/dist/models/ApiV1AdminBillingPlansPricesBackfillPostRequest.d.ts +0 -32
- package/dist/models/ApiV1AdminBillingPlansPricesBackfillPostRequest.js +0 -48
- package/dist/models/ApiV1AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequest.d.ts +0 -32
- package/dist/models/ApiV1AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequest.js +0 -50
- package/dist/models/ApiV1AdminBillingRefundsClawbacksGet200Response.d.ts +0 -39
- package/dist/models/ApiV1AdminBillingRefundsClawbacksGet200Response.js +0 -51
- package/dist/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseData.d.ts +0 -57
- package/dist/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseData.js +0 -57
- package/dist/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner.d.ts +0 -68
- package/dist/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner.js +0 -60
- package/dist/models/ApiV1AdminBillingRefundsPostRequest.d.ts +0 -70
- package/dist/models/ApiV1AdminBillingRefundsPostRequest.js +0 -72
- package/dist/models/ApiV1AdminBillingRefundsPreviewPost200Response.d.ts +0 -71
- package/dist/models/ApiV1AdminBillingRefundsPreviewPost200Response.js +0 -67
- package/dist/models/ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreview.d.ts +0 -51
- package/dist/models/ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreview.js +0 -55
- package/dist/models/ApiV1AdminBillingRefundsPreviewPostRequest.d.ts +0 -70
- package/dist/models/ApiV1AdminBillingRefundsPreviewPostRequest.js +0 -70
- package/dist/models/ApiV1AdminBillingSubscriptionsSubjectIdCancelPostRequest.d.ts +0 -46
- package/dist/models/ApiV1AdminBillingSubscriptionsSubjectIdCancelPostRequest.js +0 -60
- package/dist/models/ApiV1BillingPricingGet200Response.d.ts +0 -39
- package/dist/models/ApiV1BillingPricingGet200Response.js +0 -51
- package/dist/models/ApiV1BillingPricingGet200ResponseData.d.ts +0 -46
- package/dist/models/ApiV1BillingPricingGet200ResponseData.js +0 -54
- package/dist/models/ApiV1BillingPricingGet200ResponseDataPlansInner.d.ts +0 -68
- package/dist/models/ApiV1BillingPricingGet200ResponseDataPlansInner.js +0 -60
- package/dist/models/ApiV1BillingPricingGet200ResponseDataTrial.d.ts +0 -44
- package/dist/models/ApiV1BillingPricingGet200ResponseDataTrial.js +0 -52
- package/dist/models/ApiV1BillingUsersUserIdInvoicesGet200Response.d.ts +0 -39
- package/dist/models/ApiV1BillingUsersUserIdInvoicesGet200Response.js +0 -51
- package/dist/models/ApiV1BillingUsersUserIdInvoicesGet200ResponseData.d.ts +0 -33
- package/dist/models/ApiV1BillingUsersUserIdInvoicesGet200ResponseData.js +0 -49
- package/dist/models/ApiV1BillingUsersUserIdInvoicesGet200ResponseDataInvoicesInner.d.ts +0 -68
- package/dist/models/ApiV1BillingUsersUserIdInvoicesGet200ResponseDataInvoicesInner.js +0 -60
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200Response.d.ts +0 -39
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200Response.js +0 -51
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseData.d.ts +0 -33
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseData.js +0 -49
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner.d.ts +0 -62
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner.js +0 -58
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDefaultPut200Response.d.ts +0 -39
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDefaultPut200Response.js +0 -51
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDefaultPut200ResponseData.d.ts +0 -32
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDefaultPut200ResponseData.js +0 -48
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200Response.d.ts +0 -39
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200Response.js +0 -51
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200ResponseData.d.ts +0 -32
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200ResponseData.js +0 -48
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPost200Response.d.ts +0 -39
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPost200Response.js +0 -51
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData.d.ts +0 -33
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData.js +0 -49
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPostRequest.d.ts +0 -32
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPostRequest.js +0 -50
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200Response.d.ts +0 -39
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200Response.js +0 -51
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData.d.ts +0 -50
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData.js +0 -54
- package/dist/models/ApiV1BillingUsersUserIdPortalPost200Response.d.ts +0 -39
- package/dist/models/ApiV1BillingUsersUserIdPortalPost200Response.js +0 -51
- package/dist/models/ApiV1BillingUsersUserIdPortalPost200ResponseData.d.ts +0 -32
- package/dist/models/ApiV1BillingUsersUserIdPortalPost200ResponseData.js +0 -48
- package/dist/models/ApiV1BillingUsersUserIdPortalPostRequest.d.ts +0 -32
- package/dist/models/ApiV1BillingUsersUserIdPortalPostRequest.js +0 -48
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionCancelPost200Response.d.ts +0 -39
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionCancelPost200Response.js +0 -51
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionCancelPost200ResponseData.d.ts +0 -32
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionCancelPost200ResponseData.js +0 -48
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionCancelPostRequest.d.ts +0 -32
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionCancelPostRequest.js +0 -48
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionGet200Response.d.ts +0 -39
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionGet200Response.js +0 -51
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionGet200ResponseData.d.ts +0 -120
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionGet200ResponseData.js +0 -84
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionPayPost200Response.d.ts +0 -39
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionPayPost200Response.js +0 -51
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionPayPost200ResponseData.d.ts +0 -38
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionPayPost200ResponseData.js +0 -50
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionPost200Response.d.ts +0 -39
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionPost200Response.js +0 -51
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionPost200ResponseData.d.ts +0 -38
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionPost200ResponseData.js +0 -50
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionPostRequest.d.ts +0 -53
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionPostRequest.js +0 -66
- package/dist/models/ApiV1MetricsGet200Response.d.ts +0 -39
- package/dist/models/ApiV1MetricsGet200Response.js +0 -51
- package/dist/models/ApiV1MetricsGet200ResponseData.d.ts +0 -56
- package/dist/models/ApiV1MetricsGet200ResponseData.js +0 -57
- package/dist/models/ApiV1MetricsGet200ResponseDataErrorsValue.d.ts +0 -44
- package/dist/models/ApiV1MetricsGet200ResponseDataErrorsValue.js +0 -52
- package/dist/models/ApiV1MetricsGet200ResponseDataLatencyValue.d.ts +0 -50
- package/dist/models/ApiV1MetricsGet200ResponseDataLatencyValue.js +0 -54
- package/dist/models/ApiV1MetricsLatencyGet200Response.d.ts +0 -41
- package/dist/models/ApiV1MetricsLatencyGet200Response.js +0 -52
- package/dist/models/ApiV1MetricsLatencyGet200ResponseDataValue.d.ts +0 -62
- package/dist/models/ApiV1MetricsLatencyGet200ResponseDataValue.js +0 -58
- package/dist/models/ApiV1SubscriptionsIdRefundPreviewPost200Response.d.ts +0 -71
- package/dist/models/ApiV1SubscriptionsIdRefundPreviewPost200Response.js +0 -67
- package/dist/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview.d.ts +0 -51
- package/dist/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview.js +0 -55
- package/dist/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner.d.ts +0 -38
- package/dist/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner.js +0 -50
- package/dist/models/ApiV1SubscriptionsIdRefundPreviewPostRequest.d.ts +0 -44
- package/dist/models/ApiV1SubscriptionsIdRefundPreviewPostRequest.js +0 -52
- package/dist/models/CanvasesCanvasIdComponentsComponentIdPublishPost202Response.d.ts +0 -38
- package/dist/models/CanvasesCanvasIdComponentsComponentIdPublishPost202Response.js +0 -50
- package/dist/models/CanvasesCanvasIdComponentsComponentIdPublishPostRequest.d.ts +0 -38
- package/dist/models/CanvasesCanvasIdComponentsComponentIdPublishPostRequest.js +0 -54
- package/dist/models/ComponentManifest.d.ts +0 -52
- package/dist/models/ComponentManifest.js +0 -56
- package/dist/models/ComponentManifestAssets.d.ts +0 -38
- package/dist/models/ComponentManifestAssets.js +0 -50
- package/dist/models/ComponentManifestConfig.d.ts +0 -44
- package/dist/models/ComponentManifestConfig.js +0 -52
- package/dist/models/DevelopmentPlan.d.ts +0 -97
- package/dist/models/DevelopmentPlan.js +0 -77
- package/dist/models/DevelopmentTask.d.ts +0 -90
- package/dist/models/DevelopmentTask.js +0 -74
- package/dist/models/GenerateComponentWorkflowInput.d.ts +0 -56
- package/dist/models/GenerateComponentWorkflowInput.js +0 -62
- package/dist/models/GenerateMixedComponentInput.d.ts +0 -62
- package/dist/models/GenerateMixedComponentInput.js +0 -66
- package/dist/models/GetCompositionsBatch200ResponseErrorsInner.d.ts +0 -38
- package/dist/models/GetCompositionsBatch200ResponseErrorsInner.js +0 -50
- package/dist/models/GetOrganizationStorageUsage200ResponseDataBreakdown.d.ts +0 -44
- package/dist/models/GetOrganizationStorageUsage200ResponseDataBreakdown.js +0 -52
- package/dist/models/ListComponents200Response.d.ts +0 -33
- package/dist/models/ListComponents200Response.js +0 -49
- package/dist/models/LoginUser200Response.d.ts +0 -38
- package/dist/models/LoginUser200Response.js +0 -50
- package/dist/models/MountRequest.d.ts +0 -45
- package/dist/models/MountRequest.js +0 -55
- package/dist/models/MountRequestTheme.d.ts +0 -54
- package/dist/models/MountRequestTheme.js +0 -62
- package/dist/models/MountRequestThemeColors.d.ts +0 -50
- package/dist/models/MountRequestThemeColors.js +0 -54
- package/dist/models/MountRequestThemeTypography.d.ts +0 -38
- package/dist/models/MountRequestThemeTypography.js +0 -50
- package/dist/models/MountResponse.d.ts +0 -46
- package/dist/models/MountResponse.js +0 -58
- package/dist/models/NewWidgetComponentsMetadataInner.d.ts +0 -64
- package/dist/models/NewWidgetComponentsMetadataInner.js +0 -60
- package/dist/models/NewWidgetComponentsMetadataInnerPosition.d.ts +0 -38
- package/dist/models/NewWidgetComponentsMetadataInnerPosition.js +0 -50
- package/dist/models/NewWidgetComponentsMetadataInnerSize.d.ts +0 -38
- package/dist/models/NewWidgetComponentsMetadataInnerSize.js +0 -50
- package/dist/models/PurchaseStoragePack200ResponseDataPaymentIntent.d.ts +0 -50
- package/dist/models/PurchaseStoragePack200ResponseDataPaymentIntent.js +0 -54
- package/dist/models/RollbackComponent200Response.d.ts +0 -38
- package/dist/models/RollbackComponent200Response.js +0 -50
- package/dist/models/RollbackComponentRequest.d.ts +0 -38
- package/dist/models/RollbackComponentRequest.js +0 -52
- package/dist/models/UIComponent.d.ts +0 -65
- package/dist/models/UIComponent.js +0 -65
- package/dist/models/UpdateCompositionRequest.d.ts +0 -68
- package/dist/models/UpdateCompositionRequest.js +0 -60
- package/dist/models/WorkflowAcceptedResponse.d.ts +0 -38
- package/dist/models/WorkflowAcceptedResponse.js +0 -50
|
@@ -0,0 +1,127 @@
|
|
|
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 * as runtime from '../runtime';
|
|
13
|
+
import type { ApproveShopifySeat200Response, CreateShopifyBuilderSession200Response, CreateShopifyBuilderSessionRequest, DeclineShopifySeat200Response, GetShopifySeatQuote200Response, GetShopifyTenant200Response, ListShopifySeats200Response, RemoveShopifySeat200Response, SyncShopifyBilling200Response } from '../models/index';
|
|
14
|
+
export interface ApproveShopifySeatRequest {
|
|
15
|
+
id: string;
|
|
16
|
+
body?: object;
|
|
17
|
+
}
|
|
18
|
+
export interface CreateShopifyBuilderSessionOperationRequest {
|
|
19
|
+
createShopifyBuilderSessionRequest?: CreateShopifyBuilderSessionRequest;
|
|
20
|
+
}
|
|
21
|
+
export interface DeclineShopifySeatRequest {
|
|
22
|
+
id: string;
|
|
23
|
+
body?: object;
|
|
24
|
+
}
|
|
25
|
+
export interface GetShopifySeatQuoteRequest {
|
|
26
|
+
seats?: number;
|
|
27
|
+
frequency?: GetShopifySeatQuoteFrequencyEnum;
|
|
28
|
+
}
|
|
29
|
+
export interface RemoveShopifySeatRequest {
|
|
30
|
+
id: string;
|
|
31
|
+
}
|
|
32
|
+
export interface SyncShopifyBillingRequest {
|
|
33
|
+
body?: object;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
*/
|
|
38
|
+
export declare class ShopifyApi extends runtime.BaseAPI {
|
|
39
|
+
/**
|
|
40
|
+
* Lets a person who asked to join use Widgetic for the store. The person becomes a team member of the store under their own account (nobody signs up; the account is made for them) with the same features, credits and storage as any member of a Teams store. The credits are this period\'s, pro-rated from today, the way a member who joins a team on widgetic.com gets them. When the store\'s plan has no free seat the person is approved and waits (`outcome` of `awaiting_plan`): the store is not charged for anything, and they are seated as soon as a plan with room is recorded (the merchant chooses one on Shopify\'s plan page). `GET /shopify/billing/quote` says which plan that is. A person suspended because the plan shrank is not queued: there is `409` until a seat is free. Safe to repeat. If the person was seated but their credits and features could not be set up, the answer is `503` with `error.code` of `SHOPIFY_SEAT_RIGHTS_PENDING`; approve again. Only the store\'s account owner may approve, and Shopify is asked to confirm it every time: the recorded answer is not good enough for a change. Requires a Shopify session token (`Authorization: Bearer <App Bridge idToken>`).
|
|
41
|
+
* Approve a person for the store
|
|
42
|
+
*/
|
|
43
|
+
approveShopifySeatRaw(requestParameters: ApproveShopifySeatRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApproveShopifySeat200Response>>;
|
|
44
|
+
/**
|
|
45
|
+
* Lets a person who asked to join use Widgetic for the store. The person becomes a team member of the store under their own account (nobody signs up; the account is made for them) with the same features, credits and storage as any member of a Teams store. The credits are this period\'s, pro-rated from today, the way a member who joins a team on widgetic.com gets them. When the store\'s plan has no free seat the person is approved and waits (`outcome` of `awaiting_plan`): the store is not charged for anything, and they are seated as soon as a plan with room is recorded (the merchant chooses one on Shopify\'s plan page). `GET /shopify/billing/quote` says which plan that is. A person suspended because the plan shrank is not queued: there is `409` until a seat is free. Safe to repeat. If the person was seated but their credits and features could not be set up, the answer is `503` with `error.code` of `SHOPIFY_SEAT_RIGHTS_PENDING`; approve again. Only the store\'s account owner may approve, and Shopify is asked to confirm it every time: the recorded answer is not good enough for a change. Requires a Shopify session token (`Authorization: Bearer <App Bridge idToken>`).
|
|
46
|
+
* Approve a person for the store
|
|
47
|
+
*/
|
|
48
|
+
approveShopifySeat(requestParameters: ApproveShopifySeatRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApproveShopifySeat200Response>;
|
|
49
|
+
/**
|
|
50
|
+
* Lets a person who is using the Shopify app (the store\'s owner, or a team member the owner approved) open the Widgetic builder already signed in, without creating an account. The account signed in is the one the verified person acts as: the store\'s owner account for the owner, the person\'s own member account for a team member. Nothing in the request chooses it. Returns a short-lived signed credential (`handoffToken`) for the site\'s sign-in landing page: open `<site>/auth/oauth-complete/shopify#os=<handoffToken>` (in the URL fragment, never the query string) and the site exchanges it for a session and continues to the builder. The response is a credential: it expires after `expiresInSeconds`, is sent with `Cache-Control: no-store`, and must not be logged or stored. Requires a Shopify session token (`Authorization: Bearer <App Bridge idToken>`). Any other credential receives `403`, and so does a person who has no working seat in the store yet (`error.code` of `SEAT_REQUIRED`). An account the Shopify app did not create for this store (for instance a store whose owner is an ordinary person\'s account) also receives `403`, because signing in as a real person\'s account would expose that person\'s other organizations.
|
|
51
|
+
* Sign the person using the app in to the Widgetic builder
|
|
52
|
+
*/
|
|
53
|
+
createShopifyBuilderSessionRaw(requestParameters: CreateShopifyBuilderSessionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateShopifyBuilderSession200Response>>;
|
|
54
|
+
/**
|
|
55
|
+
* Lets a person who is using the Shopify app (the store\'s owner, or a team member the owner approved) open the Widgetic builder already signed in, without creating an account. The account signed in is the one the verified person acts as: the store\'s owner account for the owner, the person\'s own member account for a team member. Nothing in the request chooses it. Returns a short-lived signed credential (`handoffToken`) for the site\'s sign-in landing page: open `<site>/auth/oauth-complete/shopify#os=<handoffToken>` (in the URL fragment, never the query string) and the site exchanges it for a session and continues to the builder. The response is a credential: it expires after `expiresInSeconds`, is sent with `Cache-Control: no-store`, and must not be logged or stored. Requires a Shopify session token (`Authorization: Bearer <App Bridge idToken>`). Any other credential receives `403`, and so does a person who has no working seat in the store yet (`error.code` of `SEAT_REQUIRED`). An account the Shopify app did not create for this store (for instance a store whose owner is an ordinary person\'s account) also receives `403`, because signing in as a real person\'s account would expose that person\'s other organizations.
|
|
56
|
+
* Sign the person using the app in to the Widgetic builder
|
|
57
|
+
*/
|
|
58
|
+
createShopifyBuilderSession(requestParameters?: CreateShopifyBuilderSessionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateShopifyBuilderSession200Response>;
|
|
59
|
+
/**
|
|
60
|
+
* Turns down a person who asked to join, or who was approved and waits for a plan with room. They are told the store owner did not approve them, and can be approved later. A person who already has a seat is removed (`DELETE /shopify/seats/{id}`), not declined. Safe to repeat. Only the store\'s account owner may decline, and Shopify is asked to confirm it every time. Requires a Shopify session token (`Authorization: Bearer <App Bridge idToken>`).
|
|
61
|
+
* Decline a person who asked to join
|
|
62
|
+
*/
|
|
63
|
+
declineShopifySeatRaw(requestParameters: DeclineShopifySeatRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DeclineShopifySeat200Response>>;
|
|
64
|
+
/**
|
|
65
|
+
* Turns down a person who asked to join, or who was approved and waits for a plan with room. They are told the store owner did not approve them, and can be approved later. A person who already has a seat is removed (`DELETE /shopify/seats/{id}`), not declined. Safe to repeat. Only the store\'s account owner may decline, and Shopify is asked to confirm it every time. Requires a Shopify session token (`Authorization: Bearer <App Bridge idToken>`).
|
|
66
|
+
* Decline a person who asked to join
|
|
67
|
+
*/
|
|
68
|
+
declineShopifySeat(requestParameters: DeclineShopifySeatRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DeclineShopifySeat200Response>;
|
|
69
|
+
/**
|
|
70
|
+
* Tells the store\'s account owner, before they add people, which plan would seat everybody, roughly what Shopify will charge today, and the credits each person would get. Nothing is charged and Shopify is not asked: the plan is the one on record, and every figure is an estimate (`isEstimate` is always true). Shopify shows the exact charge on its plan page, which is where the plan is changed (`planPageUrl`). The daily rate and the credits are worked out by the same code that prices a seat added to a team on widgetic.com, so the two never disagree. A store on a paid plan that moves to a bigger one pays the difference in price for the rest of the period it is in; a store with no plan, in its trial, or that cancelled pays the new plan\'s full price and its period starts now. Without `seats`, the quote is for the people in seats, the people already approved and waiting, and one more: what approving the next person needs. Only the store\'s account owner may read it (`403` and `error.code` of `ACCOUNT_OWNER_REQUIRED` otherwise). Requires a Shopify session token (`Authorization: Bearer <App Bridge idToken>`).
|
|
71
|
+
* Estimate what seating more people would cost
|
|
72
|
+
*/
|
|
73
|
+
getShopifySeatQuoteRaw(requestParameters: GetShopifySeatQuoteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetShopifySeatQuote200Response>>;
|
|
74
|
+
/**
|
|
75
|
+
* Tells the store\'s account owner, before they add people, which plan would seat everybody, roughly what Shopify will charge today, and the credits each person would get. Nothing is charged and Shopify is not asked: the plan is the one on record, and every figure is an estimate (`isEstimate` is always true). Shopify shows the exact charge on its plan page, which is where the plan is changed (`planPageUrl`). The daily rate and the credits are worked out by the same code that prices a seat added to a team on widgetic.com, so the two never disagree. A store on a paid plan that moves to a bigger one pays the difference in price for the rest of the period it is in; a store with no plan, in its trial, or that cancelled pays the new plan\'s full price and its period starts now. Without `seats`, the quote is for the people in seats, the people already approved and waiting, and one more: what approving the next person needs. Only the store\'s account owner may read it (`403` and `error.code` of `ACCOUNT_OWNER_REQUIRED` otherwise). Requires a Shopify session token (`Authorization: Bearer <App Bridge idToken>`).
|
|
76
|
+
* Estimate what seating more people would cost
|
|
77
|
+
*/
|
|
78
|
+
getShopifySeatQuote(requestParameters?: GetShopifySeatQuoteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetShopifySeatQuote200Response>;
|
|
79
|
+
/**
|
|
80
|
+
* Resolves the calling Shopify store to its Widgetic organization and reports the store\'s plan. The first call for a store provisions it: an organization and a system-created owner, with no sign-up and no free period: the store has no plan (`plan.hasChosenPlan` is false) until it picks one on Shopify\'s plan page, and the only trial is the 7-day trial on the Solo plan. `isNewInstall` is true only on that call, so the app can welcome a new install once. Shopify sends no subscription webhooks, so when the store\'s plan was last read from Shopify more than five minutes ago it is read again first (a slow Shopify never delays the answer by more than a few seconds). `seat` describes the caller\'s own place in the store. The first person to open a store holds its owner seat until the store\'s account owner opens the app, who then takes it; everybody else asks to join and waits for the account owner to approve them (`canUseWidgetic` is false and `message` says why). A person who cannot use Widgetic yet can still call this endpoint, so the app can tell them so; every other endpoint refuses them with `403` and `error.code` of `SEAT_REQUIRED`. Requires a Shopify session token (`Authorization: Bearer <App Bridge idToken>`). Any other credential receives `403`, because there is no store to describe.
|
|
81
|
+
* Get the store behind a Shopify session
|
|
82
|
+
*/
|
|
83
|
+
getShopifyTenantRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetShopifyTenant200Response>>;
|
|
84
|
+
/**
|
|
85
|
+
* Resolves the calling Shopify store to its Widgetic organization and reports the store\'s plan. The first call for a store provisions it: an organization and a system-created owner, with no sign-up and no free period: the store has no plan (`plan.hasChosenPlan` is false) until it picks one on Shopify\'s plan page, and the only trial is the 7-day trial on the Solo plan. `isNewInstall` is true only on that call, so the app can welcome a new install once. Shopify sends no subscription webhooks, so when the store\'s plan was last read from Shopify more than five minutes ago it is read again first (a slow Shopify never delays the answer by more than a few seconds). `seat` describes the caller\'s own place in the store. The first person to open a store holds its owner seat until the store\'s account owner opens the app, who then takes it; everybody else asks to join and waits for the account owner to approve them (`canUseWidgetic` is false and `message` says why). A person who cannot use Widgetic yet can still call this endpoint, so the app can tell them so; every other endpoint refuses them with `403` and `error.code` of `SEAT_REQUIRED`. Requires a Shopify session token (`Authorization: Bearer <App Bridge idToken>`). Any other credential receives `403`, because there is no store to describe.
|
|
86
|
+
* Get the store behind a Shopify session
|
|
87
|
+
*/
|
|
88
|
+
getShopifyTenant(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetShopifyTenant200Response>;
|
|
89
|
+
/**
|
|
90
|
+
* The store\'s account owner sees everyone who has opened the app for the store: the people waiting to be approved, the people approved who wait for a plan with room, the team, and the people who are out. Each comes with what the owner can do with them (`canApprove`, `canDecline`, `canRemove`), so the app shows the buttons that will work, and the totals (`seatsInUse`, `seatsFree`). The store\'s owner seat is listed first; it is the store\'s own and nothing can be done to it. A person suspended because the plan shrank has no seat in use and can be seated again once there is room. Only the store\'s account owner may read it (`403` and `error.code` of `ACCOUNT_OWNER_REQUIRED` otherwise). Requires a Shopify session token (`Authorization: Bearer <App Bridge idToken>`).
|
|
91
|
+
* List the people who use Widgetic for the store
|
|
92
|
+
*/
|
|
93
|
+
listShopifySeatsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListShopifySeats200Response>>;
|
|
94
|
+
/**
|
|
95
|
+
* The store\'s account owner sees everyone who has opened the app for the store: the people waiting to be approved, the people approved who wait for a plan with room, the team, and the people who are out. Each comes with what the owner can do with them (`canApprove`, `canDecline`, `canRemove`), so the app shows the buttons that will work, and the totals (`seatsInUse`, `seatsFree`). The store\'s owner seat is listed first; it is the store\'s own and nothing can be done to it. A person suspended because the plan shrank has no seat in use and can be seated again once there is room. Only the store\'s account owner may read it (`403` and `error.code` of `ACCOUNT_OWNER_REQUIRED` otherwise). Requires a Shopify session token (`Authorization: Bearer <App Bridge idToken>`).
|
|
96
|
+
* List the people who use Widgetic for the store
|
|
97
|
+
*/
|
|
98
|
+
listShopifySeats(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListShopifySeats200Response>;
|
|
99
|
+
/**
|
|
100
|
+
* Takes a person\'s seat away. They stop being able to use Widgetic for the store at once, and what they made there (compositions, widgets, canvases, A/B tests, translations and projects) stays with the store: it is handed to the store\'s owner account in the same step, so nothing embedded on the storefront goes dark with the person. Their credits and Teams features are taken back; their uploads stay theirs. They can be approved again later, and the seat is free for somebody else straight away. The seat\'s price does not change by itself: the merchant changes the plan on Shopify\'s plan page. Safe to repeat. Only the store\'s account owner may remove, and Shopify is asked to confirm it every time. Requires a Shopify session token (`Authorization: Bearer <App Bridge idToken>`).
|
|
101
|
+
* Remove a person from the store
|
|
102
|
+
*/
|
|
103
|
+
removeShopifySeatRaw(requestParameters: RemoveShopifySeatRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RemoveShopifySeat200Response>>;
|
|
104
|
+
/**
|
|
105
|
+
* Takes a person\'s seat away. They stop being able to use Widgetic for the store at once, and what they made there (compositions, widgets, canvases, A/B tests, translations and projects) stays with the store: it is handed to the store\'s owner account in the same step, so nothing embedded on the storefront goes dark with the person. Their credits and Teams features are taken back; their uploads stay theirs. They can be approved again later, and the seat is free for somebody else straight away. The seat\'s price does not change by itself: the merchant changes the plan on Shopify\'s plan page. Safe to repeat. Only the store\'s account owner may remove, and Shopify is asked to confirm it every time. Requires a Shopify session token (`Authorization: Bearer <App Bridge idToken>`).
|
|
106
|
+
* Remove a person from the store
|
|
107
|
+
*/
|
|
108
|
+
removeShopifySeat(requestParameters: RemoveShopifySeatRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RemoveShopifySeat200Response>;
|
|
109
|
+
/**
|
|
110
|
+
* Shopify App Pricing sends the app no subscription webhooks, so a plan the merchant just chose, changed or cancelled on Shopify\'s plan page is only known once it is read from Shopify. The app calls this when the merchant returns from that page (and again a moment later if the change has not shown up yet). The store\'s plan, credits and seats are brought in line with what Shopify reports, and the store is described exactly as `GET /shopify/tenant` does. Nothing in the request chooses a store or a plan: the store comes from the verified session, and the plan from Shopify. A read newer than ten seconds is not repeated. When Shopify cannot be reached right now the answer is still `200` with the plan as it was recorded and `sync.status` of `unavailable`, so the app can try again. Requires a Shopify session token (`Authorization: Bearer <App Bridge idToken>`). Any other credential receives `403`.
|
|
111
|
+
* Re-read the store\'s plan from Shopify
|
|
112
|
+
*/
|
|
113
|
+
syncShopifyBillingRaw(requestParameters: SyncShopifyBillingRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SyncShopifyBilling200Response>>;
|
|
114
|
+
/**
|
|
115
|
+
* Shopify App Pricing sends the app no subscription webhooks, so a plan the merchant just chose, changed or cancelled on Shopify\'s plan page is only known once it is read from Shopify. The app calls this when the merchant returns from that page (and again a moment later if the change has not shown up yet). The store\'s plan, credits and seats are brought in line with what Shopify reports, and the store is described exactly as `GET /shopify/tenant` does. Nothing in the request chooses a store or a plan: the store comes from the verified session, and the plan from Shopify. A read newer than ten seconds is not repeated. When Shopify cannot be reached right now the answer is still `200` with the plan as it was recorded and `sync.status` of `unavailable`, so the app can try again. Requires a Shopify session token (`Authorization: Bearer <App Bridge idToken>`). Any other credential receives `403`.
|
|
116
|
+
* Re-read the store\'s plan from Shopify
|
|
117
|
+
*/
|
|
118
|
+
syncShopifyBilling(requestParameters?: SyncShopifyBillingRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SyncShopifyBilling200Response>;
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* @export
|
|
122
|
+
*/
|
|
123
|
+
export declare const GetShopifySeatQuoteFrequencyEnum: {
|
|
124
|
+
readonly Monthly: "monthly";
|
|
125
|
+
readonly Yearly: "yearly";
|
|
126
|
+
};
|
|
127
|
+
export type GetShopifySeatQuoteFrequencyEnum = typeof GetShopifySeatQuoteFrequencyEnum[keyof typeof GetShopifySeatQuoteFrequencyEnum];
|
|
@@ -0,0 +1,331 @@
|
|
|
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
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
15
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
16
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
17
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
18
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
19
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
20
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
import * as runtime from '../runtime.js';
|
|
24
|
+
import { ApproveShopifySeat200ResponseFromJSON, CreateShopifyBuilderSession200ResponseFromJSON, CreateShopifyBuilderSessionRequestToJSON, DeclineShopifySeat200ResponseFromJSON, GetShopifySeatQuote200ResponseFromJSON, GetShopifyTenant200ResponseFromJSON, ListShopifySeats200ResponseFromJSON, RemoveShopifySeat200ResponseFromJSON, SyncShopifyBilling200ResponseFromJSON, } from '../models/index.js';
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export class ShopifyApi extends runtime.BaseAPI {
|
|
29
|
+
/**
|
|
30
|
+
* Lets a person who asked to join use Widgetic for the store. The person becomes a team member of the store under their own account (nobody signs up; the account is made for them) with the same features, credits and storage as any member of a Teams store. The credits are this period\'s, pro-rated from today, the way a member who joins a team on widgetic.com gets them. When the store\'s plan has no free seat the person is approved and waits (`outcome` of `awaiting_plan`): the store is not charged for anything, and they are seated as soon as a plan with room is recorded (the merchant chooses one on Shopify\'s plan page). `GET /shopify/billing/quote` says which plan that is. A person suspended because the plan shrank is not queued: there is `409` until a seat is free. Safe to repeat. If the person was seated but their credits and features could not be set up, the answer is `503` with `error.code` of `SHOPIFY_SEAT_RIGHTS_PENDING`; approve again. Only the store\'s account owner may approve, and Shopify is asked to confirm it every time: the recorded answer is not good enough for a change. Requires a Shopify session token (`Authorization: Bearer <App Bridge idToken>`).
|
|
31
|
+
* Approve a person for the store
|
|
32
|
+
*/
|
|
33
|
+
approveShopifySeatRaw(requestParameters, initOverrides) {
|
|
34
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
35
|
+
if (requestParameters['id'] == null) {
|
|
36
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling approveShopifySeat().');
|
|
37
|
+
}
|
|
38
|
+
const queryParameters = {};
|
|
39
|
+
const headerParameters = {};
|
|
40
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
41
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
42
|
+
const token = this.configuration.accessToken;
|
|
43
|
+
const tokenString = yield token("apiKeyAuth", []);
|
|
44
|
+
if (tokenString) {
|
|
45
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
const response = yield this.request({
|
|
49
|
+
path: `/shopify/seats/{id}/approve`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
|
|
50
|
+
method: 'POST',
|
|
51
|
+
headers: headerParameters,
|
|
52
|
+
query: queryParameters,
|
|
53
|
+
body: requestParameters['body'],
|
|
54
|
+
}, initOverrides);
|
|
55
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ApproveShopifySeat200ResponseFromJSON(jsonValue));
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Lets a person who asked to join use Widgetic for the store. The person becomes a team member of the store under their own account (nobody signs up; the account is made for them) with the same features, credits and storage as any member of a Teams store. The credits are this period\'s, pro-rated from today, the way a member who joins a team on widgetic.com gets them. When the store\'s plan has no free seat the person is approved and waits (`outcome` of `awaiting_plan`): the store is not charged for anything, and they are seated as soon as a plan with room is recorded (the merchant chooses one on Shopify\'s plan page). `GET /shopify/billing/quote` says which plan that is. A person suspended because the plan shrank is not queued: there is `409` until a seat is free. Safe to repeat. If the person was seated but their credits and features could not be set up, the answer is `503` with `error.code` of `SHOPIFY_SEAT_RIGHTS_PENDING`; approve again. Only the store\'s account owner may approve, and Shopify is asked to confirm it every time: the recorded answer is not good enough for a change. Requires a Shopify session token (`Authorization: Bearer <App Bridge idToken>`).
|
|
60
|
+
* Approve a person for the store
|
|
61
|
+
*/
|
|
62
|
+
approveShopifySeat(requestParameters, initOverrides) {
|
|
63
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
64
|
+
const response = yield this.approveShopifySeatRaw(requestParameters, initOverrides);
|
|
65
|
+
return yield response.value();
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Lets a person who is using the Shopify app (the store\'s owner, or a team member the owner approved) open the Widgetic builder already signed in, without creating an account. The account signed in is the one the verified person acts as: the store\'s owner account for the owner, the person\'s own member account for a team member. Nothing in the request chooses it. Returns a short-lived signed credential (`handoffToken`) for the site\'s sign-in landing page: open `<site>/auth/oauth-complete/shopify#os=<handoffToken>` (in the URL fragment, never the query string) and the site exchanges it for a session and continues to the builder. The response is a credential: it expires after `expiresInSeconds`, is sent with `Cache-Control: no-store`, and must not be logged or stored. Requires a Shopify session token (`Authorization: Bearer <App Bridge idToken>`). Any other credential receives `403`, and so does a person who has no working seat in the store yet (`error.code` of `SEAT_REQUIRED`). An account the Shopify app did not create for this store (for instance a store whose owner is an ordinary person\'s account) also receives `403`, because signing in as a real person\'s account would expose that person\'s other organizations.
|
|
70
|
+
* Sign the person using the app in to the Widgetic builder
|
|
71
|
+
*/
|
|
72
|
+
createShopifyBuilderSessionRaw(requestParameters, initOverrides) {
|
|
73
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
74
|
+
const queryParameters = {};
|
|
75
|
+
const headerParameters = {};
|
|
76
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
77
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
78
|
+
const token = this.configuration.accessToken;
|
|
79
|
+
const tokenString = yield token("apiKeyAuth", []);
|
|
80
|
+
if (tokenString) {
|
|
81
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
const response = yield this.request({
|
|
85
|
+
path: `/shopify/builder-session`,
|
|
86
|
+
method: 'POST',
|
|
87
|
+
headers: headerParameters,
|
|
88
|
+
query: queryParameters,
|
|
89
|
+
body: CreateShopifyBuilderSessionRequestToJSON(requestParameters['createShopifyBuilderSessionRequest']),
|
|
90
|
+
}, initOverrides);
|
|
91
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => CreateShopifyBuilderSession200ResponseFromJSON(jsonValue));
|
|
92
|
+
});
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* Lets a person who is using the Shopify app (the store\'s owner, or a team member the owner approved) open the Widgetic builder already signed in, without creating an account. The account signed in is the one the verified person acts as: the store\'s owner account for the owner, the person\'s own member account for a team member. Nothing in the request chooses it. Returns a short-lived signed credential (`handoffToken`) for the site\'s sign-in landing page: open `<site>/auth/oauth-complete/shopify#os=<handoffToken>` (in the URL fragment, never the query string) and the site exchanges it for a session and continues to the builder. The response is a credential: it expires after `expiresInSeconds`, is sent with `Cache-Control: no-store`, and must not be logged or stored. Requires a Shopify session token (`Authorization: Bearer <App Bridge idToken>`). Any other credential receives `403`, and so does a person who has no working seat in the store yet (`error.code` of `SEAT_REQUIRED`). An account the Shopify app did not create for this store (for instance a store whose owner is an ordinary person\'s account) also receives `403`, because signing in as a real person\'s account would expose that person\'s other organizations.
|
|
96
|
+
* Sign the person using the app in to the Widgetic builder
|
|
97
|
+
*/
|
|
98
|
+
createShopifyBuilderSession() {
|
|
99
|
+
return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
|
|
100
|
+
const response = yield this.createShopifyBuilderSessionRaw(requestParameters, initOverrides);
|
|
101
|
+
return yield response.value();
|
|
102
|
+
});
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Turns down a person who asked to join, or who was approved and waits for a plan with room. They are told the store owner did not approve them, and can be approved later. A person who already has a seat is removed (`DELETE /shopify/seats/{id}`), not declined. Safe to repeat. Only the store\'s account owner may decline, and Shopify is asked to confirm it every time. Requires a Shopify session token (`Authorization: Bearer <App Bridge idToken>`).
|
|
106
|
+
* Decline a person who asked to join
|
|
107
|
+
*/
|
|
108
|
+
declineShopifySeatRaw(requestParameters, initOverrides) {
|
|
109
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
110
|
+
if (requestParameters['id'] == null) {
|
|
111
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling declineShopifySeat().');
|
|
112
|
+
}
|
|
113
|
+
const queryParameters = {};
|
|
114
|
+
const headerParameters = {};
|
|
115
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
116
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
117
|
+
const token = this.configuration.accessToken;
|
|
118
|
+
const tokenString = yield token("apiKeyAuth", []);
|
|
119
|
+
if (tokenString) {
|
|
120
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
const response = yield this.request({
|
|
124
|
+
path: `/shopify/seats/{id}/decline`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
|
|
125
|
+
method: 'POST',
|
|
126
|
+
headers: headerParameters,
|
|
127
|
+
query: queryParameters,
|
|
128
|
+
body: requestParameters['body'],
|
|
129
|
+
}, initOverrides);
|
|
130
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => DeclineShopifySeat200ResponseFromJSON(jsonValue));
|
|
131
|
+
});
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* Turns down a person who asked to join, or who was approved and waits for a plan with room. They are told the store owner did not approve them, and can be approved later. A person who already has a seat is removed (`DELETE /shopify/seats/{id}`), not declined. Safe to repeat. Only the store\'s account owner may decline, and Shopify is asked to confirm it every time. Requires a Shopify session token (`Authorization: Bearer <App Bridge idToken>`).
|
|
135
|
+
* Decline a person who asked to join
|
|
136
|
+
*/
|
|
137
|
+
declineShopifySeat(requestParameters, initOverrides) {
|
|
138
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
139
|
+
const response = yield this.declineShopifySeatRaw(requestParameters, initOverrides);
|
|
140
|
+
return yield response.value();
|
|
141
|
+
});
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* Tells the store\'s account owner, before they add people, which plan would seat everybody, roughly what Shopify will charge today, and the credits each person would get. Nothing is charged and Shopify is not asked: the plan is the one on record, and every figure is an estimate (`isEstimate` is always true). Shopify shows the exact charge on its plan page, which is where the plan is changed (`planPageUrl`). The daily rate and the credits are worked out by the same code that prices a seat added to a team on widgetic.com, so the two never disagree. A store on a paid plan that moves to a bigger one pays the difference in price for the rest of the period it is in; a store with no plan, in its trial, or that cancelled pays the new plan\'s full price and its period starts now. Without `seats`, the quote is for the people in seats, the people already approved and waiting, and one more: what approving the next person needs. Only the store\'s account owner may read it (`403` and `error.code` of `ACCOUNT_OWNER_REQUIRED` otherwise). Requires a Shopify session token (`Authorization: Bearer <App Bridge idToken>`).
|
|
145
|
+
* Estimate what seating more people would cost
|
|
146
|
+
*/
|
|
147
|
+
getShopifySeatQuoteRaw(requestParameters, initOverrides) {
|
|
148
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
149
|
+
const queryParameters = {};
|
|
150
|
+
if (requestParameters['seats'] != null) {
|
|
151
|
+
queryParameters['seats'] = requestParameters['seats'];
|
|
152
|
+
}
|
|
153
|
+
if (requestParameters['frequency'] != null) {
|
|
154
|
+
queryParameters['frequency'] = requestParameters['frequency'];
|
|
155
|
+
}
|
|
156
|
+
const headerParameters = {};
|
|
157
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
158
|
+
const token = this.configuration.accessToken;
|
|
159
|
+
const tokenString = yield token("apiKeyAuth", []);
|
|
160
|
+
if (tokenString) {
|
|
161
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
const response = yield this.request({
|
|
165
|
+
path: `/shopify/billing/quote`,
|
|
166
|
+
method: 'GET',
|
|
167
|
+
headers: headerParameters,
|
|
168
|
+
query: queryParameters,
|
|
169
|
+
}, initOverrides);
|
|
170
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => GetShopifySeatQuote200ResponseFromJSON(jsonValue));
|
|
171
|
+
});
|
|
172
|
+
}
|
|
173
|
+
/**
|
|
174
|
+
* Tells the store\'s account owner, before they add people, which plan would seat everybody, roughly what Shopify will charge today, and the credits each person would get. Nothing is charged and Shopify is not asked: the plan is the one on record, and every figure is an estimate (`isEstimate` is always true). Shopify shows the exact charge on its plan page, which is where the plan is changed (`planPageUrl`). The daily rate and the credits are worked out by the same code that prices a seat added to a team on widgetic.com, so the two never disagree. A store on a paid plan that moves to a bigger one pays the difference in price for the rest of the period it is in; a store with no plan, in its trial, or that cancelled pays the new plan\'s full price and its period starts now. Without `seats`, the quote is for the people in seats, the people already approved and waiting, and one more: what approving the next person needs. Only the store\'s account owner may read it (`403` and `error.code` of `ACCOUNT_OWNER_REQUIRED` otherwise). Requires a Shopify session token (`Authorization: Bearer <App Bridge idToken>`).
|
|
175
|
+
* Estimate what seating more people would cost
|
|
176
|
+
*/
|
|
177
|
+
getShopifySeatQuote() {
|
|
178
|
+
return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
|
|
179
|
+
const response = yield this.getShopifySeatQuoteRaw(requestParameters, initOverrides);
|
|
180
|
+
return yield response.value();
|
|
181
|
+
});
|
|
182
|
+
}
|
|
183
|
+
/**
|
|
184
|
+
* Resolves the calling Shopify store to its Widgetic organization and reports the store\'s plan. The first call for a store provisions it: an organization and a system-created owner, with no sign-up and no free period: the store has no plan (`plan.hasChosenPlan` is false) until it picks one on Shopify\'s plan page, and the only trial is the 7-day trial on the Solo plan. `isNewInstall` is true only on that call, so the app can welcome a new install once. Shopify sends no subscription webhooks, so when the store\'s plan was last read from Shopify more than five minutes ago it is read again first (a slow Shopify never delays the answer by more than a few seconds). `seat` describes the caller\'s own place in the store. The first person to open a store holds its owner seat until the store\'s account owner opens the app, who then takes it; everybody else asks to join and waits for the account owner to approve them (`canUseWidgetic` is false and `message` says why). A person who cannot use Widgetic yet can still call this endpoint, so the app can tell them so; every other endpoint refuses them with `403` and `error.code` of `SEAT_REQUIRED`. Requires a Shopify session token (`Authorization: Bearer <App Bridge idToken>`). Any other credential receives `403`, because there is no store to describe.
|
|
185
|
+
* Get the store behind a Shopify session
|
|
186
|
+
*/
|
|
187
|
+
getShopifyTenantRaw(initOverrides) {
|
|
188
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
189
|
+
const queryParameters = {};
|
|
190
|
+
const headerParameters = {};
|
|
191
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
192
|
+
const token = this.configuration.accessToken;
|
|
193
|
+
const tokenString = yield token("apiKeyAuth", []);
|
|
194
|
+
if (tokenString) {
|
|
195
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
const response = yield this.request({
|
|
199
|
+
path: `/shopify/tenant`,
|
|
200
|
+
method: 'GET',
|
|
201
|
+
headers: headerParameters,
|
|
202
|
+
query: queryParameters,
|
|
203
|
+
}, initOverrides);
|
|
204
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => GetShopifyTenant200ResponseFromJSON(jsonValue));
|
|
205
|
+
});
|
|
206
|
+
}
|
|
207
|
+
/**
|
|
208
|
+
* Resolves the calling Shopify store to its Widgetic organization and reports the store\'s plan. The first call for a store provisions it: an organization and a system-created owner, with no sign-up and no free period: the store has no plan (`plan.hasChosenPlan` is false) until it picks one on Shopify\'s plan page, and the only trial is the 7-day trial on the Solo plan. `isNewInstall` is true only on that call, so the app can welcome a new install once. Shopify sends no subscription webhooks, so when the store\'s plan was last read from Shopify more than five minutes ago it is read again first (a slow Shopify never delays the answer by more than a few seconds). `seat` describes the caller\'s own place in the store. The first person to open a store holds its owner seat until the store\'s account owner opens the app, who then takes it; everybody else asks to join and waits for the account owner to approve them (`canUseWidgetic` is false and `message` says why). A person who cannot use Widgetic yet can still call this endpoint, so the app can tell them so; every other endpoint refuses them with `403` and `error.code` of `SEAT_REQUIRED`. Requires a Shopify session token (`Authorization: Bearer <App Bridge idToken>`). Any other credential receives `403`, because there is no store to describe.
|
|
209
|
+
* Get the store behind a Shopify session
|
|
210
|
+
*/
|
|
211
|
+
getShopifyTenant(initOverrides) {
|
|
212
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
213
|
+
const response = yield this.getShopifyTenantRaw(initOverrides);
|
|
214
|
+
return yield response.value();
|
|
215
|
+
});
|
|
216
|
+
}
|
|
217
|
+
/**
|
|
218
|
+
* The store\'s account owner sees everyone who has opened the app for the store: the people waiting to be approved, the people approved who wait for a plan with room, the team, and the people who are out. Each comes with what the owner can do with them (`canApprove`, `canDecline`, `canRemove`), so the app shows the buttons that will work, and the totals (`seatsInUse`, `seatsFree`). The store\'s owner seat is listed first; it is the store\'s own and nothing can be done to it. A person suspended because the plan shrank has no seat in use and can be seated again once there is room. Only the store\'s account owner may read it (`403` and `error.code` of `ACCOUNT_OWNER_REQUIRED` otherwise). Requires a Shopify session token (`Authorization: Bearer <App Bridge idToken>`).
|
|
219
|
+
* List the people who use Widgetic for the store
|
|
220
|
+
*/
|
|
221
|
+
listShopifySeatsRaw(initOverrides) {
|
|
222
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
223
|
+
const queryParameters = {};
|
|
224
|
+
const headerParameters = {};
|
|
225
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
226
|
+
const token = this.configuration.accessToken;
|
|
227
|
+
const tokenString = yield token("apiKeyAuth", []);
|
|
228
|
+
if (tokenString) {
|
|
229
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
const response = yield this.request({
|
|
233
|
+
path: `/shopify/seats`,
|
|
234
|
+
method: 'GET',
|
|
235
|
+
headers: headerParameters,
|
|
236
|
+
query: queryParameters,
|
|
237
|
+
}, initOverrides);
|
|
238
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ListShopifySeats200ResponseFromJSON(jsonValue));
|
|
239
|
+
});
|
|
240
|
+
}
|
|
241
|
+
/**
|
|
242
|
+
* The store\'s account owner sees everyone who has opened the app for the store: the people waiting to be approved, the people approved who wait for a plan with room, the team, and the people who are out. Each comes with what the owner can do with them (`canApprove`, `canDecline`, `canRemove`), so the app shows the buttons that will work, and the totals (`seatsInUse`, `seatsFree`). The store\'s owner seat is listed first; it is the store\'s own and nothing can be done to it. A person suspended because the plan shrank has no seat in use and can be seated again once there is room. Only the store\'s account owner may read it (`403` and `error.code` of `ACCOUNT_OWNER_REQUIRED` otherwise). Requires a Shopify session token (`Authorization: Bearer <App Bridge idToken>`).
|
|
243
|
+
* List the people who use Widgetic for the store
|
|
244
|
+
*/
|
|
245
|
+
listShopifySeats(initOverrides) {
|
|
246
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
247
|
+
const response = yield this.listShopifySeatsRaw(initOverrides);
|
|
248
|
+
return yield response.value();
|
|
249
|
+
});
|
|
250
|
+
}
|
|
251
|
+
/**
|
|
252
|
+
* Takes a person\'s seat away. They stop being able to use Widgetic for the store at once, and what they made there (compositions, widgets, canvases, A/B tests, translations and projects) stays with the store: it is handed to the store\'s owner account in the same step, so nothing embedded on the storefront goes dark with the person. Their credits and Teams features are taken back; their uploads stay theirs. They can be approved again later, and the seat is free for somebody else straight away. The seat\'s price does not change by itself: the merchant changes the plan on Shopify\'s plan page. Safe to repeat. Only the store\'s account owner may remove, and Shopify is asked to confirm it every time. Requires a Shopify session token (`Authorization: Bearer <App Bridge idToken>`).
|
|
253
|
+
* Remove a person from the store
|
|
254
|
+
*/
|
|
255
|
+
removeShopifySeatRaw(requestParameters, initOverrides) {
|
|
256
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
257
|
+
if (requestParameters['id'] == null) {
|
|
258
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling removeShopifySeat().');
|
|
259
|
+
}
|
|
260
|
+
const queryParameters = {};
|
|
261
|
+
const headerParameters = {};
|
|
262
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
263
|
+
const token = this.configuration.accessToken;
|
|
264
|
+
const tokenString = yield token("apiKeyAuth", []);
|
|
265
|
+
if (tokenString) {
|
|
266
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
const response = yield this.request({
|
|
270
|
+
path: `/shopify/seats/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
|
|
271
|
+
method: 'DELETE',
|
|
272
|
+
headers: headerParameters,
|
|
273
|
+
query: queryParameters,
|
|
274
|
+
}, initOverrides);
|
|
275
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => RemoveShopifySeat200ResponseFromJSON(jsonValue));
|
|
276
|
+
});
|
|
277
|
+
}
|
|
278
|
+
/**
|
|
279
|
+
* Takes a person\'s seat away. They stop being able to use Widgetic for the store at once, and what they made there (compositions, widgets, canvases, A/B tests, translations and projects) stays with the store: it is handed to the store\'s owner account in the same step, so nothing embedded on the storefront goes dark with the person. Their credits and Teams features are taken back; their uploads stay theirs. They can be approved again later, and the seat is free for somebody else straight away. The seat\'s price does not change by itself: the merchant changes the plan on Shopify\'s plan page. Safe to repeat. Only the store\'s account owner may remove, and Shopify is asked to confirm it every time. Requires a Shopify session token (`Authorization: Bearer <App Bridge idToken>`).
|
|
280
|
+
* Remove a person from the store
|
|
281
|
+
*/
|
|
282
|
+
removeShopifySeat(requestParameters, initOverrides) {
|
|
283
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
284
|
+
const response = yield this.removeShopifySeatRaw(requestParameters, initOverrides);
|
|
285
|
+
return yield response.value();
|
|
286
|
+
});
|
|
287
|
+
}
|
|
288
|
+
/**
|
|
289
|
+
* Shopify App Pricing sends the app no subscription webhooks, so a plan the merchant just chose, changed or cancelled on Shopify\'s plan page is only known once it is read from Shopify. The app calls this when the merchant returns from that page (and again a moment later if the change has not shown up yet). The store\'s plan, credits and seats are brought in line with what Shopify reports, and the store is described exactly as `GET /shopify/tenant` does. Nothing in the request chooses a store or a plan: the store comes from the verified session, and the plan from Shopify. A read newer than ten seconds is not repeated. When Shopify cannot be reached right now the answer is still `200` with the plan as it was recorded and `sync.status` of `unavailable`, so the app can try again. Requires a Shopify session token (`Authorization: Bearer <App Bridge idToken>`). Any other credential receives `403`.
|
|
290
|
+
* Re-read the store\'s plan from Shopify
|
|
291
|
+
*/
|
|
292
|
+
syncShopifyBillingRaw(requestParameters, initOverrides) {
|
|
293
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
294
|
+
const queryParameters = {};
|
|
295
|
+
const headerParameters = {};
|
|
296
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
297
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
298
|
+
const token = this.configuration.accessToken;
|
|
299
|
+
const tokenString = yield token("apiKeyAuth", []);
|
|
300
|
+
if (tokenString) {
|
|
301
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
const response = yield this.request({
|
|
305
|
+
path: `/shopify/billing/sync`,
|
|
306
|
+
method: 'POST',
|
|
307
|
+
headers: headerParameters,
|
|
308
|
+
query: queryParameters,
|
|
309
|
+
body: requestParameters['body'],
|
|
310
|
+
}, initOverrides);
|
|
311
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SyncShopifyBilling200ResponseFromJSON(jsonValue));
|
|
312
|
+
});
|
|
313
|
+
}
|
|
314
|
+
/**
|
|
315
|
+
* Shopify App Pricing sends the app no subscription webhooks, so a plan the merchant just chose, changed or cancelled on Shopify\'s plan page is only known once it is read from Shopify. The app calls this when the merchant returns from that page (and again a moment later if the change has not shown up yet). The store\'s plan, credits and seats are brought in line with what Shopify reports, and the store is described exactly as `GET /shopify/tenant` does. Nothing in the request chooses a store or a plan: the store comes from the verified session, and the plan from Shopify. A read newer than ten seconds is not repeated. When Shopify cannot be reached right now the answer is still `200` with the plan as it was recorded and `sync.status` of `unavailable`, so the app can try again. Requires a Shopify session token (`Authorization: Bearer <App Bridge idToken>`). Any other credential receives `403`.
|
|
316
|
+
* Re-read the store\'s plan from Shopify
|
|
317
|
+
*/
|
|
318
|
+
syncShopifyBilling() {
|
|
319
|
+
return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
|
|
320
|
+
const response = yield this.syncShopifyBillingRaw(requestParameters, initOverrides);
|
|
321
|
+
return yield response.value();
|
|
322
|
+
});
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
/**
|
|
326
|
+
* @export
|
|
327
|
+
*/
|
|
328
|
+
export const GetShopifySeatQuoteFrequencyEnum = {
|
|
329
|
+
Monthly: 'monthly',
|
|
330
|
+
Yearly: 'yearly'
|
|
331
|
+
};
|
|
@@ -10,11 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type {
|
|
14
|
-
export interface ApiV1SubscriptionsIdRefundPreviewPostOperationRequest {
|
|
15
|
-
id: string;
|
|
16
|
-
apiV1SubscriptionsIdRefundPreviewPostRequest?: ApiV1SubscriptionsIdRefundPreviewPostRequest;
|
|
17
|
-
}
|
|
13
|
+
import type { GetBillingReports200ResponseInner, MoveSubscriptionSurfaceRequest, NewSubscription, ProcessRefund200Response, RefundRequest, Subscription, SubscriptionsIdRefundPreviewPost200Response, SubscriptionsIdRefundPreviewPostRequest, UpdateSubscription } from '../models/index';
|
|
18
14
|
export interface CreateSubscriptionRequest {
|
|
19
15
|
newSubscription: NewSubscription;
|
|
20
16
|
}
|
|
@@ -47,6 +43,10 @@ export interface ProcessRefundRequest {
|
|
|
47
43
|
id: string;
|
|
48
44
|
refundRequest?: RefundRequest;
|
|
49
45
|
}
|
|
46
|
+
export interface SubscriptionsIdRefundPreviewPostOperationRequest {
|
|
47
|
+
id: string;
|
|
48
|
+
subscriptionsIdRefundPreviewPostRequest?: SubscriptionsIdRefundPreviewPostRequest;
|
|
49
|
+
}
|
|
50
50
|
export interface UpdateSubscriptionRequest {
|
|
51
51
|
id: string;
|
|
52
52
|
updateSubscription: UpdateSubscription;
|
|
@@ -55,16 +55,6 @@ export interface UpdateSubscriptionRequest {
|
|
|
55
55
|
*
|
|
56
56
|
*/
|
|
57
57
|
export declare class SubscriptionsApi extends runtime.BaseAPI {
|
|
58
|
-
/**
|
|
59
|
-
* Resolves the subscription\'s latest paid charge exactly as the refund endpoint does and returns the derived amount, the plan\'s credit rate and — for an organization subscription — the per-member clawback the refund would make, before any money moves. Writes nothing: no Stripe refund, no audit row, no idempotency entry. Every guard refusal the refund endpoint can raise is raised here identically, so a client can drive its confirm dialog off a successful preview.
|
|
60
|
-
* Preview this subscription\'s refund without issuing it (dry run)
|
|
61
|
-
*/
|
|
62
|
-
apiV1SubscriptionsIdRefundPreviewPostRaw(requestParameters: ApiV1SubscriptionsIdRefundPreviewPostOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiV1SubscriptionsIdRefundPreviewPost200Response>>;
|
|
63
|
-
/**
|
|
64
|
-
* Resolves the subscription\'s latest paid charge exactly as the refund endpoint does and returns the derived amount, the plan\'s credit rate and — for an organization subscription — the per-member clawback the refund would make, before any money moves. Writes nothing: no Stripe refund, no audit row, no idempotency entry. Every guard refusal the refund endpoint can raise is raised here identically, so a client can drive its confirm dialog off a successful preview.
|
|
65
|
-
* Preview this subscription\'s refund without issuing it (dry run)
|
|
66
|
-
*/
|
|
67
|
-
apiV1SubscriptionsIdRefundPreviewPost(requestParameters: ApiV1SubscriptionsIdRefundPreviewPostOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiV1SubscriptionsIdRefundPreviewPost200Response>;
|
|
68
58
|
/**
|
|
69
59
|
* Creates a new subscription. Admin only.
|
|
70
60
|
* Create subscription
|
|
@@ -116,12 +106,12 @@ export declare class SubscriptionsApi extends runtime.BaseAPI {
|
|
|
116
106
|
*/
|
|
117
107
|
getSubscriptionById(requestParameters: GetSubscriptionByIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Subscription>;
|
|
118
108
|
/**
|
|
119
|
-
* Retrieves all subscriptions for a specific user.
|
|
109
|
+
* Retrieves all subscriptions for a specific user. Administrators only. An account reads its own plan and billing state through `GET /billing/users/{userId}/subscription`.
|
|
120
110
|
* Get user subscriptions
|
|
121
111
|
*/
|
|
122
112
|
getSubscriptionsByUserIdRaw(requestParameters: GetSubscriptionsByUserIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<Subscription>>>;
|
|
123
113
|
/**
|
|
124
|
-
* Retrieves all subscriptions for a specific user.
|
|
114
|
+
* Retrieves all subscriptions for a specific user. Administrators only. An account reads its own plan and billing state through `GET /billing/users/{userId}/subscription`.
|
|
125
115
|
* Get user subscriptions
|
|
126
116
|
*/
|
|
127
117
|
getSubscriptionsByUserId(requestParameters: GetSubscriptionsByUserIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<Subscription>>;
|
|
@@ -145,6 +135,16 @@ export declare class SubscriptionsApi extends runtime.BaseAPI {
|
|
|
145
135
|
* Process refund
|
|
146
136
|
*/
|
|
147
137
|
processRefund(requestParameters: ProcessRefundRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProcessRefund200Response>;
|
|
138
|
+
/**
|
|
139
|
+
* Resolves the subscription\'s latest paid charge exactly as the refund endpoint does and returns the derived amount, the plan\'s credit rate and — for an organization subscription — the per-member clawback the refund would make, before any money moves. Writes nothing: no Stripe refund, no audit row, no idempotency entry. Every guard refusal the refund endpoint can raise is raised here identically, so a client can drive its confirm dialog off a successful preview.
|
|
140
|
+
* Preview this subscription\'s refund without issuing it (dry run)
|
|
141
|
+
*/
|
|
142
|
+
subscriptionsIdRefundPreviewPostRaw(requestParameters: SubscriptionsIdRefundPreviewPostOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SubscriptionsIdRefundPreviewPost200Response>>;
|
|
143
|
+
/**
|
|
144
|
+
* Resolves the subscription\'s latest paid charge exactly as the refund endpoint does and returns the derived amount, the plan\'s credit rate and — for an organization subscription — the per-member clawback the refund would make, before any money moves. Writes nothing: no Stripe refund, no audit row, no idempotency entry. Every guard refusal the refund endpoint can raise is raised here identically, so a client can drive its confirm dialog off a successful preview.
|
|
145
|
+
* Preview this subscription\'s refund without issuing it (dry run)
|
|
146
|
+
*/
|
|
147
|
+
subscriptionsIdRefundPreviewPost(requestParameters: SubscriptionsIdRefundPreviewPostOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SubscriptionsIdRefundPreviewPost200Response>;
|
|
148
148
|
/**
|
|
149
149
|
* Updates an existing subscription. Admin only.
|
|
150
150
|
* Update subscription
|