@shopvirge/shopvirge-client 0.6.1 → 0.7.0
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/README.md +2 -2
- package/dist/index.d.ts +78 -1
- package/dist/index.js +62 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -43,11 +43,11 @@ OpenAPI.HEADERS = {
|
|
|
43
43
|
Once configured, use the generated service functions to interact with the API:
|
|
44
44
|
|
|
45
45
|
```ts
|
|
46
|
-
import { OpenAPI,
|
|
46
|
+
import { OpenAPI, listMyShops } from '@shopvirge/shopvirge-client';
|
|
47
47
|
|
|
48
48
|
OpenAPI.BASE = 'https://api.shopvirge.com';
|
|
49
49
|
|
|
50
|
-
const shops = await
|
|
50
|
+
const shops = await listMyShops();
|
|
51
51
|
```
|
|
52
52
|
|
|
53
53
|
### Full configuration reference
|
package/dist/index.d.ts
CHANGED
|
@@ -4513,6 +4513,42 @@ declare const $ShopTypeName: {
|
|
|
4513
4513
|
readonly title: "ShopTypeName";
|
|
4514
4514
|
readonly type: "string";
|
|
4515
4515
|
};
|
|
4516
|
+
declare const $ShopTypeUpdate: {
|
|
4517
|
+
readonly description: "Body of the admin shop-type route; its own name keeps ``ShopType`` an output-only schema.";
|
|
4518
|
+
readonly properties: {
|
|
4519
|
+
readonly max_languages: {
|
|
4520
|
+
readonly title: "Max Languages";
|
|
4521
|
+
readonly type: "number";
|
|
4522
|
+
};
|
|
4523
|
+
readonly max_products: {
|
|
4524
|
+
readonly title: "Max Products";
|
|
4525
|
+
readonly type: "number";
|
|
4526
|
+
};
|
|
4527
|
+
readonly name: {
|
|
4528
|
+
readonly $ref: "#/components/schemas/ShopTypeName";
|
|
4529
|
+
};
|
|
4530
|
+
readonly stripe_access: {
|
|
4531
|
+
readonly title: "Stripe Access";
|
|
4532
|
+
readonly type: "boolean";
|
|
4533
|
+
};
|
|
4534
|
+
readonly trial_mode: {
|
|
4535
|
+
readonly title: "Trial Mode";
|
|
4536
|
+
readonly type: "boolean";
|
|
4537
|
+
};
|
|
4538
|
+
readonly trial_started: {
|
|
4539
|
+
readonly anyOf: readonly [{
|
|
4540
|
+
readonly format: "date-time";
|
|
4541
|
+
readonly type: "string";
|
|
4542
|
+
}, {
|
|
4543
|
+
readonly type: "null";
|
|
4544
|
+
}];
|
|
4545
|
+
readonly title: "Trial Started";
|
|
4546
|
+
};
|
|
4547
|
+
};
|
|
4548
|
+
readonly required: readonly ["max_languages", "max_products", "stripe_access", "trial_mode", "name"];
|
|
4549
|
+
readonly title: "ShopTypeUpdate";
|
|
4550
|
+
readonly type: "object";
|
|
4551
|
+
};
|
|
4516
4552
|
declare const $ShopUpdate: {
|
|
4517
4553
|
readonly properties: {
|
|
4518
4554
|
readonly allowed_ips: {
|
|
@@ -5836,6 +5872,17 @@ type ShopType = {
|
|
|
5836
5872
|
trial_started?: string | null;
|
|
5837
5873
|
};
|
|
5838
5874
|
type ShopTypeName = 'small' | 'business';
|
|
5875
|
+
/**
|
|
5876
|
+
* Body of the admin shop-type route; its own name keeps ``ShopType`` an output-only schema.
|
|
5877
|
+
*/
|
|
5878
|
+
type ShopTypeUpdate = {
|
|
5879
|
+
max_languages: number;
|
|
5880
|
+
max_products: number;
|
|
5881
|
+
name: ShopTypeName;
|
|
5882
|
+
stripe_access: boolean;
|
|
5883
|
+
trial_mode: boolean;
|
|
5884
|
+
trial_started?: string | null;
|
|
5885
|
+
};
|
|
5839
5886
|
type ShopUpdate = {
|
|
5840
5887
|
allowed_ips?: Array<string> | null;
|
|
5841
5888
|
description: string;
|
|
@@ -6746,6 +6793,11 @@ type GetRevisionData = {
|
|
|
6746
6793
|
shopId: string;
|
|
6747
6794
|
};
|
|
6748
6795
|
type GetRevisionResponse = RevisionDetail;
|
|
6796
|
+
type UpdateShopTypeData = {
|
|
6797
|
+
requestBody: ShopTypeUpdate;
|
|
6798
|
+
shopId: string;
|
|
6799
|
+
};
|
|
6800
|
+
type UpdateShopTypeResponse = ShopType;
|
|
6749
6801
|
type CreatePaymentIntentShopsShopIdStripePostData = {
|
|
6750
6802
|
orderId: string;
|
|
6751
6803
|
shopId: string;
|
|
@@ -8615,6 +8667,21 @@ type $OpenApiTs = {
|
|
|
8615
8667
|
};
|
|
8616
8668
|
};
|
|
8617
8669
|
};
|
|
8670
|
+
'/shops/{shop_id}/shop-type': {
|
|
8671
|
+
put: {
|
|
8672
|
+
req: UpdateShopTypeData;
|
|
8673
|
+
res: {
|
|
8674
|
+
/**
|
|
8675
|
+
* Successful Response
|
|
8676
|
+
*/
|
|
8677
|
+
200: ShopType;
|
|
8678
|
+
/**
|
|
8679
|
+
* Validation Error
|
|
8680
|
+
*/
|
|
8681
|
+
422: HTTPValidationError;
|
|
8682
|
+
};
|
|
8683
|
+
};
|
|
8684
|
+
};
|
|
8618
8685
|
'/shops/{shop_id}/stripe/': {
|
|
8619
8686
|
post: {
|
|
8620
8687
|
req: CreatePaymentIntentShopsShopIdStripePostData;
|
|
@@ -10098,6 +10165,16 @@ declare const listShopRevisions: (data: ListShopRevisionsData) => CancelableProm
|
|
|
10098
10165
|
* @throws ApiError
|
|
10099
10166
|
*/
|
|
10100
10167
|
declare const getRevision: (data: GetRevisionData) => CancelablePromise<GetRevisionResponse>;
|
|
10168
|
+
/**
|
|
10169
|
+
* Set shop type
|
|
10170
|
+
* Replace the shop's type: the plan name, trial mode, language and product limits and Stripe access. A new shop starts as a one-language trial until this route provisions its plan.
|
|
10171
|
+
* @param data The data for the request.
|
|
10172
|
+
* @param data.shopId
|
|
10173
|
+
* @param data.requestBody
|
|
10174
|
+
* @returns ShopType Successful Response
|
|
10175
|
+
* @throws ApiError
|
|
10176
|
+
*/
|
|
10177
|
+
declare const updateShopType: (data: UpdateShopTypeData) => CancelablePromise<UpdateShopTypeResponse>;
|
|
10101
10178
|
/**
|
|
10102
10179
|
* Create payment intent
|
|
10103
10180
|
* Create a Stripe PaymentIntent for a one-time purchase. Uses the shop's own `stripe_secret_key` and the total saved on the order. Returns a `clientSecret` to complete the payment on the frontend.
|
|
@@ -10233,4 +10310,4 @@ declare const listTrashShopsShopIdTrashGet: (data: ListTrashShopsShopIdTrashGetD
|
|
|
10233
10310
|
*/
|
|
10234
10311
|
declare const formTestFormsPost: (data?: FormTestFormsPostData) => CancelablePromise<FormTestFormsPostResponse>;
|
|
10235
10312
|
|
|
10236
|
-
export { $AccountCreate, $AccountSchema, $AccountUpdate, $AdminAccountSchema, $ApiKeyCreate, $ApiKeyCreated, $ApiKeyRead, $AttributeCreate, $AttributeOptionCreate, $AttributeOptionSchema, $AttributeOptionUpdate, $AttributeSchema, $AttributeTranslationBase, $AttributeUpdate, $AttributeWithOptionsSchema, $AvailableAttributeSchema, $AvailableOptionSchema, $Cart, $CategoryCreate, $CategoryImageDelete, $CategorySchema, $CategoryTranslationBase, $CategoryTranslationUpdate, $CategoryUpdate, $ConfigurationContact, $ConfigurationLanguageFieldMenuItems, $ConfigurationLanguageFieldStaticTexts, $ConfigurationLanguageFields, $ConfigurationLanguages, $ConfigurationLegal, $ConfigurationOrderStatusMails, $ConfigurationShipping_Input, $ConfigurationShipping_Output, $ConfigurationV1_Input, $ConfigurationV1_Output, $DefaultPrice, $EarlyAccessCreate, $FaqCreate, $FaqCreated, $FaqSchema, $FaqUpdate, $FaqUpdated, $HTTPValidationError, $Lang, $LicenseCreate, $LicenseSchema, $LicenseUpdate, $LinkStripeBody, $MyShopsResponse, type $OpenApiTs, $OrderCreate, $OrderCreated, $OrderItemCreate, $OrderItem_Input, $OrderItem_Output, $OrderQuote, $OrderQuoteRequest, $OrderSchema, $OrderStatusUpdate, $OrderUpdated, $ProductAttributeItem, $ProductAttributeOptionSelectionAdd, $ProductAttributeOptionSelectionReplace, $ProductAttributeValueSchema, $ProductCreate, $ProductResponse, $ProductToTagCreate, $ProductToTagSchema, $ProductToTagUpdate, $ProductTranslationBase, $ProductTranslationCreate, $ProductTranslationUpdate, $ProductUpdate, $ProductWithAttributes, $ProductWithDefaultPrice, $ProductWithDetailsAndPrices, $RestoreReport, $ResurrectedEntity, $RevisionDetail, $RevisionSummary, $ShippingCalculateRequest, $ShippingCalculation, $ShippingLine, $ShopCacheStatus, $ShopConfig, $ShopConfigUpdate_Input, $ShopConfigUpdate_Output, $ShopCreate, $ShopIp, $ShopLastCompletedOrder, $ShopLastPendingOrder, $ShopSchema, $ShopType, $ShopTypeName, $ShopUpdate, $ShopWithPrices, $SyncStripeResponse, $TagCreate, $TagSchema, $TagTranslationBase, $TagUpdate, $Toggles, $TrashItem, $UnresolvedReference, $ValidationError, type AccountCreate, type AccountSchema, type AccountUpdate, type AddNewIpShopsAllowedIpsShopIdPostData, type AddNewIpShopsAllowedIpsShopIdPostResponse, type AddProductAttributeOptionsData, type AddProductAttributeOptionsResponse, type AdminAccountSchema, ApiError, type ApiKeyCreate, type ApiKeyCreated, type ApiKeyRead, type AttributeCreate, type AttributeOptionCreate, type AttributeOptionSchema, type AttributeOptionUpdate, type AttributeSchema, type AttributeTranslationBase, type AttributeUpdate, type AttributeWithOptionsSchema, type AvailableAttributeSchema, type AvailableOptionSchema, type CalculateShippingCalculatePostData, type CalculateShippingCalculatePostResponse, CancelError, type CancelSubscriptionShopsShopIdStripeSubscriptionSubscriptionIdDeleteData, type CancelSubscriptionShopsShopIdStripeSubscriptionSubscriptionIdDeleteResponse, CancelablePromise, type Cart, type CategoryCreate, type CategoryImageDelete, type CategorySchema, type CategoryTranslationBase, type CategoryTranslationUpdate, type CategoryUpdate, type CheckOrdersCheckIdsGetData, type CheckOrdersCheckIdsGetResponse, type ConfigurationContact, type ConfigurationLanguageFieldMenuItems, type ConfigurationLanguageFieldStaticTexts, type ConfigurationLanguageFields, type ConfigurationLanguages, type ConfigurationLegal, type ConfigurationOrderStatusMails, type ConfigurationShipping_Input, type ConfigurationShipping_Output, type ConfigurationV1_Input, type ConfigurationV1_Output, type CreateAttributeData, type CreateAttributeOptionData, type CreateAttributeOptionResponse, type CreateAttributeResponse, type CreateCategoryData, type CreateCategoryResponse, type CreateEarlyAccessPostData, type CreateEarlyAccessPostResponse, type CreateFaqPostData, type CreateFaqPostResponse, type CreateLicensesPostData, type CreateLicensesPostResponse, type CreateOrdersPostData, type CreateOrdersPostResponse, type CreatePaymentIntentShopsShopIdStripePostData, type CreatePaymentIntentShopsShopIdStripePostResponse, type CreateProductData, type CreateProductResponse, type CreateProductToTagData, type CreateProductToTagResponse, type CreateShopsPostData, type CreateShopsPostResponse, type CreateShopsShopIdAccountsPostData, type CreateShopsShopIdAccountsPostResponse, type CreateSubscriptionIntentShopsShopIdStripeSubscriptionPostData, type CreateSubscriptionIntentShopsShopIdStripeSubscriptionPostResponse, type CreateTagData, type CreateTagResponse, type DefaultPrice, type DeleteAttributeData, type DeleteAttributeOptionData, type DeleteAttributeOptionResponse, type DeleteAttributeResponse, type DeleteCategoryData, type DeleteCategoryResponse, type DeleteFaqFaqIdDeleteData, type DeleteFaqFaqIdDeleteResponse, type DeleteImageShopsShopIdCategoriesImagesDeleteIdPutData, type DeleteImageShopsShopIdCategoriesImagesDeleteIdPutResponse, type DeleteLicensesIdDeleteData, type DeleteLicensesIdDeleteResponse, type DeleteOrdersOrderIdDeleteData, type DeleteOrdersOrderIdDeleteResponse, type DeleteProductData, type DeleteProductResponse, type DeleteProductToTagData, type DeleteProductToTagResponse, type DeleteShopsShopIdAccountsAccountIdDeleteData, type DeleteShopsShopIdAccountsAccountIdDeleteResponse, type DeleteShopsShopIdDeleteData, type DeleteShopsShopIdDeleteResponse, type DeleteTagData, type DeleteTagResponse, type DeleteTemporaryImagesImagesDeleteTempPostResponse, type EarlyAccessCreate, type EditLicensesIdPutData, type EditLicensesIdPutResponse, type FaqCreate, type FaqCreated, type FaqSchema, type FaqUpdate, type FaqUpdated, type FormInfoRequestFormPostData, type FormInfoRequestFormPostResponse, type FormTestFormsPostData, type FormTestFormsPostResponse, type GetAccountAdminAccountsIdGetData, type GetAccountAdminAccountsIdGetResponse, type GetAllowedIpsShopsAllowedIpsShopIdGetData, type GetAllowedIpsShopsAllowedIpsShopIdGetResponse, type GetAttributeData, type GetAttributeOptionData, type GetAttributeOptionResponse, type GetAttributeResponse, type GetAvailableAttributesShopsShopIdCategoriesCategoryIdAvailableAttributesGetData, type GetAvailableAttributesShopsShopIdCategoriesCategoryIdAvailableAttributesGetResponse, type GetByIdFaqIdGetData, type GetByIdFaqIdGetResponse, type GetByIdLicensesIdGetData, type GetByIdLicensesIdGetResponse, type GetByIdOrdersIdGetData, type GetByIdOrdersIdGetResponse, type GetByIdShopsShopIdAccountsIdGetData, type GetByIdShopsShopIdAccountsIdGetResponse, type GetByIdShopsShopIdCategoriesImagesIdGetData, type GetByIdShopsShopIdCategoriesImagesIdGetResponse, type GetByIdShopsShopIdGetData, type GetByIdShopsShopIdGetResponse, type GetByIdWithOptionsDirectShopsShopIdAttributesAttributeIdWithOptionsGetData, type GetByIdWithOptionsDirectShopsShopIdAttributesAttributeIdWithOptionsGetResponse, type GetByIdWithOptionsShopsShopIdAttributesIdAttributeIdWithOptionsGetData, type GetByIdWithOptionsShopsShopIdAttributesIdAttributeIdWithOptionsGetResponse, type GetByImproviserUserIdLicensesImproviserImproviserUserIdGetData, type GetByImproviserUserIdLicensesImproviserImproviserUserIdGetResponse, type GetByNameShopsShopIdAttributesNameNameGetData, type GetByNameShopsShopIdAttributesNameNameGetResponse, type GetByNameShopsShopIdCategoriesNameNameGetData, type GetByNameShopsShopIdCategoriesNameNameGetResponse, type GetByNameShopsShopIdTagsNameNameGetData, type GetByNameShopsShopIdTagsNameNameGetResponse, type GetCacheStatusShopsCacheStatusShopIdGetData, type GetCacheStatusShopsCacheStatusShopIdGetResponse, type GetCartProductsShopsShopIdPricesPostData, type GetCartProductsShopsShopIdPricesPostResponse, type GetCategoryData, type GetCategoryProductsShopsShopIdCategoriesCategoryIdProductsGetData, type GetCategoryProductsShopsShopIdCategoriesCategoryIdProductsGetResponse, type GetCategoryResponse, type GetConfigShopsConfigShopIdGetData, type GetConfigShopsConfigShopIdGetResponse, type GetFormsFormsGetResponse, type GetHealthHealthGetResponse, type GetLastCompletedOrderShopsLastCompletedOrderShopIdGetData, type GetLastCompletedOrderShopsLastCompletedOrderShopIdGetResponse, type GetLastPendingOrderShopsLastPendingOrderShopIdGetData, type GetLastPendingOrderShopsLastPendingOrderShopIdGetResponse, type GetMultiFaqGetData, type GetMultiFaqGetResponse, type GetMultiLicensesGetData, type GetMultiLicensesGetResponse, type GetMultiOrdersGetData, type GetMultiOrdersGetResponse, type GetMultiShopsGetData, type GetMultiShopsGetResponse, type GetMultiShopsShopIdAccountsGetData, type GetMultiShopsShopIdAccountsGetResponse, type GetMultiShopsShopIdCategoriesImagesGetData, type GetMultiShopsShopIdCategoriesImagesGetResponse, type GetMultiWithAttributesShopsShopIdProductsWithAttributesGetData, type GetMultiWithAttributesShopsShopIdProductsWithAttributesGetResponse, type GetOrderProductsInStockOrdersStockOrderIdGetData, type GetOrderProductsInStockOrdersStockOrderIdGetResponse, type GetProductAttributesData, type GetProductAttributesResponse, type GetProductData, type GetProductResponse, type GetProductRevisionData, type GetProductRevisionResponse, type GetProductToTagData, type GetProductToTagRelationIdData, type GetProductToTagRelationIdResponse, type GetProductToTagResponse, type GetProductsShopsShopIdPricesGetData, type GetProductsShopsShopIdPricesGetResponse, type GetRevisionData, type GetRevisionResponse, type GetSignedDownloadLinkDownloadsFileNameGetData, type GetSignedDownloadLinkDownloadsFileNameGetResponse, type GetSignedUploadUrlShopsShopIdImagesSignedUrlImageNameGetData, type GetSignedUploadUrlShopsShopIdImagesSignedUrlImageNameGetResponse, type GetSignedUrlImagesSignedUrlImageNameGetData, type GetSignedUrlImagesSignedUrlImageNameGetResponse, type GetStripeCustomerAdminAccountsIdStripeCustomerGetData, type GetStripeCustomerAdminAccountsIdStripeCustomerGetResponse, type GetTagData, type GetTagResponse, type GetWithOptionsShopsShopIdAttributesWithOptionsGetData, type GetWithOptionsShopsShopIdAttributesWithOptionsGetResponse, type HTTPValidationError, type Lang, type LicenseCreate, type LicenseSchema, type LicenseUpdate, type LinkStripeAdminAccountsIdLinkStripePostData, type LinkStripeAdminAccountsIdLinkStripePostResponse, type LinkStripeBody, type ListAccountsAdminAccountsGetData, type ListAccountsAdminAccountsGetResponse, type ListAttributeOptionsData, type ListAttributeOptionsResponse, type ListAttributesData, type ListAttributesResponse, type ListCategoriesData, type ListCategoriesResponse, type ListCategoryRevisionsShopsShopIdCategoriesCategoryIdRevisionsGetData, type ListCategoryRevisionsShopsShopIdCategoriesCategoryIdRevisionsGetResponse, type ListCompleteOrdersData, type ListCompleteOrdersResponse, type ListKeysShopsShopIdApiKeysGetData, type ListKeysShopsShopIdApiKeysGetResponse, type ListMyShopsResponse, type ListPendingOrdersData, type ListPendingOrdersResponse, type ListProductRevisionsData, type ListProductRevisionsResponse, type ListProductToTagsData, type ListProductToTagsResponse, type ListProductsData, type ListProductsResponse, type ListShopRevisionsData, type ListShopRevisionsResponse, type ListTagsData, type ListTagsResponse, type ListTrashShopsShopIdTrashGetData, type ListTrashShopsShopIdTrashGetResponse, type MintShopsShopIdApiKeysPostData, type MintShopsShopIdApiKeysPostResponse, type MoveImagesImagesMovePostResponse, type MyShopsResponse, type NewFormFormsFormKeyPostData, type NewFormFormsFormKeyPostResponse, OpenAPI, type OpenAPIConfig, type OrderCreate, type OrderCreated, type OrderItemCreate, type OrderItem_Input, type OrderItem_Output, type OrderQuote, type OrderQuoteRequest, type OrderSchema, type OrderStatusUpdate, type OrderUpdated, type PatchOrdersOrderIdPatchData, type PatchOrdersOrderIdPatchResponse, type ProductAttributeItem, type ProductAttributeOptionSelectionAdd, type ProductAttributeOptionSelectionReplace, type ProductAttributeValueSchema, type ProductAttributeValuesDeleteData, type ProductAttributeValuesDeleteResponse, type ProductAttributeValuesGetData, type ProductAttributeValuesGetResponse, type ProductAttributeValuesListData, type ProductAttributeValuesListResponse, type ProductAttributeValuesReplaceForProductData, type ProductAttributeValuesReplaceForProductResponse, type ProductCreate, type ProductResponse, type ProductToTagCreate, type ProductToTagSchema, type ProductToTagUpdate, type ProductTranslationBase, type ProductTranslationCreate, type ProductTranslationUpdate, type ProductUpdate, type ProductWithAttributes, type ProductWithDefaultPrice, type ProductWithDetailsAndPrices, type PutShopsShopIdCategoriesImagesIdPutData, type PutShopsShopIdCategoriesImagesIdPutResponse, type QuoteOrdersQuotePostData, type QuoteOrdersQuotePostResponse, type RemoveIpShopsAllowedIpsShopIdRemovePostData, type RemoveIpShopsAllowedIpsShopIdRemovePostResponse, type RestoreAttributeData, type RestoreAttributeResponse, type RestoreAttributeRevisionData, type RestoreAttributeRevisionResponse, type RestoreCategoryData, type RestoreCategoryResponse, type RestoreCategoryRevisionData, type RestoreCategoryRevisionResponse, type RestoreProductData, type RestoreProductResponse, type RestoreProductRevisionData, type RestoreProductRevisionResponse, type RestoreReport, type RestoreTagData, type RestoreTagResponse, type RestoreTagRevisionData, type RestoreTagRevisionResponse, type ResurrectedEntity, type RevisionDetail, type RevisionSummary, type RevokeShopsShopIdApiKeysKeyIdDeleteData, type RevokeShopsShopIdApiKeysKeyIdDeleteResponse, type SendDownloadLinkViaEmailDownloadsSendPostData, type SendDownloadLinkViaEmailDownloadsSendPostResponse, type ShippingCalculateRequest, type ShippingCalculation, type ShippingLine, type ShopCacheStatus, type ShopConfig, type ShopConfigUpdate_Input, type ShopConfigUpdate_Output, type ShopCreate, type ShopIp, type ShopLastCompletedOrder, type ShopLastPendingOrder, type ShopSchema, type ShopType, type ShopTypeName, type ShopUpdate, type ShopWithPrices, type SwapShopsShopIdCategoriesCategoryIdSwapPutData, type SwapShopsShopIdCategoriesCategoryIdSwapPutResponse, type SwapShopsShopIdProductsProductIdSwapPutData, type SwapShopsShopIdProductsProductIdSwapPutResponse, type SyncStripeAdminAccountsIdSyncStripePostData, type SyncStripeAdminAccountsIdSyncStripePostResponse, type SyncStripeResponse, type TagCreate, type TagSchema, type TagTranslationBase, type TagUpdate, type Toggles, type TrashItem, type TriggerErrorSentryGetData, type TriggerErrorSentryGetResponse, type UnresolvedReference, type UpdateAttributeData, type UpdateAttributeOptionData, type UpdateAttributeOptionResponse, type UpdateAttributeResponse, type UpdateCategoryData, type UpdateCategoryResponse, type UpdateConfigShopsConfigShopIdPutData, type UpdateConfigShopsConfigShopIdPutResponse, type UpdateFaqFaqIdPutData, type UpdateFaqFaqIdPutResponse, type UpdateOrdersOrderIdPutData, type UpdateOrdersOrderIdPutResponse, type UpdateProductData, type UpdateProductResponse, type UpdateProductToTagData, type UpdateProductToTagResponse, type UpdateShopsShopIdAccountsAccountIdPutData, type UpdateShopsShopIdAccountsAccountIdPutResponse, type UpdateShopsShopIdPutData, type UpdateShopsShopIdPutResponse, type UpdateTagData, type UpdateTagResponse, type ValidationError, addNewIpShopsAllowedIpsShopIdPost, addProductAttributeOptions, calculateShippingCalculatePost, cancelSubscriptionShopsShopIdStripeSubscriptionSubscriptionIdDelete, checkOrdersCheckIdsGet, createAttribute, createAttributeOption, createCategory, createEarlyAccessPost, createFaqPost, createLicensesPost, createOrdersPost, createPaymentIntentShopsShopIdStripePost, createProduct, createProductToTag, createShopsPost, createShopsShopIdAccountsPost, createSubscriptionIntentShopsShopIdStripeSubscriptionPost, createTag, deleteAttribute, deleteAttributeOption, deleteCategory, deleteFaqFaqIdDelete, deleteImageShopsShopIdCategoriesImagesDeleteIdPut, deleteLicensesIdDelete, deleteOrdersOrderIdDelete, deleteProduct, deleteProductToTag, deleteShopsShopIdAccountsAccountIdDelete, deleteShopsShopIdDelete, deleteTag, deleteTemporaryImagesImagesDeleteTempPost, editLicensesIdPut, formInfoRequestFormPost, formTestFormsPost, getAccountAdminAccountsIdGet, getAllowedIpsShopsAllowedIpsShopIdGet, getAttribute, getAttributeOption, getAvailableAttributesShopsShopIdCategoriesCategoryIdAvailableAttributesGet, getByIdFaqIdGet, getByIdLicensesIdGet, getByIdOrdersIdGet, getByIdShopsShopIdAccountsIdGet, getByIdShopsShopIdCategoriesImagesIdGet, getByIdShopsShopIdGet, getByIdWithOptionsDirectShopsShopIdAttributesAttributeIdWithOptionsGet, getByIdWithOptionsShopsShopIdAttributesIdAttributeIdWithOptionsGet, getByImproviserUserIdLicensesImproviserImproviserUserIdGet, getByNameShopsShopIdAttributesNameNameGet, getByNameShopsShopIdCategoriesNameNameGet, getByNameShopsShopIdTagsNameNameGet, getCacheStatusShopsCacheStatusShopIdGet, getCartProductsShopsShopIdPricesPost, getCategory, getCategoryProductsShopsShopIdCategoriesCategoryIdProductsGet, getConfigShopsConfigShopIdGet, getFormsFormsGet, getHealthHealthGet, getLastCompletedOrderShopsLastCompletedOrderShopIdGet, getLastPendingOrderShopsLastPendingOrderShopIdGet, getMultiFaqGet, getMultiLicensesGet, getMultiOrdersGet, getMultiShopsGet, getMultiShopsShopIdAccountsGet, getMultiShopsShopIdCategoriesImagesGet, getMultiWithAttributesShopsShopIdProductsWithAttributesGet, getOrderProductsInStockOrdersStockOrderIdGet, getProduct, getProductAttributes, getProductRevision, getProductToTag, getProductToTagRelationId, getProductsShopsShopIdPricesGet, getRevision, getSignedDownloadLinkDownloadsFileNameGet, getSignedUploadUrlShopsShopIdImagesSignedUrlImageNameGet, getSignedUrlImagesSignedUrlImageNameGet, getStripeCustomerAdminAccountsIdStripeCustomerGet, getTag, getWithOptionsShopsShopIdAttributesWithOptionsGet, linkStripeAdminAccountsIdLinkStripePost, listAccountsAdminAccountsGet, listAttributeOptions, listAttributes, listCategories, listCategoryRevisionsShopsShopIdCategoriesCategoryIdRevisionsGet, listCompleteOrders, listKeysShopsShopIdApiKeysGet, listMyShops, listPendingOrders, listProductRevisions, listProductToTags, listProducts, listShopRevisions, listTags, listTrashShopsShopIdTrashGet, mintShopsShopIdApiKeysPost, moveImagesImagesMovePost, newFormFormsFormKeyPost, patchOrdersOrderIdPatch, type plan, productAttributeValuesDelete, productAttributeValuesGet, productAttributeValuesList, productAttributeValuesReplaceForProduct, putShopsShopIdCategoriesImagesIdPut, quoteOrdersQuotePost, removeIpShopsAllowedIpsShopIdRemovePost, restoreAttribute, restoreAttributeRevision, restoreCategory, restoreCategoryRevision, restoreProduct, restoreProductRevision, restoreTag, restoreTagRevision, revokeShopsShopIdApiKeysKeyIdDelete, sendDownloadLinkViaEmailDownloadsSendPost, swapShopsShopIdCategoriesCategoryIdSwapPut, swapShopsShopIdProductsProductIdSwapPut, syncStripeAdminAccountsIdSyncStripePost, triggerErrorSentryGet, updateAttribute, updateAttributeOption, updateCategory, updateConfigShopsConfigShopIdPut, updateFaqFaqIdPut, updateOrdersOrderIdPut, updateProduct, updateProductToTag, updateShopsShopIdAccountsAccountIdPut, updateShopsShopIdPut, updateTag };
|
|
10313
|
+
export { $AccountCreate, $AccountSchema, $AccountUpdate, $AdminAccountSchema, $ApiKeyCreate, $ApiKeyCreated, $ApiKeyRead, $AttributeCreate, $AttributeOptionCreate, $AttributeOptionSchema, $AttributeOptionUpdate, $AttributeSchema, $AttributeTranslationBase, $AttributeUpdate, $AttributeWithOptionsSchema, $AvailableAttributeSchema, $AvailableOptionSchema, $Cart, $CategoryCreate, $CategoryImageDelete, $CategorySchema, $CategoryTranslationBase, $CategoryTranslationUpdate, $CategoryUpdate, $ConfigurationContact, $ConfigurationLanguageFieldMenuItems, $ConfigurationLanguageFieldStaticTexts, $ConfigurationLanguageFields, $ConfigurationLanguages, $ConfigurationLegal, $ConfigurationOrderStatusMails, $ConfigurationShipping_Input, $ConfigurationShipping_Output, $ConfigurationV1_Input, $ConfigurationV1_Output, $DefaultPrice, $EarlyAccessCreate, $FaqCreate, $FaqCreated, $FaqSchema, $FaqUpdate, $FaqUpdated, $HTTPValidationError, $Lang, $LicenseCreate, $LicenseSchema, $LicenseUpdate, $LinkStripeBody, $MyShopsResponse, type $OpenApiTs, $OrderCreate, $OrderCreated, $OrderItemCreate, $OrderItem_Input, $OrderItem_Output, $OrderQuote, $OrderQuoteRequest, $OrderSchema, $OrderStatusUpdate, $OrderUpdated, $ProductAttributeItem, $ProductAttributeOptionSelectionAdd, $ProductAttributeOptionSelectionReplace, $ProductAttributeValueSchema, $ProductCreate, $ProductResponse, $ProductToTagCreate, $ProductToTagSchema, $ProductToTagUpdate, $ProductTranslationBase, $ProductTranslationCreate, $ProductTranslationUpdate, $ProductUpdate, $ProductWithAttributes, $ProductWithDefaultPrice, $ProductWithDetailsAndPrices, $RestoreReport, $ResurrectedEntity, $RevisionDetail, $RevisionSummary, $ShippingCalculateRequest, $ShippingCalculation, $ShippingLine, $ShopCacheStatus, $ShopConfig, $ShopConfigUpdate_Input, $ShopConfigUpdate_Output, $ShopCreate, $ShopIp, $ShopLastCompletedOrder, $ShopLastPendingOrder, $ShopSchema, $ShopType, $ShopTypeName, $ShopTypeUpdate, $ShopUpdate, $ShopWithPrices, $SyncStripeResponse, $TagCreate, $TagSchema, $TagTranslationBase, $TagUpdate, $Toggles, $TrashItem, $UnresolvedReference, $ValidationError, type AccountCreate, type AccountSchema, type AccountUpdate, type AddNewIpShopsAllowedIpsShopIdPostData, type AddNewIpShopsAllowedIpsShopIdPostResponse, type AddProductAttributeOptionsData, type AddProductAttributeOptionsResponse, type AdminAccountSchema, ApiError, type ApiKeyCreate, type ApiKeyCreated, type ApiKeyRead, type AttributeCreate, type AttributeOptionCreate, type AttributeOptionSchema, type AttributeOptionUpdate, type AttributeSchema, type AttributeTranslationBase, type AttributeUpdate, type AttributeWithOptionsSchema, type AvailableAttributeSchema, type AvailableOptionSchema, type CalculateShippingCalculatePostData, type CalculateShippingCalculatePostResponse, CancelError, type CancelSubscriptionShopsShopIdStripeSubscriptionSubscriptionIdDeleteData, type CancelSubscriptionShopsShopIdStripeSubscriptionSubscriptionIdDeleteResponse, CancelablePromise, type Cart, type CategoryCreate, type CategoryImageDelete, type CategorySchema, type CategoryTranslationBase, type CategoryTranslationUpdate, type CategoryUpdate, type CheckOrdersCheckIdsGetData, type CheckOrdersCheckIdsGetResponse, type ConfigurationContact, type ConfigurationLanguageFieldMenuItems, type ConfigurationLanguageFieldStaticTexts, type ConfigurationLanguageFields, type ConfigurationLanguages, type ConfigurationLegal, type ConfigurationOrderStatusMails, type ConfigurationShipping_Input, type ConfigurationShipping_Output, type ConfigurationV1_Input, type ConfigurationV1_Output, type CreateAttributeData, type CreateAttributeOptionData, type CreateAttributeOptionResponse, type CreateAttributeResponse, type CreateCategoryData, type CreateCategoryResponse, type CreateEarlyAccessPostData, type CreateEarlyAccessPostResponse, type CreateFaqPostData, type CreateFaqPostResponse, type CreateLicensesPostData, type CreateLicensesPostResponse, type CreateOrdersPostData, type CreateOrdersPostResponse, type CreatePaymentIntentShopsShopIdStripePostData, type CreatePaymentIntentShopsShopIdStripePostResponse, type CreateProductData, type CreateProductResponse, type CreateProductToTagData, type CreateProductToTagResponse, type CreateShopsPostData, type CreateShopsPostResponse, type CreateShopsShopIdAccountsPostData, type CreateShopsShopIdAccountsPostResponse, type CreateSubscriptionIntentShopsShopIdStripeSubscriptionPostData, type CreateSubscriptionIntentShopsShopIdStripeSubscriptionPostResponse, type CreateTagData, type CreateTagResponse, type DefaultPrice, type DeleteAttributeData, type DeleteAttributeOptionData, type DeleteAttributeOptionResponse, type DeleteAttributeResponse, type DeleteCategoryData, type DeleteCategoryResponse, type DeleteFaqFaqIdDeleteData, type DeleteFaqFaqIdDeleteResponse, type DeleteImageShopsShopIdCategoriesImagesDeleteIdPutData, type DeleteImageShopsShopIdCategoriesImagesDeleteIdPutResponse, type DeleteLicensesIdDeleteData, type DeleteLicensesIdDeleteResponse, type DeleteOrdersOrderIdDeleteData, type DeleteOrdersOrderIdDeleteResponse, type DeleteProductData, type DeleteProductResponse, type DeleteProductToTagData, type DeleteProductToTagResponse, type DeleteShopsShopIdAccountsAccountIdDeleteData, type DeleteShopsShopIdAccountsAccountIdDeleteResponse, type DeleteShopsShopIdDeleteData, type DeleteShopsShopIdDeleteResponse, type DeleteTagData, type DeleteTagResponse, type DeleteTemporaryImagesImagesDeleteTempPostResponse, type EarlyAccessCreate, type EditLicensesIdPutData, type EditLicensesIdPutResponse, type FaqCreate, type FaqCreated, type FaqSchema, type FaqUpdate, type FaqUpdated, type FormInfoRequestFormPostData, type FormInfoRequestFormPostResponse, type FormTestFormsPostData, type FormTestFormsPostResponse, type GetAccountAdminAccountsIdGetData, type GetAccountAdminAccountsIdGetResponse, type GetAllowedIpsShopsAllowedIpsShopIdGetData, type GetAllowedIpsShopsAllowedIpsShopIdGetResponse, type GetAttributeData, type GetAttributeOptionData, type GetAttributeOptionResponse, type GetAttributeResponse, type GetAvailableAttributesShopsShopIdCategoriesCategoryIdAvailableAttributesGetData, type GetAvailableAttributesShopsShopIdCategoriesCategoryIdAvailableAttributesGetResponse, type GetByIdFaqIdGetData, type GetByIdFaqIdGetResponse, type GetByIdLicensesIdGetData, type GetByIdLicensesIdGetResponse, type GetByIdOrdersIdGetData, type GetByIdOrdersIdGetResponse, type GetByIdShopsShopIdAccountsIdGetData, type GetByIdShopsShopIdAccountsIdGetResponse, type GetByIdShopsShopIdCategoriesImagesIdGetData, type GetByIdShopsShopIdCategoriesImagesIdGetResponse, type GetByIdShopsShopIdGetData, type GetByIdShopsShopIdGetResponse, type GetByIdWithOptionsDirectShopsShopIdAttributesAttributeIdWithOptionsGetData, type GetByIdWithOptionsDirectShopsShopIdAttributesAttributeIdWithOptionsGetResponse, type GetByIdWithOptionsShopsShopIdAttributesIdAttributeIdWithOptionsGetData, type GetByIdWithOptionsShopsShopIdAttributesIdAttributeIdWithOptionsGetResponse, type GetByImproviserUserIdLicensesImproviserImproviserUserIdGetData, type GetByImproviserUserIdLicensesImproviserImproviserUserIdGetResponse, type GetByNameShopsShopIdAttributesNameNameGetData, type GetByNameShopsShopIdAttributesNameNameGetResponse, type GetByNameShopsShopIdCategoriesNameNameGetData, type GetByNameShopsShopIdCategoriesNameNameGetResponse, type GetByNameShopsShopIdTagsNameNameGetData, type GetByNameShopsShopIdTagsNameNameGetResponse, type GetCacheStatusShopsCacheStatusShopIdGetData, type GetCacheStatusShopsCacheStatusShopIdGetResponse, type GetCartProductsShopsShopIdPricesPostData, type GetCartProductsShopsShopIdPricesPostResponse, type GetCategoryData, type GetCategoryProductsShopsShopIdCategoriesCategoryIdProductsGetData, type GetCategoryProductsShopsShopIdCategoriesCategoryIdProductsGetResponse, type GetCategoryResponse, type GetConfigShopsConfigShopIdGetData, type GetConfigShopsConfigShopIdGetResponse, type GetFormsFormsGetResponse, type GetHealthHealthGetResponse, type GetLastCompletedOrderShopsLastCompletedOrderShopIdGetData, type GetLastCompletedOrderShopsLastCompletedOrderShopIdGetResponse, type GetLastPendingOrderShopsLastPendingOrderShopIdGetData, type GetLastPendingOrderShopsLastPendingOrderShopIdGetResponse, type GetMultiFaqGetData, type GetMultiFaqGetResponse, type GetMultiLicensesGetData, type GetMultiLicensesGetResponse, type GetMultiOrdersGetData, type GetMultiOrdersGetResponse, type GetMultiShopsGetData, type GetMultiShopsGetResponse, type GetMultiShopsShopIdAccountsGetData, type GetMultiShopsShopIdAccountsGetResponse, type GetMultiShopsShopIdCategoriesImagesGetData, type GetMultiShopsShopIdCategoriesImagesGetResponse, type GetMultiWithAttributesShopsShopIdProductsWithAttributesGetData, type GetMultiWithAttributesShopsShopIdProductsWithAttributesGetResponse, type GetOrderProductsInStockOrdersStockOrderIdGetData, type GetOrderProductsInStockOrdersStockOrderIdGetResponse, type GetProductAttributesData, type GetProductAttributesResponse, type GetProductData, type GetProductResponse, type GetProductRevisionData, type GetProductRevisionResponse, type GetProductToTagData, type GetProductToTagRelationIdData, type GetProductToTagRelationIdResponse, type GetProductToTagResponse, type GetProductsShopsShopIdPricesGetData, type GetProductsShopsShopIdPricesGetResponse, type GetRevisionData, type GetRevisionResponse, type GetSignedDownloadLinkDownloadsFileNameGetData, type GetSignedDownloadLinkDownloadsFileNameGetResponse, type GetSignedUploadUrlShopsShopIdImagesSignedUrlImageNameGetData, type GetSignedUploadUrlShopsShopIdImagesSignedUrlImageNameGetResponse, type GetSignedUrlImagesSignedUrlImageNameGetData, type GetSignedUrlImagesSignedUrlImageNameGetResponse, type GetStripeCustomerAdminAccountsIdStripeCustomerGetData, type GetStripeCustomerAdminAccountsIdStripeCustomerGetResponse, type GetTagData, type GetTagResponse, type GetWithOptionsShopsShopIdAttributesWithOptionsGetData, type GetWithOptionsShopsShopIdAttributesWithOptionsGetResponse, type HTTPValidationError, type Lang, type LicenseCreate, type LicenseSchema, type LicenseUpdate, type LinkStripeAdminAccountsIdLinkStripePostData, type LinkStripeAdminAccountsIdLinkStripePostResponse, type LinkStripeBody, type ListAccountsAdminAccountsGetData, type ListAccountsAdminAccountsGetResponse, type ListAttributeOptionsData, type ListAttributeOptionsResponse, type ListAttributesData, type ListAttributesResponse, type ListCategoriesData, type ListCategoriesResponse, type ListCategoryRevisionsShopsShopIdCategoriesCategoryIdRevisionsGetData, type ListCategoryRevisionsShopsShopIdCategoriesCategoryIdRevisionsGetResponse, type ListCompleteOrdersData, type ListCompleteOrdersResponse, type ListKeysShopsShopIdApiKeysGetData, type ListKeysShopsShopIdApiKeysGetResponse, type ListMyShopsResponse, type ListPendingOrdersData, type ListPendingOrdersResponse, type ListProductRevisionsData, type ListProductRevisionsResponse, type ListProductToTagsData, type ListProductToTagsResponse, type ListProductsData, type ListProductsResponse, type ListShopRevisionsData, type ListShopRevisionsResponse, type ListTagsData, type ListTagsResponse, type ListTrashShopsShopIdTrashGetData, type ListTrashShopsShopIdTrashGetResponse, type MintShopsShopIdApiKeysPostData, type MintShopsShopIdApiKeysPostResponse, type MoveImagesImagesMovePostResponse, type MyShopsResponse, type NewFormFormsFormKeyPostData, type NewFormFormsFormKeyPostResponse, OpenAPI, type OpenAPIConfig, type OrderCreate, type OrderCreated, type OrderItemCreate, type OrderItem_Input, type OrderItem_Output, type OrderQuote, type OrderQuoteRequest, type OrderSchema, type OrderStatusUpdate, type OrderUpdated, type PatchOrdersOrderIdPatchData, type PatchOrdersOrderIdPatchResponse, type ProductAttributeItem, type ProductAttributeOptionSelectionAdd, type ProductAttributeOptionSelectionReplace, type ProductAttributeValueSchema, type ProductAttributeValuesDeleteData, type ProductAttributeValuesDeleteResponse, type ProductAttributeValuesGetData, type ProductAttributeValuesGetResponse, type ProductAttributeValuesListData, type ProductAttributeValuesListResponse, type ProductAttributeValuesReplaceForProductData, type ProductAttributeValuesReplaceForProductResponse, type ProductCreate, type ProductResponse, type ProductToTagCreate, type ProductToTagSchema, type ProductToTagUpdate, type ProductTranslationBase, type ProductTranslationCreate, type ProductTranslationUpdate, type ProductUpdate, type ProductWithAttributes, type ProductWithDefaultPrice, type ProductWithDetailsAndPrices, type PutShopsShopIdCategoriesImagesIdPutData, type PutShopsShopIdCategoriesImagesIdPutResponse, type QuoteOrdersQuotePostData, type QuoteOrdersQuotePostResponse, type RemoveIpShopsAllowedIpsShopIdRemovePostData, type RemoveIpShopsAllowedIpsShopIdRemovePostResponse, type RestoreAttributeData, type RestoreAttributeResponse, type RestoreAttributeRevisionData, type RestoreAttributeRevisionResponse, type RestoreCategoryData, type RestoreCategoryResponse, type RestoreCategoryRevisionData, type RestoreCategoryRevisionResponse, type RestoreProductData, type RestoreProductResponse, type RestoreProductRevisionData, type RestoreProductRevisionResponse, type RestoreReport, type RestoreTagData, type RestoreTagResponse, type RestoreTagRevisionData, type RestoreTagRevisionResponse, type ResurrectedEntity, type RevisionDetail, type RevisionSummary, type RevokeShopsShopIdApiKeysKeyIdDeleteData, type RevokeShopsShopIdApiKeysKeyIdDeleteResponse, type SendDownloadLinkViaEmailDownloadsSendPostData, type SendDownloadLinkViaEmailDownloadsSendPostResponse, type ShippingCalculateRequest, type ShippingCalculation, type ShippingLine, type ShopCacheStatus, type ShopConfig, type ShopConfigUpdate_Input, type ShopConfigUpdate_Output, type ShopCreate, type ShopIp, type ShopLastCompletedOrder, type ShopLastPendingOrder, type ShopSchema, type ShopType, type ShopTypeName, type ShopTypeUpdate, type ShopUpdate, type ShopWithPrices, type SwapShopsShopIdCategoriesCategoryIdSwapPutData, type SwapShopsShopIdCategoriesCategoryIdSwapPutResponse, type SwapShopsShopIdProductsProductIdSwapPutData, type SwapShopsShopIdProductsProductIdSwapPutResponse, type SyncStripeAdminAccountsIdSyncStripePostData, type SyncStripeAdminAccountsIdSyncStripePostResponse, type SyncStripeResponse, type TagCreate, type TagSchema, type TagTranslationBase, type TagUpdate, type Toggles, type TrashItem, type TriggerErrorSentryGetData, type TriggerErrorSentryGetResponse, type UnresolvedReference, type UpdateAttributeData, type UpdateAttributeOptionData, type UpdateAttributeOptionResponse, type UpdateAttributeResponse, type UpdateCategoryData, type UpdateCategoryResponse, type UpdateConfigShopsConfigShopIdPutData, type UpdateConfigShopsConfigShopIdPutResponse, type UpdateFaqFaqIdPutData, type UpdateFaqFaqIdPutResponse, type UpdateOrdersOrderIdPutData, type UpdateOrdersOrderIdPutResponse, type UpdateProductData, type UpdateProductResponse, type UpdateProductToTagData, type UpdateProductToTagResponse, type UpdateShopTypeData, type UpdateShopTypeResponse, type UpdateShopsShopIdAccountsAccountIdPutData, type UpdateShopsShopIdAccountsAccountIdPutResponse, type UpdateShopsShopIdPutData, type UpdateShopsShopIdPutResponse, type UpdateTagData, type UpdateTagResponse, type ValidationError, addNewIpShopsAllowedIpsShopIdPost, addProductAttributeOptions, calculateShippingCalculatePost, cancelSubscriptionShopsShopIdStripeSubscriptionSubscriptionIdDelete, checkOrdersCheckIdsGet, createAttribute, createAttributeOption, createCategory, createEarlyAccessPost, createFaqPost, createLicensesPost, createOrdersPost, createPaymentIntentShopsShopIdStripePost, createProduct, createProductToTag, createShopsPost, createShopsShopIdAccountsPost, createSubscriptionIntentShopsShopIdStripeSubscriptionPost, createTag, deleteAttribute, deleteAttributeOption, deleteCategory, deleteFaqFaqIdDelete, deleteImageShopsShopIdCategoriesImagesDeleteIdPut, deleteLicensesIdDelete, deleteOrdersOrderIdDelete, deleteProduct, deleteProductToTag, deleteShopsShopIdAccountsAccountIdDelete, deleteShopsShopIdDelete, deleteTag, deleteTemporaryImagesImagesDeleteTempPost, editLicensesIdPut, formInfoRequestFormPost, formTestFormsPost, getAccountAdminAccountsIdGet, getAllowedIpsShopsAllowedIpsShopIdGet, getAttribute, getAttributeOption, getAvailableAttributesShopsShopIdCategoriesCategoryIdAvailableAttributesGet, getByIdFaqIdGet, getByIdLicensesIdGet, getByIdOrdersIdGet, getByIdShopsShopIdAccountsIdGet, getByIdShopsShopIdCategoriesImagesIdGet, getByIdShopsShopIdGet, getByIdWithOptionsDirectShopsShopIdAttributesAttributeIdWithOptionsGet, getByIdWithOptionsShopsShopIdAttributesIdAttributeIdWithOptionsGet, getByImproviserUserIdLicensesImproviserImproviserUserIdGet, getByNameShopsShopIdAttributesNameNameGet, getByNameShopsShopIdCategoriesNameNameGet, getByNameShopsShopIdTagsNameNameGet, getCacheStatusShopsCacheStatusShopIdGet, getCartProductsShopsShopIdPricesPost, getCategory, getCategoryProductsShopsShopIdCategoriesCategoryIdProductsGet, getConfigShopsConfigShopIdGet, getFormsFormsGet, getHealthHealthGet, getLastCompletedOrderShopsLastCompletedOrderShopIdGet, getLastPendingOrderShopsLastPendingOrderShopIdGet, getMultiFaqGet, getMultiLicensesGet, getMultiOrdersGet, getMultiShopsGet, getMultiShopsShopIdAccountsGet, getMultiShopsShopIdCategoriesImagesGet, getMultiWithAttributesShopsShopIdProductsWithAttributesGet, getOrderProductsInStockOrdersStockOrderIdGet, getProduct, getProductAttributes, getProductRevision, getProductToTag, getProductToTagRelationId, getProductsShopsShopIdPricesGet, getRevision, getSignedDownloadLinkDownloadsFileNameGet, getSignedUploadUrlShopsShopIdImagesSignedUrlImageNameGet, getSignedUrlImagesSignedUrlImageNameGet, getStripeCustomerAdminAccountsIdStripeCustomerGet, getTag, getWithOptionsShopsShopIdAttributesWithOptionsGet, linkStripeAdminAccountsIdLinkStripePost, listAccountsAdminAccountsGet, listAttributeOptions, listAttributes, listCategories, listCategoryRevisionsShopsShopIdCategoriesCategoryIdRevisionsGet, listCompleteOrders, listKeysShopsShopIdApiKeysGet, listMyShops, listPendingOrders, listProductRevisions, listProductToTags, listProducts, listShopRevisions, listTags, listTrashShopsShopIdTrashGet, mintShopsShopIdApiKeysPost, moveImagesImagesMovePost, newFormFormsFormKeyPost, patchOrdersOrderIdPatch, type plan, productAttributeValuesDelete, productAttributeValuesGet, productAttributeValuesList, productAttributeValuesReplaceForProduct, putShopsShopIdCategoriesImagesIdPut, quoteOrdersQuotePost, removeIpShopsAllowedIpsShopIdRemovePost, restoreAttribute, restoreAttributeRevision, restoreCategory, restoreCategoryRevision, restoreProduct, restoreProductRevision, restoreTag, restoreTagRevision, revokeShopsShopIdApiKeysKeyIdDelete, sendDownloadLinkViaEmailDownloadsSendPost, swapShopsShopIdCategoriesCategoryIdSwapPut, swapShopsShopIdProductsProductIdSwapPut, syncStripeAdminAccountsIdSyncStripePost, triggerErrorSentryGet, updateAttribute, updateAttributeOption, updateCategory, updateConfigShopsConfigShopIdPut, updateFaqFaqIdPut, updateOrdersOrderIdPut, updateProduct, updateProductToTag, updateShopType, updateShopsShopIdAccountsAccountIdPut, updateShopsShopIdPut, updateTag };
|
package/dist/index.js
CHANGED
|
@@ -123,7 +123,7 @@ var OpenAPI = {
|
|
|
123
123
|
PASSWORD: void 0,
|
|
124
124
|
TOKEN: void 0,
|
|
125
125
|
USERNAME: void 0,
|
|
126
|
-
VERSION: "0.
|
|
126
|
+
VERSION: "0.7.0",
|
|
127
127
|
WITH_CREDENTIALS: false,
|
|
128
128
|
interceptors: {
|
|
129
129
|
request: new Interceptors(),
|
|
@@ -5625,6 +5625,51 @@ var $ShopTypeName = {
|
|
|
5625
5625
|
title: "ShopTypeName",
|
|
5626
5626
|
type: "string"
|
|
5627
5627
|
};
|
|
5628
|
+
var $ShopTypeUpdate = {
|
|
5629
|
+
description: "Body of the admin shop-type route; its own name keeps ``ShopType`` an output-only schema.",
|
|
5630
|
+
properties: {
|
|
5631
|
+
max_languages: {
|
|
5632
|
+
title: "Max Languages",
|
|
5633
|
+
type: "number"
|
|
5634
|
+
},
|
|
5635
|
+
max_products: {
|
|
5636
|
+
title: "Max Products",
|
|
5637
|
+
type: "number"
|
|
5638
|
+
},
|
|
5639
|
+
name: {
|
|
5640
|
+
$ref: "#/components/schemas/ShopTypeName"
|
|
5641
|
+
},
|
|
5642
|
+
stripe_access: {
|
|
5643
|
+
title: "Stripe Access",
|
|
5644
|
+
type: "boolean"
|
|
5645
|
+
},
|
|
5646
|
+
trial_mode: {
|
|
5647
|
+
title: "Trial Mode",
|
|
5648
|
+
type: "boolean"
|
|
5649
|
+
},
|
|
5650
|
+
trial_started: {
|
|
5651
|
+
anyOf: [
|
|
5652
|
+
{
|
|
5653
|
+
format: "date-time",
|
|
5654
|
+
type: "string"
|
|
5655
|
+
},
|
|
5656
|
+
{
|
|
5657
|
+
type: "null"
|
|
5658
|
+
}
|
|
5659
|
+
],
|
|
5660
|
+
title: "Trial Started"
|
|
5661
|
+
}
|
|
5662
|
+
},
|
|
5663
|
+
required: [
|
|
5664
|
+
"max_languages",
|
|
5665
|
+
"max_products",
|
|
5666
|
+
"stripe_access",
|
|
5667
|
+
"trial_mode",
|
|
5668
|
+
"name"
|
|
5669
|
+
],
|
|
5670
|
+
title: "ShopTypeUpdate",
|
|
5671
|
+
type: "object"
|
|
5672
|
+
};
|
|
5628
5673
|
var $ShopUpdate = {
|
|
5629
5674
|
properties: {
|
|
5630
5675
|
allowed_ips: {
|
|
@@ -8144,6 +8189,20 @@ var getRevision = (data) => {
|
|
|
8144
8189
|
}
|
|
8145
8190
|
});
|
|
8146
8191
|
};
|
|
8192
|
+
var updateShopType = (data) => {
|
|
8193
|
+
return request(OpenAPI, {
|
|
8194
|
+
method: "PUT",
|
|
8195
|
+
url: "/shops/{shop_id}/shop-type",
|
|
8196
|
+
path: {
|
|
8197
|
+
shop_id: data.shopId
|
|
8198
|
+
},
|
|
8199
|
+
body: data.requestBody,
|
|
8200
|
+
mediaType: "application/json",
|
|
8201
|
+
errors: {
|
|
8202
|
+
422: "Validation Error"
|
|
8203
|
+
}
|
|
8204
|
+
});
|
|
8205
|
+
};
|
|
8147
8206
|
var createPaymentIntentShopsShopIdStripePost = (data) => {
|
|
8148
8207
|
return request(OpenAPI, {
|
|
8149
8208
|
method: "POST",
|
|
@@ -8423,6 +8482,7 @@ export {
|
|
|
8423
8482
|
$ShopSchema,
|
|
8424
8483
|
$ShopType,
|
|
8425
8484
|
$ShopTypeName,
|
|
8485
|
+
$ShopTypeUpdate,
|
|
8426
8486
|
$ShopUpdate,
|
|
8427
8487
|
$ShopWithPrices,
|
|
8428
8488
|
$SyncStripeResponse,
|
|
@@ -8569,6 +8629,7 @@ export {
|
|
|
8569
8629
|
updateOrdersOrderIdPut,
|
|
8570
8630
|
updateProduct,
|
|
8571
8631
|
updateProductToTag,
|
|
8632
|
+
updateShopType,
|
|
8572
8633
|
updateShopsShopIdAccountsAccountIdPut,
|
|
8573
8634
|
updateShopsShopIdPut,
|
|
8574
8635
|
updateTag
|