@shopvirge/shopvirge-client 0.2.6 → 0.2.7

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/index.d.ts CHANGED
@@ -147,6 +147,76 @@ declare const $AccountUpdate: {
147
147
  readonly required: readonly ["shop_id", "name", "details"];
148
148
  readonly title: "AccountUpdate";
149
149
  };
150
+ declare const $AdminAccountSchema: {
151
+ readonly properties: {
152
+ readonly id: {
153
+ readonly type: "string";
154
+ readonly format: "uuid";
155
+ readonly title: "Id";
156
+ };
157
+ readonly shop_id: {
158
+ readonly anyOf: readonly [{
159
+ readonly type: "string";
160
+ readonly format: "uuid";
161
+ }, {
162
+ readonly type: "null";
163
+ }];
164
+ readonly title: "Shop Id";
165
+ };
166
+ readonly shop_name: {
167
+ readonly anyOf: readonly [{
168
+ readonly type: "string";
169
+ }, {
170
+ readonly type: "null";
171
+ }];
172
+ readonly title: "Shop Name";
173
+ };
174
+ readonly name: {
175
+ readonly anyOf: readonly [{
176
+ readonly type: "string";
177
+ }, {
178
+ readonly type: "null";
179
+ }];
180
+ readonly title: "Name";
181
+ };
182
+ readonly hash_name: {
183
+ readonly anyOf: readonly [{
184
+ readonly type: "string";
185
+ }, {
186
+ readonly type: "null";
187
+ }];
188
+ readonly title: "Hash Name";
189
+ };
190
+ readonly details: {
191
+ readonly anyOf: readonly [{
192
+ readonly type: "object";
193
+ }, {
194
+ readonly type: "null";
195
+ }];
196
+ readonly title: "Details";
197
+ };
198
+ readonly stripe_customer_id: {
199
+ readonly anyOf: readonly [{
200
+ readonly type: "string";
201
+ }, {
202
+ readonly type: "null";
203
+ }];
204
+ readonly title: "Stripe Customer Id";
205
+ };
206
+ readonly stripe_synced_at: {
207
+ readonly anyOf: readonly [{
208
+ readonly type: "string";
209
+ readonly format: "date-time";
210
+ }, {
211
+ readonly type: "null";
212
+ }];
213
+ readonly title: "Stripe Synced At";
214
+ };
215
+ };
216
+ readonly type: "object";
217
+ readonly required: readonly ["id"];
218
+ readonly title: "AdminAccountSchema";
219
+ };
150
220
  declare const $AttributeCreate: {
151
221
  readonly properties: {
152
222
  readonly name: {
@@ -1526,6 +1596,17 @@ declare const $LicenseUpdate: {
1526
1596
  readonly required: readonly ["seats", "end_date"];
1527
1597
  readonly title: "LicenseUpdate";
1528
1598
  };
1599
+ declare const $LinkStripeBody: {
1600
+ readonly properties: {
1601
+ readonly stripe_customer_id: {
1602
+ readonly type: "string";
1603
+ readonly title: "Stripe Customer Id";
1604
+ };
1605
+ };
1606
+ readonly type: "object";
1607
+ readonly required: readonly ["stripe_customer_id"];
1608
+ readonly title: "LinkStripeBody";
1609
+ };
1529
1610
  declare const $Msg: {
1530
1611
  readonly properties: {
1531
1612
  readonly msg: {
@@ -3670,6 +3751,31 @@ declare const $ShopWithPrices: {
3670
3751
  readonly required: readonly ["name", "description", "vat_standard", "vat_lower_1", "vat_lower_2", "vat_lower_3", "vat_special", "vat_zero", "id"];
3671
3752
  readonly title: "ShopWithPrices";
3672
3753
  };
3754
+ declare const $SyncStripeResponse: {
3755
+ readonly properties: {
3756
+ readonly id: {
3757
+ readonly type: "string";
3758
+ readonly format: "uuid";
3759
+ readonly title: "Id";
3760
+ };
3761
+ readonly stripe_customer_id: {
3762
+ readonly type: "string";
3763
+ readonly title: "Stripe Customer Id";
3764
+ };
3765
+ readonly stripe_synced_at: {
3766
+ readonly type: "string";
3767
+ readonly format: "date-time";
3768
+ readonly title: "Stripe Synced At";
3769
+ };
3770
+ readonly stripe_customer: {
3771
+ readonly type: "object";
3772
+ readonly title: "Stripe Customer";
3773
+ };
3774
+ };
3775
+ readonly type: "object";
3776
+ readonly required: readonly ["id", "stripe_customer_id", "stripe_synced_at", "stripe_customer"];
3777
+ readonly title: "SyncStripeResponse";
3778
+ };
3673
3779
  declare const $TagCreate: {
3674
3780
  readonly properties: {
3675
3781
  readonly shop_id: {
@@ -3995,6 +4101,18 @@ type AccountUpdate = {
3995
4101
  [key: string]: unknown;
3996
4102
  };
3997
4103
  };
4104
+ type AdminAccountSchema = {
4105
+ id: string;
4106
+ shop_id?: string | null;
4107
+ shop_name?: string | null;
4108
+ name?: string | null;
4109
+ hash_name?: string | null;
4110
+ details?: {
4111
+ [key: string]: unknown;
4112
+ } | null;
4113
+ stripe_customer_id?: string | null;
4114
+ stripe_synced_at?: string | null;
4115
+ };
3998
4116
  type AttributeCreate = {
3999
4117
  name: string;
4000
4118
  unit?: string | null;
@@ -4288,6 +4406,9 @@ type LicenseUpdate = {
4288
4406
  seats: number | null;
4289
4407
  end_date: string | null;
4290
4408
  };
4409
+ type LinkStripeBody = {
4410
+ stripe_customer_id: string;
4411
+ };
4291
4412
  type Msg = {
4292
4413
  msg: string;
4293
4414
  };
@@ -4719,6 +4840,14 @@ type ShopWithPrices = {
4719
4840
  vat_zero: number;
4720
4841
  id: string;
4721
4842
  };
4843
+ type SyncStripeResponse = {
4844
+ id: string;
4845
+ stripe_customer_id: string;
4846
+ stripe_synced_at: string;
4847
+ stripe_customer: {
4848
+ [key: string]: unknown;
4849
+ };
4850
+ };
4722
4851
  type TagCreate = {
4723
4852
  shop_id: string;
4724
4853
  name: string;
@@ -4875,6 +5004,46 @@ type GetByImproviserUserIdLicensesImproviserImproviserUserIdGetData = {
4875
5004
  improviserUserId: string;
4876
5005
  };
4877
5006
  type GetByImproviserUserIdLicensesImproviserImproviserUserIdGetResponse = LicenseSchema;
5007
+ type ListAccountsAdminAccountsGetData = {
5008
+ /**
5009
+ * This filter can accept search query's like `key:value` and will split on the `:`. If it detects more than one `:`, or does not find a `:` it will search for the string in all columns.
5010
+ */
5011
+ filter?: Array<string>;
5012
+ limit?: number;
5013
+ /**
5014
+ * If true, only accounts without a stripe_customer_id; if false, only those with one.
5015
+ */
5016
+ missingStripe?: boolean | null;
5017
+ /**
5018
+ * Restrict to a single shop
5019
+ */
5020
+ shopId?: string | null;
5021
+ skip?: number;
5022
+ /**
5023
+ * The sort will accept parameters like `col:ASC` or `col:DESC` and will split on the `:`. If it does not find a `:` it will sort ascending on that column.
5024
+ */
5025
+ sort?: Array<string>;
5026
+ };
5027
+ type ListAccountsAdminAccountsGetResponse = Array<AdminAccountSchema>;
5028
+ type GetAccountAdminAccountsIdGetData = {
5029
+ id: string;
5030
+ };
5031
+ type GetAccountAdminAccountsIdGetResponse = AdminAccountSchema;
5032
+ type GetStripeCustomerAdminAccountsIdStripeCustomerGetData = {
5033
+ id: string;
5034
+ };
5035
+ type GetStripeCustomerAdminAccountsIdStripeCustomerGetResponse = {
5036
+ [key: string]: unknown;
5037
+ };
5038
+ type SyncStripeAdminAccountsIdSyncStripePostData = {
5039
+ id: string;
5040
+ };
5041
+ type SyncStripeAdminAccountsIdSyncStripePostResponse = SyncStripeResponse;
5042
+ type LinkStripeAdminAccountsIdLinkStripePostData = {
5043
+ id: string;
5044
+ requestBody: LinkStripeBody;
5045
+ };
5046
+ type LinkStripeAdminAccountsIdLinkStripePostResponse = AdminAccountSchema;
4878
5047
  type GetSignedDownloadLinkDownloadsFileNameGetData = {
4879
5048
  fileName: string;
4880
5049
  };
@@ -5839,6 +6008,135 @@ type $OpenApiTs = {
5839
6008
  };
5840
6009
  };
5841
6010
  };
6011
+ '/admin/accounts': {
6012
+ get: {
6013
+ req: ListAccountsAdminAccountsGetData;
6014
+ res: {
6015
+ /**
6016
+ * Successful Response
6017
+ */
6018
+ 200: Array<AdminAccountSchema>;
6019
+ /**
6020
+ * Not a superuser
6021
+ */
6022
+ 403: unknown;
6023
+ /**
6024
+ * Validation Error
6025
+ */
6026
+ 422: HTTPValidationError;
6027
+ };
6028
+ };
6029
+ };
6030
+ '/admin/accounts/{id}': {
6031
+ get: {
6032
+ req: GetAccountAdminAccountsIdGetData;
6033
+ res: {
6034
+ /**
6035
+ * Successful Response
6036
+ */
6037
+ 200: AdminAccountSchema;
6038
+ /**
6039
+ * Not a superuser
6040
+ */
6041
+ 403: unknown;
6042
+ /**
6043
+ * Account not found
6044
+ */
6045
+ 404: unknown;
6046
+ /**
6047
+ * Validation Error
6048
+ */
6049
+ 422: HTTPValidationError;
6050
+ };
6051
+ };
6052
+ };
6053
+ '/admin/accounts/{id}/stripe-customer': {
6054
+ get: {
6055
+ req: GetStripeCustomerAdminAccountsIdStripeCustomerGetData;
6056
+ res: {
6057
+ /**
6058
+ * Successful Response
6059
+ */
6060
+ 200: {
6061
+ [key: string]: unknown;
6062
+ };
6063
+ /**
6064
+ * Account or shop not configured for Stripe
6065
+ */
6066
+ 400: unknown;
6067
+ /**
6068
+ * Not a superuser
6069
+ */
6070
+ 403: unknown;
6071
+ /**
6072
+ * Account not found
6073
+ */
6074
+ 404: unknown;
6075
+ /**
6076
+ * Validation Error
6077
+ */
6078
+ 422: HTTPValidationError;
6079
+ /**
6080
+ * Stripe API error
6081
+ */
6082
+ 502: unknown;
6083
+ };
6084
+ };
6085
+ };
6086
+ '/admin/accounts/{id}/sync-stripe': {
6087
+ post: {
6088
+ req: SyncStripeAdminAccountsIdSyncStripePostData;
6089
+ res: {
6090
+ /**
6091
+ * Successful Response
6092
+ */
6093
+ 200: SyncStripeResponse;
6094
+ /**
6095
+ * Account or shop not configured for Stripe
6096
+ */
6097
+ 400: unknown;
6098
+ /**
6099
+ * Not a superuser
6100
+ */
6101
+ 403: unknown;
6102
+ /**
6103
+ * Account not found
6104
+ */
6105
+ 404: unknown;
6106
+ /**
6107
+ * Validation Error
6108
+ */
6109
+ 422: HTTPValidationError;
6110
+ /**
6111
+ * Stripe API error
6112
+ */
6113
+ 502: unknown;
6114
+ };
6115
+ };
6116
+ };
6117
+ '/admin/accounts/{id}/link-stripe': {
6118
+ post: {
6119
+ req: LinkStripeAdminAccountsIdLinkStripePostData;
6120
+ res: {
6121
+ /**
6122
+ * Successful Response
6123
+ */
6124
+ 200: AdminAccountSchema;
6125
+ /**
6126
+ * Not a superuser
6127
+ */
6128
+ 403: unknown;
6129
+ /**
6130
+ * Account not found
6131
+ */
6132
+ 404: unknown;
6133
+ /**
6134
+ * Validation Error
6135
+ */
6136
+ 422: HTTPValidationError;
6137
+ };
6138
+ };
6139
+ };
5842
6140
  '/downloads/{file_name}': {
5843
6141
  get: {
5844
6142
  req: GetSignedDownloadLinkDownloadsFileNameGetData;
@@ -7494,6 +7792,66 @@ declare const deleteLicensesIdDelete: (data: DeleteLicensesIdDeleteData) => Canc
7494
7792
  * @throws ApiError
7495
7793
  */
7496
7794
  declare const getByImproviserUserIdLicensesImproviserImproviserUserIdGet: (data: GetByImproviserUserIdLicensesImproviserImproviserUserIdGetData) => CancelablePromise<GetByImproviserUserIdLicensesImproviserImproviserUserIdGetResponse>;
7795
+ /**
7796
+ * List Accounts
7797
+ * @param data The data for the request.
7798
+ * @param data.shopId Restrict to a single shop
7799
+ * @param data.missingStripe If true, only accounts without a stripe_customer_id; if false, only those with one.
7800
+ * @param data.skip
7801
+ * @param data.limit
7802
+ * @param data.filter This filter can accept search query's like `key:value` and will split on the `:`. If it detects more than one `:`, or does not find a `:` it will search for the string in all columns.
7803
+ * @param data.sort The sort will accept parameters like `col:ASC` or `col:DESC` and will split on the `:`. If it does not find a `:` it will sort ascending on that column.
7804
+ * @returns AdminAccountSchema Successful Response
7805
+ * @throws ApiError
7806
+ */
7807
+ declare const listAccountsAdminAccountsGet: (data?: ListAccountsAdminAccountsGetData) => CancelablePromise<ListAccountsAdminAccountsGetResponse>;
7808
+ /**
7809
+ * Get Account
7810
+ * @param data The data for the request.
7811
+ * @param data.id
7812
+ * @returns AdminAccountSchema Successful Response
7813
+ * @throws ApiError
7814
+ */
7815
+ declare const getAccountAdminAccountsIdGet: (data: GetAccountAdminAccountsIdGetData) => CancelablePromise<GetAccountAdminAccountsIdGetResponse>;
7816
+ /**
7817
+ * Get Stripe Customer
7818
+ * Read-through: fetch the Stripe customer for this account.
7819
+ *
7820
+ * Does NOT persist anything; use ``POST /sync-stripe`` to write the
7821
+ * snapshot back into the account's ``details`` column.
7822
+ * @param data The data for the request.
7823
+ * @param data.id
7824
+ * @returns unknown Successful Response
7825
+ * @throws ApiError
7826
+ */
7827
+ declare const getStripeCustomerAdminAccountsIdStripeCustomerGet: (data: GetStripeCustomerAdminAccountsIdStripeCustomerGetData) => CancelablePromise<GetStripeCustomerAdminAccountsIdStripeCustomerGetResponse>;
7828
+ /**
7829
+ * Sync Stripe
7830
+ * Pull the Stripe customer snapshot and persist it on the account.
7831
+ *
7832
+ * Writes ``details["stripe_customer"]`` (the full Stripe payload) and
7833
+ * ``details["stripe_synced_at"]`` (ISO timestamp). Existing keys in
7834
+ * ``details`` are preserved.
7835
+ * @param data The data for the request.
7836
+ * @param data.id
7837
+ * @returns SyncStripeResponse Successful Response
7838
+ * @throws ApiError
7839
+ */
7840
+ declare const syncStripeAdminAccountsIdSyncStripePost: (data: SyncStripeAdminAccountsIdSyncStripePostData) => CancelablePromise<SyncStripeAdminAccountsIdSyncStripePostResponse>;
7841
+ /**
7842
+ * Link Stripe
7843
+ * Manually associate a Stripe customer id with an account.
7844
+ *
7845
+ * Useful for reconciling local records that pre-date the
7846
+ * auto-customer-create flow. This does NOT call Stripe; follow up
7847
+ * with ``POST /sync-stripe`` to pull the snapshot.
7848
+ * @param data The data for the request.
7849
+ * @param data.id
7850
+ * @param data.requestBody
7851
+ * @returns AdminAccountSchema Successful Response
7852
+ * @throws ApiError
7853
+ */
7854
+ declare const linkStripeAdminAccountsIdLinkStripePost: (data: LinkStripeAdminAccountsIdLinkStripePostData) => CancelablePromise<LinkStripeAdminAccountsIdLinkStripePostResponse>;
7497
7855
  /**
7498
7856
  * Get Signed Download Link
7499
7857
  * @param data The data for the request.
@@ -8540,4 +8898,4 @@ declare const updateFaqFaqIdPut: (data: UpdateFaqFaqIdPutData) => CancelableProm
8540
8898
  */
8541
8899
  declare const deleteFaqFaqIdDelete: (data: DeleteFaqFaqIdDeleteData) => CancelablePromise<DeleteFaqFaqIdDeleteResponse>;
8542
8900
 
8543
- export { $AccountCreate, $AccountSchema, $AccountUpdate, $AttributeCreate, $AttributeOptionCreate, $AttributeOptionSchema, $AttributeOptionUpdate, $AttributeSchema, $AttributeTranslationBase, $AttributeUpdate, $AttributeWithOptionsSchema, $AvailableAttributeSchema, $AvailableOptionSchema, $Body_login_access_token_login_access_token_post, $Body_reset_password_reset_password__post, $Body_update_user_me_users_me_put, $Cart, $CategoryCreate, $CategoryImageDelete, $CategorySchema, $CategoryTranslationBase, $CategoryUpdate, $ConfigurationContact, $ConfigurationLanguageFieldMenuItems, $ConfigurationLanguageFieldStaticTexts, $ConfigurationLanguageFields, $ConfigurationLanguages_Input, $ConfigurationLanguages_Output, $ConfigurationLegal, $ConfigurationV1_Input, $ConfigurationV1_Output, $DefaultPrice, $EarlyAccessCreate, $FaqCreate, $FaqCreated, $FaqSchema, $FaqUpdate, $FaqUpdated, $HTTPValidationError, $Lang, $LicenseCreate, $LicenseSchema, $LicenseUpdate, $Msg, type $OpenApiTs, $OrderBase, $OrderCreate, $OrderCreated, $OrderItem, $OrderSchema, $OrderUpdate, $OrderUpdated, $ProductAttributeItem, $ProductAttributeOptionSelectionAdd, $ProductAttributeOptionSelectionReplace, $ProductAttributeValueBase, $ProductAttributeValueSchema, $ProductCreate, $ProductResponse, $ProductToTagCreate, $ProductToTagSchema, $ProductToTagUpdate, $ProductTranslationBase, $ProductUpdate, $ProductWithAttributes, $ProductWithDefaultPrice, $ProductWithDetailsAndPrices, $ShopCacheStatus, $ShopConfig, $ShopConfigUpdate_Input, $ShopConfigUpdate_Output, $ShopCreate, $ShopIp, $ShopLastCompletedOrder, $ShopLastPendingOrder, $ShopSchema, $ShopType, $ShopTypeName, $ShopUpdate, $ShopWithPrices, $TagCreate, $TagSchema, $TagTranslationBase, $TagUpdate, $Toggles, $User, $UserCreate, $UserUpdate, $ValidationError, type AccountCreate, type AccountSchema, type AccountUpdate, type AddNewIpShopsAllowedIpsIdPostData, type AddNewIpShopsAllowedIpsIdPostResponse, ApiError, type AttributeCreate, type AttributeOptionCreate, type AttributeOptionSchema, type AttributeOptionUpdate, type AttributeSchema, type AttributeTranslationBase, type AttributeUpdate, type AttributeWithOptionsSchema, type AvailableAttributeSchema, type AvailableOptionSchema, type Body_login_access_token_login_access_token_post, type Body_reset_password_reset_password__post, type Body_update_user_me_users_me_put, CancelError, type CancelSubscriptionShopsShopIdStripeSubscriptionSubscriptionIdDeleteData, type CancelSubscriptionShopsShopIdStripeSubscriptionSubscriptionIdDeleteResponse, CancelablePromise, type Cart, type CategoryCreate, type CategoryImageDelete, type CategorySchema, type CategoryTranslationBase, type CategoryUpdate, type CheckOrdersCheckIdsGetData, type CheckOrdersCheckIdsGetResponse, type ConfigurationContact, type ConfigurationLanguageFieldMenuItems, type ConfigurationLanguageFieldStaticTexts, type ConfigurationLanguageFields, type ConfigurationLanguages_Input, type ConfigurationLanguages_Output, type ConfigurationLegal, type ConfigurationV1_Input, type ConfigurationV1_Output, type CreateEarlyAccessPostData, type CreateEarlyAccessPostResponse, type CreateFaqPostData, type CreateFaqPostResponse, type CreateLicensesPostData, type CreateLicensesPostResponse, type CreateOptionShopsShopIdAttributesAttributeIdOptionsPostData, type CreateOptionShopsShopIdAttributesAttributeIdOptionsPostResponse, type CreateOptionV2ShopsShopIdAttributeOptionsPostData, type CreateOptionV2ShopsShopIdAttributeOptionsPostResponse, type CreateOrdersPostData, type CreateOrdersPostResponse, type CreatePaymentIntentShopsShopIdStripePostData, type CreatePaymentIntentShopsShopIdStripePostResponse, type CreateShopsPostData, type CreateShopsPostResponse, type CreateShopsShopIdAccountsPostData, type CreateShopsShopIdAccountsPostResponse, type CreateShopsShopIdAttributesPostData, type CreateShopsShopIdAttributesPostResponse, type CreateShopsShopIdCategoriesPostData, type CreateShopsShopIdCategoriesPostResponse, type CreateShopsShopIdProductsPostData, type CreateShopsShopIdProductsPostResponse, type CreateShopsShopIdProductsToTagsPostData, type CreateShopsShopIdProductsToTagsPostResponse, type CreateShopsShopIdTagsPostData, type CreateShopsShopIdTagsPostResponse, type CreateSubscriptionIntentShopsShopIdStripeSubscriptionPostData, type CreateSubscriptionIntentShopsShopIdStripeSubscriptionPostResponse, type CreateUsersPostData, type CreateUsersPostResponse, type DefaultPrice, type DeleteFaqFaqIdDeleteData, type DeleteFaqFaqIdDeleteResponse, type DeleteImageShopsShopIdCategoriesImagesDeleteIdPutData, type DeleteImageShopsShopIdCategoriesImagesDeleteIdPutResponse, type DeleteLicensesIdDeleteData, type DeleteLicensesIdDeleteResponse, type DeleteOptionShopsShopIdAttributesAttributeIdOptionsOptionIdDeleteData, type DeleteOptionShopsShopIdAttributesAttributeIdOptionsOptionIdDeleteResponse, type DeleteOptionV2ShopsShopIdAttributeOptionsOptionIdDeleteData, type DeleteOptionV2ShopsShopIdAttributeOptionsOptionIdDeleteResponse, type DeleteOrdersOrderIdDeleteData, type DeleteOrdersOrderIdDeleteResponse, type DeleteShopsShopIdAccountsAccountIdDeleteData, type DeleteShopsShopIdAccountsAccountIdDeleteResponse, type DeleteShopsShopIdAttributesAttributeIdDeleteData, type DeleteShopsShopIdAttributesAttributeIdDeleteResponse, type DeleteShopsShopIdCategoriesCategoryIdDeleteData, type DeleteShopsShopIdCategoriesCategoryIdDeleteResponse, type DeleteShopsShopIdDeleteData, type DeleteShopsShopIdDeleteResponse, type DeleteShopsShopIdProductsProductIdDeleteData, type DeleteShopsShopIdProductsProductIdDeleteResponse, type DeleteShopsShopIdProductsToTagsProductToTagIdDeleteData, type DeleteShopsShopIdProductsToTagsProductToTagIdDeleteResponse, type DeleteShopsShopIdTagsTagIdDeleteData, type DeleteShopsShopIdTagsTagIdDeleteResponse, 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 GetAllowedIpsShopsAllowedIpsIdGetData, type GetAllowedIpsShopsAllowedIpsIdGetResponse, type GetAvailableAttributesShopsShopIdCategoriesCategoryIdAvailableAttributesGetData, type GetAvailableAttributesShopsShopIdCategoriesCategoryIdAvailableAttributesGetResponse, type GetByIdFaqIdGetData, type GetByIdFaqIdGetResponse, type GetByIdLicensesIdGetData, type GetByIdLicensesIdGetResponse, type GetByIdOrdersIdGetData, type GetByIdOrdersIdGetResponse, type GetByIdShopsIdGetData, type GetByIdShopsIdGetResponse, type GetByIdShopsShopIdAccountsIdGetData, type GetByIdShopsShopIdAccountsIdGetResponse, type GetByIdShopsShopIdAttributesIdAttributeIdGetData, type GetByIdShopsShopIdAttributesIdAttributeIdGetResponse, type GetByIdShopsShopIdCategoriesCategoryIdGetData, type GetByIdShopsShopIdCategoriesCategoryIdGetResponse, type GetByIdShopsShopIdCategoriesImagesIdGetData, type GetByIdShopsShopIdCategoriesImagesIdGetResponse, type GetByIdShopsShopIdProductsProductIdGetData, type GetByIdShopsShopIdProductsProductIdGetResponse, type GetByIdShopsShopIdProductsToTagsIdGetData, type GetByIdShopsShopIdProductsToTagsIdGetResponse, type GetByIdShopsShopIdTagsTagIdGetData, type GetByIdShopsShopIdTagsTagIdGetResponse, type GetByIdUsersUserIdGetData, type GetByIdUsersUserIdGetResponse, type GetByIdWithAttributesShopsShopIdProductsProductIdWithAttributesGetData, type GetByIdWithAttributesShopsShopIdProductsProductIdWithAttributesGetResponse, 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 GetCacheStatusShopsCacheStatusIdGetData, type GetCacheStatusShopsCacheStatusIdGetResponse, type GetCartProductsShopsShopIdPricesPostData, type GetCartProductsShopsShopIdPricesPostResponse, type GetCategoryProductsShopsShopIdCategoriesCategoryIdProductsGetData, type GetCategoryProductsShopsShopIdCategoriesCategoryIdProductsGetResponse, type GetConfigShopsConfigIdGetData, type GetConfigShopsConfigIdGetResponse, type GetFormsFormsGetResponse, type GetHealthHealthGetResponse, type GetLastCompletedOrderShopsLastCompletedOrderIdGetData, type GetLastCompletedOrderShopsLastCompletedOrderIdGetResponse, type GetLastPendingOrderShopsLastPendingOrderIdGetData, type GetLastPendingOrderShopsLastPendingOrderIdGetResponse, type GetMultiFaqGetData, type GetMultiFaqGetResponse, type GetMultiLicensesGetData, type GetMultiLicensesGetResponse, type GetMultiOrdersGetData, type GetMultiOrdersGetResponse, type GetMultiShopsGetData, type GetMultiShopsGetResponse, type GetMultiShopsShopIdAccountsGetData, type GetMultiShopsShopIdAccountsGetResponse, type GetMultiShopsShopIdAttributesGetData, type GetMultiShopsShopIdAttributesGetResponse, type GetMultiShopsShopIdCategoriesGetData, type GetMultiShopsShopIdCategoriesGetResponse, type GetMultiShopsShopIdCategoriesImagesGetData, type GetMultiShopsShopIdCategoriesImagesGetResponse, type GetMultiShopsShopIdProductsGetData, type GetMultiShopsShopIdProductsGetResponse, type GetMultiShopsShopIdProductsToTagsGetData, type GetMultiShopsShopIdProductsToTagsGetResponse, type GetMultiShopsShopIdTagsGetData, type GetMultiShopsShopIdTagsGetResponse, type GetMultiUsersGetData, type GetMultiUsersGetResponse, type GetMultiWithAttributesShopsShopIdProductsWithAttributesGetData, type GetMultiWithAttributesShopsShopIdProductsWithAttributesGetResponse, type GetOptionShopsShopIdAttributesAttributeIdOptionsOptionIdGetData, type GetOptionShopsShopIdAttributesAttributeIdOptionsOptionIdGetResponse, type GetOptionV2ShopsShopIdAttributeOptionsOptionIdGetData, type GetOptionV2ShopsShopIdAttributeOptionsOptionIdGetResponse, type GetOrderProductsInStockOrdersStockOrderIdGetData, type GetOrderProductsInStockOrdersStockOrderIdGetResponse, type GetProductsShopsShopIdPricesGetData, type GetProductsShopsShopIdPricesGetResponse, type GetRelationIdShopsShopIdProductsToTagsGetRelationIdGetData, type GetRelationIdShopsShopIdProductsToTagsGetRelationIdGetResponse, type GetSignedDownloadLinkDownloadsFileNameGetData, type GetSignedDownloadLinkDownloadsFileNameGetResponse, type GetSignedUploadUrlShopsShopIdImagesSignedUrlImageNameGetData, type GetSignedUploadUrlShopsShopIdImagesSignedUrlImageNameGetResponse, type GetSignedUrlImagesSignedUrlImageNameGetData, type GetSignedUrlImagesSignedUrlImageNameGetResponse, type GetUserMeUsersMeGetResponse, type GetWithOptionsShopsShopIdAttributesWithOptionsGetData, type GetWithOptionsShopsShopIdAttributesWithOptionsGetResponse, type HTTPValidationError, type Lang, type LicenseCreate, type LicenseSchema, type LicenseUpdate, type ListOptionsForShopShopsShopIdAttributeOptionsGetData, type ListOptionsForShopShopsShopIdAttributeOptionsGetResponse, type ListOptionsShopsShopIdAttributesAttributeIdOptionsGetData, type ListOptionsShopsShopIdAttributesAttributeIdOptionsGetResponse, type LoginAccessTokenLoginAccessTokenPostData, type LoginAccessTokenLoginAccessTokenPostResponse, type MoveImagesImagesMovePostResponse, type Msg, type NewFormFormsFormKeyPostData, type NewFormFormsFormKeyPostResponse, OpenAPI, type OpenAPIConfig, type OrderBase, type OrderCreate, type OrderCreated, type OrderItem, type OrderSchema, type OrderUpdate, type OrderUpdated, type PatchOrdersOrderIdPatchData, type PatchOrdersOrderIdPatchResponse, type ProductAttributeItem, type ProductAttributeOptionSelectionAdd, type ProductAttributeOptionSelectionReplace, type ProductAttributeValueBase, type ProductAttributeValueSchema, type ProductAttributeValuesCreateDeprecatedData, type ProductAttributeValuesCreateDeprecatedResponse, type ProductAttributeValuesCreateForProductData, type ProductAttributeValuesCreateForProductResponse, 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 ProductUpdate, type ProductWithAttributes, type ProductWithDefaultPrice, type ProductWithDetailsAndPrices, type PutShopsShopIdCategoriesImagesIdPutData, type PutShopsShopIdCategoriesImagesIdPutResponse, type RecoverPasswordPasswordRecoveryEmailPostData, type RecoverPasswordPasswordRecoveryEmailPostResponse, type RemoveIpShopsAllowedIpsIdRemovePostData, type RemoveIpShopsAllowedIpsIdRemovePostResponse, type ResetPasswordResetPasswordPostData, type ResetPasswordResetPasswordPostResponse, type SendDownloadLinkViaEmailDownloadsSendPostData, type SendDownloadLinkViaEmailDownloadsSendPostResponse, 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 ShowAllCompleteOrdersPerShopOrdersShopShopIdCompleteGetData, type ShowAllCompleteOrdersPerShopOrdersShopShopIdCompleteGetResponse, type ShowAllPendingOrdersPerShopOrdersShopShopIdPendingGetData, type ShowAllPendingOrdersPerShopOrdersShopShopIdPendingGetResponse, type SwapShopsShopIdCategoriesCategoryIdSwapPutData, type SwapShopsShopIdCategoriesCategoryIdSwapPutResponse, type SwapShopsShopIdProductsProductIdSwapPutData, type SwapShopsShopIdProductsProductIdSwapPutResponse, type TagCreate, type TagSchema, type TagTranslationBase, type TagUpdate, type TestTokenLoginTestTokenPostResponse, type Toggles, type TriggerErrorSentryGetData, type TriggerErrorSentryGetResponse, type UpdateConfigShopsConfigIdPutData, type UpdateConfigShopsConfigIdPutResponse, type UpdateFaqFaqIdPutData, type UpdateFaqFaqIdPutResponse, type UpdateOptionV2ShopsShopIdAttributeOptionsOptionIdPutData, type UpdateOptionV2ShopsShopIdAttributeOptionsOptionIdPutResponse, type UpdateOrdersOrderIdPutData, type UpdateOrdersOrderIdPutResponse, type UpdateShopsShopIdAccountsAccountIdPutData, type UpdateShopsShopIdAccountsAccountIdPutResponse, type UpdateShopsShopIdAttributesAttributeIdPutData, type UpdateShopsShopIdAttributesAttributeIdPutResponse, type UpdateShopsShopIdCategoriesCategoryIdPutData, type UpdateShopsShopIdCategoriesCategoryIdPutResponse, type UpdateShopsShopIdProductsProductIdPutData, type UpdateShopsShopIdProductsProductIdPutResponse, type UpdateShopsShopIdProductsToTagsProductToTagIdPutData, type UpdateShopsShopIdProductsToTagsProductToTagIdPutResponse, type UpdateShopsShopIdPutData, type UpdateShopsShopIdPutResponse, type UpdateShopsShopIdTagsTagIdPutData, type UpdateShopsShopIdTagsTagIdPutResponse, type UpdateUserMeUsersMePutData, type UpdateUserMeUsersMePutResponse, type UpdateUsersUserIdPutData, type UpdateUsersUserIdPutResponse, type User, type UserCreate, type UserUpdate, type ValidationError, addNewIpShopsAllowedIpsIdPost, cancelSubscriptionShopsShopIdStripeSubscriptionSubscriptionIdDelete, checkOrdersCheckIdsGet, createEarlyAccessPost, createFaqPost, createLicensesPost, createOptionShopsShopIdAttributesAttributeIdOptionsPost, createOptionV2ShopsShopIdAttributeOptionsPost, createOrdersPost, createPaymentIntentShopsShopIdStripePost, createShopsPost, createShopsShopIdAccountsPost, createShopsShopIdAttributesPost, createShopsShopIdCategoriesPost, createShopsShopIdProductsPost, createShopsShopIdProductsToTagsPost, createShopsShopIdTagsPost, createSubscriptionIntentShopsShopIdStripeSubscriptionPost, createUsersPost, deleteFaqFaqIdDelete, deleteImageShopsShopIdCategoriesImagesDeleteIdPut, deleteLicensesIdDelete, deleteOptionShopsShopIdAttributesAttributeIdOptionsOptionIdDelete, deleteOptionV2ShopsShopIdAttributeOptionsOptionIdDelete, deleteOrdersOrderIdDelete, deleteShopsShopIdAccountsAccountIdDelete, deleteShopsShopIdAttributesAttributeIdDelete, deleteShopsShopIdCategoriesCategoryIdDelete, deleteShopsShopIdDelete, deleteShopsShopIdProductsProductIdDelete, deleteShopsShopIdProductsToTagsProductToTagIdDelete, deleteShopsShopIdTagsTagIdDelete, deleteTemporaryImagesImagesDeleteTempPost, editLicensesIdPut, formInfoRequestFormPost, formTestFormsPost, getAllowedIpsShopsAllowedIpsIdGet, getAvailableAttributesShopsShopIdCategoriesCategoryIdAvailableAttributesGet, getByIdFaqIdGet, getByIdLicensesIdGet, getByIdOrdersIdGet, getByIdShopsIdGet, getByIdShopsShopIdAccountsIdGet, getByIdShopsShopIdAttributesIdAttributeIdGet, getByIdShopsShopIdCategoriesCategoryIdGet, getByIdShopsShopIdCategoriesImagesIdGet, getByIdShopsShopIdProductsProductIdGet, getByIdShopsShopIdProductsToTagsIdGet, getByIdShopsShopIdTagsTagIdGet, getByIdUsersUserIdGet, getByIdWithAttributesShopsShopIdProductsProductIdWithAttributesGet, getByIdWithOptionsDirectShopsShopIdAttributesAttributeIdWithOptionsGet, getByIdWithOptionsShopsShopIdAttributesIdAttributeIdWithOptionsGet, getByImproviserUserIdLicensesImproviserImproviserUserIdGet, getByNameShopsShopIdAttributesNameNameGet, getByNameShopsShopIdCategoriesNameNameGet, getByNameShopsShopIdTagsNameNameGet, getCacheStatusShopsCacheStatusIdGet, getCartProductsShopsShopIdPricesPost, getCategoryProductsShopsShopIdCategoriesCategoryIdProductsGet, getConfigShopsConfigIdGet, getFormsFormsGet, getHealthHealthGet, getLastCompletedOrderShopsLastCompletedOrderIdGet, getLastPendingOrderShopsLastPendingOrderIdGet, getMultiFaqGet, getMultiLicensesGet, getMultiOrdersGet, getMultiShopsGet, getMultiShopsShopIdAccountsGet, getMultiShopsShopIdAttributesGet, getMultiShopsShopIdCategoriesGet, getMultiShopsShopIdCategoriesImagesGet, getMultiShopsShopIdProductsGet, getMultiShopsShopIdProductsToTagsGet, getMultiShopsShopIdTagsGet, getMultiUsersGet, getMultiWithAttributesShopsShopIdProductsWithAttributesGet, getOptionShopsShopIdAttributesAttributeIdOptionsOptionIdGet, getOptionV2ShopsShopIdAttributeOptionsOptionIdGet, getOrderProductsInStockOrdersStockOrderIdGet, getProductsShopsShopIdPricesGet, getRelationIdShopsShopIdProductsToTagsGetRelationIdGet, getSignedDownloadLinkDownloadsFileNameGet, getSignedUploadUrlShopsShopIdImagesSignedUrlImageNameGet, getSignedUrlImagesSignedUrlImageNameGet, getUserMeUsersMeGet, getWithOptionsShopsShopIdAttributesWithOptionsGet, listOptionsForShopShopsShopIdAttributeOptionsGet, listOptionsShopsShopIdAttributesAttributeIdOptionsGet, loginAccessTokenLoginAccessTokenPost, moveImagesImagesMovePost, newFormFormsFormKeyPost, patchOrdersOrderIdPatch, productAttributeValuesCreateDeprecated, productAttributeValuesCreateForProduct, productAttributeValuesDelete, productAttributeValuesGet, productAttributeValuesList, productAttributeValuesReplaceForProduct, putShopsShopIdCategoriesImagesIdPut, recoverPasswordPasswordRecoveryEmailPost, removeIpShopsAllowedIpsIdRemovePost, resetPasswordResetPasswordPost, sendDownloadLinkViaEmailDownloadsSendPost, showAllCompleteOrdersPerShopOrdersShopShopIdCompleteGet, showAllPendingOrdersPerShopOrdersShopShopIdPendingGet, swapShopsShopIdCategoriesCategoryIdSwapPut, swapShopsShopIdProductsProductIdSwapPut, testTokenLoginTestTokenPost, triggerErrorSentryGet, updateConfigShopsConfigIdPut, updateFaqFaqIdPut, updateOptionV2ShopsShopIdAttributeOptionsOptionIdPut, updateOrdersOrderIdPut, updateShopsShopIdAccountsAccountIdPut, updateShopsShopIdAttributesAttributeIdPut, updateShopsShopIdCategoriesCategoryIdPut, updateShopsShopIdProductsProductIdPut, updateShopsShopIdProductsToTagsProductToTagIdPut, updateShopsShopIdPut, updateShopsShopIdTagsTagIdPut, updateUserMeUsersMePut, updateUsersUserIdPut };
8901
+ export { $AccountCreate, $AccountSchema, $AccountUpdate, $AdminAccountSchema, $AttributeCreate, $AttributeOptionCreate, $AttributeOptionSchema, $AttributeOptionUpdate, $AttributeSchema, $AttributeTranslationBase, $AttributeUpdate, $AttributeWithOptionsSchema, $AvailableAttributeSchema, $AvailableOptionSchema, $Body_login_access_token_login_access_token_post, $Body_reset_password_reset_password__post, $Body_update_user_me_users_me_put, $Cart, $CategoryCreate, $CategoryImageDelete, $CategorySchema, $CategoryTranslationBase, $CategoryUpdate, $ConfigurationContact, $ConfigurationLanguageFieldMenuItems, $ConfigurationLanguageFieldStaticTexts, $ConfigurationLanguageFields, $ConfigurationLanguages_Input, $ConfigurationLanguages_Output, $ConfigurationLegal, $ConfigurationV1_Input, $ConfigurationV1_Output, $DefaultPrice, $EarlyAccessCreate, $FaqCreate, $FaqCreated, $FaqSchema, $FaqUpdate, $FaqUpdated, $HTTPValidationError, $Lang, $LicenseCreate, $LicenseSchema, $LicenseUpdate, $LinkStripeBody, $Msg, type $OpenApiTs, $OrderBase, $OrderCreate, $OrderCreated, $OrderItem, $OrderSchema, $OrderUpdate, $OrderUpdated, $ProductAttributeItem, $ProductAttributeOptionSelectionAdd, $ProductAttributeOptionSelectionReplace, $ProductAttributeValueBase, $ProductAttributeValueSchema, $ProductCreate, $ProductResponse, $ProductToTagCreate, $ProductToTagSchema, $ProductToTagUpdate, $ProductTranslationBase, $ProductUpdate, $ProductWithAttributes, $ProductWithDefaultPrice, $ProductWithDetailsAndPrices, $ShopCacheStatus, $ShopConfig, $ShopConfigUpdate_Input, $ShopConfigUpdate_Output, $ShopCreate, $ShopIp, $ShopLastCompletedOrder, $ShopLastPendingOrder, $ShopSchema, $ShopType, $ShopTypeName, $ShopUpdate, $ShopWithPrices, $SyncStripeResponse, $TagCreate, $TagSchema, $TagTranslationBase, $TagUpdate, $Toggles, $User, $UserCreate, $UserUpdate, $ValidationError, type AccountCreate, type AccountSchema, type AccountUpdate, type AddNewIpShopsAllowedIpsIdPostData, type AddNewIpShopsAllowedIpsIdPostResponse, type AdminAccountSchema, ApiError, type AttributeCreate, type AttributeOptionCreate, type AttributeOptionSchema, type AttributeOptionUpdate, type AttributeSchema, type AttributeTranslationBase, type AttributeUpdate, type AttributeWithOptionsSchema, type AvailableAttributeSchema, type AvailableOptionSchema, type Body_login_access_token_login_access_token_post, type Body_reset_password_reset_password__post, type Body_update_user_me_users_me_put, CancelError, type CancelSubscriptionShopsShopIdStripeSubscriptionSubscriptionIdDeleteData, type CancelSubscriptionShopsShopIdStripeSubscriptionSubscriptionIdDeleteResponse, CancelablePromise, type Cart, type CategoryCreate, type CategoryImageDelete, type CategorySchema, type CategoryTranslationBase, type CategoryUpdate, type CheckOrdersCheckIdsGetData, type CheckOrdersCheckIdsGetResponse, type ConfigurationContact, type ConfigurationLanguageFieldMenuItems, type ConfigurationLanguageFieldStaticTexts, type ConfigurationLanguageFields, type ConfigurationLanguages_Input, type ConfigurationLanguages_Output, type ConfigurationLegal, type ConfigurationV1_Input, type ConfigurationV1_Output, type CreateEarlyAccessPostData, type CreateEarlyAccessPostResponse, type CreateFaqPostData, type CreateFaqPostResponse, type CreateLicensesPostData, type CreateLicensesPostResponse, type CreateOptionShopsShopIdAttributesAttributeIdOptionsPostData, type CreateOptionShopsShopIdAttributesAttributeIdOptionsPostResponse, type CreateOptionV2ShopsShopIdAttributeOptionsPostData, type CreateOptionV2ShopsShopIdAttributeOptionsPostResponse, type CreateOrdersPostData, type CreateOrdersPostResponse, type CreatePaymentIntentShopsShopIdStripePostData, type CreatePaymentIntentShopsShopIdStripePostResponse, type CreateShopsPostData, type CreateShopsPostResponse, type CreateShopsShopIdAccountsPostData, type CreateShopsShopIdAccountsPostResponse, type CreateShopsShopIdAttributesPostData, type CreateShopsShopIdAttributesPostResponse, type CreateShopsShopIdCategoriesPostData, type CreateShopsShopIdCategoriesPostResponse, type CreateShopsShopIdProductsPostData, type CreateShopsShopIdProductsPostResponse, type CreateShopsShopIdProductsToTagsPostData, type CreateShopsShopIdProductsToTagsPostResponse, type CreateShopsShopIdTagsPostData, type CreateShopsShopIdTagsPostResponse, type CreateSubscriptionIntentShopsShopIdStripeSubscriptionPostData, type CreateSubscriptionIntentShopsShopIdStripeSubscriptionPostResponse, type CreateUsersPostData, type CreateUsersPostResponse, type DefaultPrice, type DeleteFaqFaqIdDeleteData, type DeleteFaqFaqIdDeleteResponse, type DeleteImageShopsShopIdCategoriesImagesDeleteIdPutData, type DeleteImageShopsShopIdCategoriesImagesDeleteIdPutResponse, type DeleteLicensesIdDeleteData, type DeleteLicensesIdDeleteResponse, type DeleteOptionShopsShopIdAttributesAttributeIdOptionsOptionIdDeleteData, type DeleteOptionShopsShopIdAttributesAttributeIdOptionsOptionIdDeleteResponse, type DeleteOptionV2ShopsShopIdAttributeOptionsOptionIdDeleteData, type DeleteOptionV2ShopsShopIdAttributeOptionsOptionIdDeleteResponse, type DeleteOrdersOrderIdDeleteData, type DeleteOrdersOrderIdDeleteResponse, type DeleteShopsShopIdAccountsAccountIdDeleteData, type DeleteShopsShopIdAccountsAccountIdDeleteResponse, type DeleteShopsShopIdAttributesAttributeIdDeleteData, type DeleteShopsShopIdAttributesAttributeIdDeleteResponse, type DeleteShopsShopIdCategoriesCategoryIdDeleteData, type DeleteShopsShopIdCategoriesCategoryIdDeleteResponse, type DeleteShopsShopIdDeleteData, type DeleteShopsShopIdDeleteResponse, type DeleteShopsShopIdProductsProductIdDeleteData, type DeleteShopsShopIdProductsProductIdDeleteResponse, type DeleteShopsShopIdProductsToTagsProductToTagIdDeleteData, type DeleteShopsShopIdProductsToTagsProductToTagIdDeleteResponse, type DeleteShopsShopIdTagsTagIdDeleteData, type DeleteShopsShopIdTagsTagIdDeleteResponse, 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 GetAllowedIpsShopsAllowedIpsIdGetData, type GetAllowedIpsShopsAllowedIpsIdGetResponse, type GetAvailableAttributesShopsShopIdCategoriesCategoryIdAvailableAttributesGetData, type GetAvailableAttributesShopsShopIdCategoriesCategoryIdAvailableAttributesGetResponse, type GetByIdFaqIdGetData, type GetByIdFaqIdGetResponse, type GetByIdLicensesIdGetData, type GetByIdLicensesIdGetResponse, type GetByIdOrdersIdGetData, type GetByIdOrdersIdGetResponse, type GetByIdShopsIdGetData, type GetByIdShopsIdGetResponse, type GetByIdShopsShopIdAccountsIdGetData, type GetByIdShopsShopIdAccountsIdGetResponse, type GetByIdShopsShopIdAttributesIdAttributeIdGetData, type GetByIdShopsShopIdAttributesIdAttributeIdGetResponse, type GetByIdShopsShopIdCategoriesCategoryIdGetData, type GetByIdShopsShopIdCategoriesCategoryIdGetResponse, type GetByIdShopsShopIdCategoriesImagesIdGetData, type GetByIdShopsShopIdCategoriesImagesIdGetResponse, type GetByIdShopsShopIdProductsProductIdGetData, type GetByIdShopsShopIdProductsProductIdGetResponse, type GetByIdShopsShopIdProductsToTagsIdGetData, type GetByIdShopsShopIdProductsToTagsIdGetResponse, type GetByIdShopsShopIdTagsTagIdGetData, type GetByIdShopsShopIdTagsTagIdGetResponse, type GetByIdUsersUserIdGetData, type GetByIdUsersUserIdGetResponse, type GetByIdWithAttributesShopsShopIdProductsProductIdWithAttributesGetData, type GetByIdWithAttributesShopsShopIdProductsProductIdWithAttributesGetResponse, 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 GetCacheStatusShopsCacheStatusIdGetData, type GetCacheStatusShopsCacheStatusIdGetResponse, type GetCartProductsShopsShopIdPricesPostData, type GetCartProductsShopsShopIdPricesPostResponse, type GetCategoryProductsShopsShopIdCategoriesCategoryIdProductsGetData, type GetCategoryProductsShopsShopIdCategoriesCategoryIdProductsGetResponse, type GetConfigShopsConfigIdGetData, type GetConfigShopsConfigIdGetResponse, type GetFormsFormsGetResponse, type GetHealthHealthGetResponse, type GetLastCompletedOrderShopsLastCompletedOrderIdGetData, type GetLastCompletedOrderShopsLastCompletedOrderIdGetResponse, type GetLastPendingOrderShopsLastPendingOrderIdGetData, type GetLastPendingOrderShopsLastPendingOrderIdGetResponse, type GetMultiFaqGetData, type GetMultiFaqGetResponse, type GetMultiLicensesGetData, type GetMultiLicensesGetResponse, type GetMultiOrdersGetData, type GetMultiOrdersGetResponse, type GetMultiShopsGetData, type GetMultiShopsGetResponse, type GetMultiShopsShopIdAccountsGetData, type GetMultiShopsShopIdAccountsGetResponse, type GetMultiShopsShopIdAttributesGetData, type GetMultiShopsShopIdAttributesGetResponse, type GetMultiShopsShopIdCategoriesGetData, type GetMultiShopsShopIdCategoriesGetResponse, type GetMultiShopsShopIdCategoriesImagesGetData, type GetMultiShopsShopIdCategoriesImagesGetResponse, type GetMultiShopsShopIdProductsGetData, type GetMultiShopsShopIdProductsGetResponse, type GetMultiShopsShopIdProductsToTagsGetData, type GetMultiShopsShopIdProductsToTagsGetResponse, type GetMultiShopsShopIdTagsGetData, type GetMultiShopsShopIdTagsGetResponse, type GetMultiUsersGetData, type GetMultiUsersGetResponse, type GetMultiWithAttributesShopsShopIdProductsWithAttributesGetData, type GetMultiWithAttributesShopsShopIdProductsWithAttributesGetResponse, type GetOptionShopsShopIdAttributesAttributeIdOptionsOptionIdGetData, type GetOptionShopsShopIdAttributesAttributeIdOptionsOptionIdGetResponse, type GetOptionV2ShopsShopIdAttributeOptionsOptionIdGetData, type GetOptionV2ShopsShopIdAttributeOptionsOptionIdGetResponse, type GetOrderProductsInStockOrdersStockOrderIdGetData, type GetOrderProductsInStockOrdersStockOrderIdGetResponse, type GetProductsShopsShopIdPricesGetData, type GetProductsShopsShopIdPricesGetResponse, type GetRelationIdShopsShopIdProductsToTagsGetRelationIdGetData, type GetRelationIdShopsShopIdProductsToTagsGetRelationIdGetResponse, type GetSignedDownloadLinkDownloadsFileNameGetData, type GetSignedDownloadLinkDownloadsFileNameGetResponse, type GetSignedUploadUrlShopsShopIdImagesSignedUrlImageNameGetData, type GetSignedUploadUrlShopsShopIdImagesSignedUrlImageNameGetResponse, type GetSignedUrlImagesSignedUrlImageNameGetData, type GetSignedUrlImagesSignedUrlImageNameGetResponse, type GetStripeCustomerAdminAccountsIdStripeCustomerGetData, type GetStripeCustomerAdminAccountsIdStripeCustomerGetResponse, type GetUserMeUsersMeGetResponse, 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 ListOptionsForShopShopsShopIdAttributeOptionsGetData, type ListOptionsForShopShopsShopIdAttributeOptionsGetResponse, type ListOptionsShopsShopIdAttributesAttributeIdOptionsGetData, type ListOptionsShopsShopIdAttributesAttributeIdOptionsGetResponse, type LoginAccessTokenLoginAccessTokenPostData, type LoginAccessTokenLoginAccessTokenPostResponse, type MoveImagesImagesMovePostResponse, type Msg, type NewFormFormsFormKeyPostData, type NewFormFormsFormKeyPostResponse, OpenAPI, type OpenAPIConfig, type OrderBase, type OrderCreate, type OrderCreated, type OrderItem, type OrderSchema, type OrderUpdate, type OrderUpdated, type PatchOrdersOrderIdPatchData, type PatchOrdersOrderIdPatchResponse, type ProductAttributeItem, type ProductAttributeOptionSelectionAdd, type ProductAttributeOptionSelectionReplace, type ProductAttributeValueBase, type ProductAttributeValueSchema, type ProductAttributeValuesCreateDeprecatedData, type ProductAttributeValuesCreateDeprecatedResponse, type ProductAttributeValuesCreateForProductData, type ProductAttributeValuesCreateForProductResponse, 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 ProductUpdate, type ProductWithAttributes, type ProductWithDefaultPrice, type ProductWithDetailsAndPrices, type PutShopsShopIdCategoriesImagesIdPutData, type PutShopsShopIdCategoriesImagesIdPutResponse, type RecoverPasswordPasswordRecoveryEmailPostData, type RecoverPasswordPasswordRecoveryEmailPostResponse, type RemoveIpShopsAllowedIpsIdRemovePostData, type RemoveIpShopsAllowedIpsIdRemovePostResponse, type ResetPasswordResetPasswordPostData, type ResetPasswordResetPasswordPostResponse, type SendDownloadLinkViaEmailDownloadsSendPostData, type SendDownloadLinkViaEmailDownloadsSendPostResponse, 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 ShowAllCompleteOrdersPerShopOrdersShopShopIdCompleteGetData, type ShowAllCompleteOrdersPerShopOrdersShopShopIdCompleteGetResponse, type ShowAllPendingOrdersPerShopOrdersShopShopIdPendingGetData, type ShowAllPendingOrdersPerShopOrdersShopShopIdPendingGetResponse, type SwapShopsShopIdCategoriesCategoryIdSwapPutData, type SwapShopsShopIdCategoriesCategoryIdSwapPutResponse, type SwapShopsShopIdProductsProductIdSwapPutData, type SwapShopsShopIdProductsProductIdSwapPutResponse, type SyncStripeAdminAccountsIdSyncStripePostData, type SyncStripeAdminAccountsIdSyncStripePostResponse, type SyncStripeResponse, type TagCreate, type TagSchema, type TagTranslationBase, type TagUpdate, type TestTokenLoginTestTokenPostResponse, type Toggles, type TriggerErrorSentryGetData, type TriggerErrorSentryGetResponse, type UpdateConfigShopsConfigIdPutData, type UpdateConfigShopsConfigIdPutResponse, type UpdateFaqFaqIdPutData, type UpdateFaqFaqIdPutResponse, type UpdateOptionV2ShopsShopIdAttributeOptionsOptionIdPutData, type UpdateOptionV2ShopsShopIdAttributeOptionsOptionIdPutResponse, type UpdateOrdersOrderIdPutData, type UpdateOrdersOrderIdPutResponse, type UpdateShopsShopIdAccountsAccountIdPutData, type UpdateShopsShopIdAccountsAccountIdPutResponse, type UpdateShopsShopIdAttributesAttributeIdPutData, type UpdateShopsShopIdAttributesAttributeIdPutResponse, type UpdateShopsShopIdCategoriesCategoryIdPutData, type UpdateShopsShopIdCategoriesCategoryIdPutResponse, type UpdateShopsShopIdProductsProductIdPutData, type UpdateShopsShopIdProductsProductIdPutResponse, type UpdateShopsShopIdProductsToTagsProductToTagIdPutData, type UpdateShopsShopIdProductsToTagsProductToTagIdPutResponse, type UpdateShopsShopIdPutData, type UpdateShopsShopIdPutResponse, type UpdateShopsShopIdTagsTagIdPutData, type UpdateShopsShopIdTagsTagIdPutResponse, type UpdateUserMeUsersMePutData, type UpdateUserMeUsersMePutResponse, type UpdateUsersUserIdPutData, type UpdateUsersUserIdPutResponse, type User, type UserCreate, type UserUpdate, type ValidationError, addNewIpShopsAllowedIpsIdPost, cancelSubscriptionShopsShopIdStripeSubscriptionSubscriptionIdDelete, checkOrdersCheckIdsGet, createEarlyAccessPost, createFaqPost, createLicensesPost, createOptionShopsShopIdAttributesAttributeIdOptionsPost, createOptionV2ShopsShopIdAttributeOptionsPost, createOrdersPost, createPaymentIntentShopsShopIdStripePost, createShopsPost, createShopsShopIdAccountsPost, createShopsShopIdAttributesPost, createShopsShopIdCategoriesPost, createShopsShopIdProductsPost, createShopsShopIdProductsToTagsPost, createShopsShopIdTagsPost, createSubscriptionIntentShopsShopIdStripeSubscriptionPost, createUsersPost, deleteFaqFaqIdDelete, deleteImageShopsShopIdCategoriesImagesDeleteIdPut, deleteLicensesIdDelete, deleteOptionShopsShopIdAttributesAttributeIdOptionsOptionIdDelete, deleteOptionV2ShopsShopIdAttributeOptionsOptionIdDelete, deleteOrdersOrderIdDelete, deleteShopsShopIdAccountsAccountIdDelete, deleteShopsShopIdAttributesAttributeIdDelete, deleteShopsShopIdCategoriesCategoryIdDelete, deleteShopsShopIdDelete, deleteShopsShopIdProductsProductIdDelete, deleteShopsShopIdProductsToTagsProductToTagIdDelete, deleteShopsShopIdTagsTagIdDelete, deleteTemporaryImagesImagesDeleteTempPost, editLicensesIdPut, formInfoRequestFormPost, formTestFormsPost, getAccountAdminAccountsIdGet, getAllowedIpsShopsAllowedIpsIdGet, getAvailableAttributesShopsShopIdCategoriesCategoryIdAvailableAttributesGet, getByIdFaqIdGet, getByIdLicensesIdGet, getByIdOrdersIdGet, getByIdShopsIdGet, getByIdShopsShopIdAccountsIdGet, getByIdShopsShopIdAttributesIdAttributeIdGet, getByIdShopsShopIdCategoriesCategoryIdGet, getByIdShopsShopIdCategoriesImagesIdGet, getByIdShopsShopIdProductsProductIdGet, getByIdShopsShopIdProductsToTagsIdGet, getByIdShopsShopIdTagsTagIdGet, getByIdUsersUserIdGet, getByIdWithAttributesShopsShopIdProductsProductIdWithAttributesGet, getByIdWithOptionsDirectShopsShopIdAttributesAttributeIdWithOptionsGet, getByIdWithOptionsShopsShopIdAttributesIdAttributeIdWithOptionsGet, getByImproviserUserIdLicensesImproviserImproviserUserIdGet, getByNameShopsShopIdAttributesNameNameGet, getByNameShopsShopIdCategoriesNameNameGet, getByNameShopsShopIdTagsNameNameGet, getCacheStatusShopsCacheStatusIdGet, getCartProductsShopsShopIdPricesPost, getCategoryProductsShopsShopIdCategoriesCategoryIdProductsGet, getConfigShopsConfigIdGet, getFormsFormsGet, getHealthHealthGet, getLastCompletedOrderShopsLastCompletedOrderIdGet, getLastPendingOrderShopsLastPendingOrderIdGet, getMultiFaqGet, getMultiLicensesGet, getMultiOrdersGet, getMultiShopsGet, getMultiShopsShopIdAccountsGet, getMultiShopsShopIdAttributesGet, getMultiShopsShopIdCategoriesGet, getMultiShopsShopIdCategoriesImagesGet, getMultiShopsShopIdProductsGet, getMultiShopsShopIdProductsToTagsGet, getMultiShopsShopIdTagsGet, getMultiUsersGet, getMultiWithAttributesShopsShopIdProductsWithAttributesGet, getOptionShopsShopIdAttributesAttributeIdOptionsOptionIdGet, getOptionV2ShopsShopIdAttributeOptionsOptionIdGet, getOrderProductsInStockOrdersStockOrderIdGet, getProductsShopsShopIdPricesGet, getRelationIdShopsShopIdProductsToTagsGetRelationIdGet, getSignedDownloadLinkDownloadsFileNameGet, getSignedUploadUrlShopsShopIdImagesSignedUrlImageNameGet, getSignedUrlImagesSignedUrlImageNameGet, getStripeCustomerAdminAccountsIdStripeCustomerGet, getUserMeUsersMeGet, getWithOptionsShopsShopIdAttributesWithOptionsGet, linkStripeAdminAccountsIdLinkStripePost, listAccountsAdminAccountsGet, listOptionsForShopShopsShopIdAttributeOptionsGet, listOptionsShopsShopIdAttributesAttributeIdOptionsGet, loginAccessTokenLoginAccessTokenPost, moveImagesImagesMovePost, newFormFormsFormKeyPost, patchOrdersOrderIdPatch, productAttributeValuesCreateDeprecated, productAttributeValuesCreateForProduct, productAttributeValuesDelete, productAttributeValuesGet, productAttributeValuesList, productAttributeValuesReplaceForProduct, putShopsShopIdCategoriesImagesIdPut, recoverPasswordPasswordRecoveryEmailPost, removeIpShopsAllowedIpsIdRemovePost, resetPasswordResetPasswordPost, sendDownloadLinkViaEmailDownloadsSendPost, showAllCompleteOrdersPerShopOrdersShopShopIdCompleteGet, showAllPendingOrdersPerShopOrdersShopShopIdPendingGet, swapShopsShopIdCategoriesCategoryIdSwapPut, swapShopsShopIdProductsProductIdSwapPut, syncStripeAdminAccountsIdSyncStripePost, testTokenLoginTestTokenPost, triggerErrorSentryGet, updateConfigShopsConfigIdPut, updateFaqFaqIdPut, updateOptionV2ShopsShopIdAttributeOptionsOptionIdPut, updateOrdersOrderIdPut, updateShopsShopIdAccountsAccountIdPut, updateShopsShopIdAttributesAttributeIdPut, updateShopsShopIdCategoriesCategoryIdPut, updateShopsShopIdProductsProductIdPut, updateShopsShopIdProductsToTagsProductToTagIdPut, updateShopsShopIdPut, updateShopsShopIdTagsTagIdPut, updateUserMeUsersMePut, updateUsersUserIdPut };
package/dist/index.js CHANGED
@@ -126,7 +126,7 @@ var OpenAPI = {
126
126
  PASSWORD: void 0,
127
127
  TOKEN: void 0,
128
128
  USERNAME: void 0,
129
- VERSION: "0.2.6",
129
+ VERSION: "0.2.7",
130
130
  WITH_CREDENTIALS: false,
131
131
  interceptors: {
132
132
  request: new Interceptors(),
@@ -200,6 +200,97 @@ var $AccountUpdate = {
200
200
  required: ["shop_id", "name", "details"],
201
201
  title: "AccountUpdate"
202
202
  };
203
+ var $AdminAccountSchema = {
204
+ properties: {
205
+ id: {
206
+ type: "string",
207
+ format: "uuid",
208
+ title: "Id"
209
+ },
210
+ shop_id: {
211
+ anyOf: [
212
+ {
213
+ type: "string",
214
+ format: "uuid"
215
+ },
216
+ {
217
+ type: "null"
218
+ }
219
+ ],
220
+ title: "Shop Id"
221
+ },
222
+ shop_name: {
223
+ anyOf: [
224
+ {
225
+ type: "string"
226
+ },
227
+ {
228
+ type: "null"
229
+ }
230
+ ],
231
+ title: "Shop Name"
232
+ },
233
+ name: {
234
+ anyOf: [
235
+ {
236
+ type: "string"
237
+ },
238
+ {
239
+ type: "null"
240
+ }
241
+ ],
242
+ title: "Name"
243
+ },
244
+ hash_name: {
245
+ anyOf: [
246
+ {
247
+ type: "string"
248
+ },
249
+ {
250
+ type: "null"
251
+ }
252
+ ],
253
+ title: "Hash Name"
254
+ },
255
+ details: {
256
+ anyOf: [
257
+ {
258
+ type: "object"
259
+ },
260
+ {
261
+ type: "null"
262
+ }
263
+ ],
264
+ title: "Details"
265
+ },
266
+ stripe_customer_id: {
267
+ anyOf: [
268
+ {
269
+ type: "string"
270
+ },
271
+ {
272
+ type: "null"
273
+ }
274
+ ],
275
+ title: "Stripe Customer Id"
276
+ },
277
+ stripe_synced_at: {
278
+ anyOf: [
279
+ {
280
+ type: "string",
281
+ format: "date-time"
282
+ },
283
+ {
284
+ type: "null"
285
+ }
286
+ ],
287
+ title: "Stripe Synced At"
288
+ }
289
+ },
290
+ type: "object",
291
+ required: ["id"],
292
+ title: "AdminAccountSchema"
293
+ };
203
294
  var $AttributeCreate = {
204
295
  properties: {
205
296
  name: {
@@ -1880,6 +1971,17 @@ var $LicenseUpdate = {
1880
1971
  required: ["seats", "end_date"],
1881
1972
  title: "LicenseUpdate"
1882
1973
  };
1974
+ var $LinkStripeBody = {
1975
+ properties: {
1976
+ stripe_customer_id: {
1977
+ type: "string",
1978
+ title: "Stripe Customer Id"
1979
+ }
1980
+ },
1981
+ type: "object",
1982
+ required: ["stripe_customer_id"],
1983
+ title: "LinkStripeBody"
1984
+ };
1883
1985
  var $Msg = {
1884
1986
  properties: {
1885
1987
  msg: {
@@ -4663,6 +4765,36 @@ var $ShopWithPrices = {
4663
4765
  ],
4664
4766
  title: "ShopWithPrices"
4665
4767
  };
4768
+ var $SyncStripeResponse = {
4769
+ properties: {
4770
+ id: {
4771
+ type: "string",
4772
+ format: "uuid",
4773
+ title: "Id"
4774
+ },
4775
+ stripe_customer_id: {
4776
+ type: "string",
4777
+ title: "Stripe Customer Id"
4778
+ },
4779
+ stripe_synced_at: {
4780
+ type: "string",
4781
+ format: "date-time",
4782
+ title: "Stripe Synced At"
4783
+ },
4784
+ stripe_customer: {
4785
+ type: "object",
4786
+ title: "Stripe Customer"
4787
+ }
4788
+ },
4789
+ type: "object",
4790
+ required: [
4791
+ "id",
4792
+ "stripe_customer_id",
4793
+ "stripe_synced_at",
4794
+ "stripe_customer"
4795
+ ],
4796
+ title: "SyncStripeResponse"
4797
+ };
4666
4798
  var $TagCreate = {
4667
4799
  properties: {
4668
4800
  shop_id: {
@@ -5536,6 +5668,86 @@ var getByImproviserUserIdLicensesImproviserImproviserUserIdGet = (data) => {
5536
5668
  }
5537
5669
  });
5538
5670
  };
5671
+ var listAccountsAdminAccountsGet = (data = {}) => {
5672
+ return request(OpenAPI, {
5673
+ method: "GET",
5674
+ url: "/admin/accounts",
5675
+ query: {
5676
+ shop_id: data.shopId,
5677
+ missing_stripe: data.missingStripe,
5678
+ skip: data.skip,
5679
+ limit: data.limit,
5680
+ filter: data.filter,
5681
+ sort: data.sort
5682
+ },
5683
+ errors: {
5684
+ 403: "Not a superuser",
5685
+ 422: "Validation Error"
5686
+ }
5687
+ });
5688
+ };
5689
+ var getAccountAdminAccountsIdGet = (data) => {
5690
+ return request(OpenAPI, {
5691
+ method: "GET",
5692
+ url: "/admin/accounts/{id}",
5693
+ path: {
5694
+ id: data.id
5695
+ },
5696
+ errors: {
5697
+ 403: "Not a superuser",
5698
+ 404: "Account not found",
5699
+ 422: "Validation Error"
5700
+ }
5701
+ });
5702
+ };
5703
+ var getStripeCustomerAdminAccountsIdStripeCustomerGet = (data) => {
5704
+ return request(OpenAPI, {
5705
+ method: "GET",
5706
+ url: "/admin/accounts/{id}/stripe-customer",
5707
+ path: {
5708
+ id: data.id
5709
+ },
5710
+ errors: {
5711
+ 400: "Account or shop not configured for Stripe",
5712
+ 403: "Not a superuser",
5713
+ 404: "Account not found",
5714
+ 422: "Validation Error",
5715
+ 502: "Stripe API error"
5716
+ }
5717
+ });
5718
+ };
5719
+ var syncStripeAdminAccountsIdSyncStripePost = (data) => {
5720
+ return request(OpenAPI, {
5721
+ method: "POST",
5722
+ url: "/admin/accounts/{id}/sync-stripe",
5723
+ path: {
5724
+ id: data.id
5725
+ },
5726
+ errors: {
5727
+ 400: "Account or shop not configured for Stripe",
5728
+ 403: "Not a superuser",
5729
+ 404: "Account not found",
5730
+ 422: "Validation Error",
5731
+ 502: "Stripe API error"
5732
+ }
5733
+ });
5734
+ };
5735
+ var linkStripeAdminAccountsIdLinkStripePost = (data) => {
5736
+ return request(OpenAPI, {
5737
+ method: "POST",
5738
+ url: "/admin/accounts/{id}/link-stripe",
5739
+ path: {
5740
+ id: data.id
5741
+ },
5742
+ body: data.requestBody,
5743
+ mediaType: "application/json",
5744
+ errors: {
5745
+ 403: "Not a superuser",
5746
+ 404: "Account not found",
5747
+ 422: "Validation Error"
5748
+ }
5749
+ });
5750
+ };
5539
5751
  var getSignedDownloadLinkDownloadsFileNameGet = (data) => {
5540
5752
  return request(OpenAPI, {
5541
5753
  method: "GET",
@@ -6972,6 +7184,7 @@ export {
6972
7184
  $AccountCreate,
6973
7185
  $AccountSchema,
6974
7186
  $AccountUpdate,
7187
+ $AdminAccountSchema,
6975
7188
  $AttributeCreate,
6976
7189
  $AttributeOptionCreate,
6977
7190
  $AttributeOptionSchema,
@@ -7012,6 +7225,7 @@ export {
7012
7225
  $LicenseCreate,
7013
7226
  $LicenseSchema,
7014
7227
  $LicenseUpdate,
7228
+ $LinkStripeBody,
7015
7229
  $Msg,
7016
7230
  $OrderBase,
7017
7231
  $OrderCreate,
@@ -7048,6 +7262,7 @@ export {
7048
7262
  $ShopTypeName,
7049
7263
  $ShopUpdate,
7050
7264
  $ShopWithPrices,
7265
+ $SyncStripeResponse,
7051
7266
  $TagCreate,
7052
7267
  $TagSchema,
7053
7268
  $TagTranslationBase,
@@ -7097,6 +7312,7 @@ export {
7097
7312
  editLicensesIdPut,
7098
7313
  formInfoRequestFormPost,
7099
7314
  formTestFormsPost,
7315
+ getAccountAdminAccountsIdGet,
7100
7316
  getAllowedIpsShopsAllowedIpsIdGet,
7101
7317
  getAvailableAttributesShopsShopIdCategoriesCategoryIdAvailableAttributesGet,
7102
7318
  getByIdFaqIdGet,
@@ -7147,8 +7363,11 @@ export {
7147
7363
  getSignedDownloadLinkDownloadsFileNameGet,
7148
7364
  getSignedUploadUrlShopsShopIdImagesSignedUrlImageNameGet,
7149
7365
  getSignedUrlImagesSignedUrlImageNameGet,
7366
+ getStripeCustomerAdminAccountsIdStripeCustomerGet,
7150
7367
  getUserMeUsersMeGet,
7151
7368
  getWithOptionsShopsShopIdAttributesWithOptionsGet,
7369
+ linkStripeAdminAccountsIdLinkStripePost,
7370
+ listAccountsAdminAccountsGet,
7152
7371
  listOptionsForShopShopsShopIdAttributeOptionsGet,
7153
7372
  listOptionsShopsShopIdAttributesAttributeIdOptionsGet,
7154
7373
  loginAccessTokenLoginAccessTokenPost,
@@ -7170,6 +7389,7 @@ export {
7170
7389
  showAllPendingOrdersPerShopOrdersShopShopIdPendingGet,
7171
7390
  swapShopsShopIdCategoriesCategoryIdSwapPut,
7172
7391
  swapShopsShopIdProductsProductIdSwapPut,
7392
+ syncStripeAdminAccountsIdSyncStripePost,
7173
7393
  testTokenLoginTestTokenPost,
7174
7394
  triggerErrorSentryGet,
7175
7395
  updateConfigShopsConfigIdPut,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shopvirge/shopvirge-client",
3
- "version": "0.2.6",
3
+ "version": "0.2.7",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },