@shopvirge/shopvirge-client 0.2.5 → 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 +524 -1
- package/dist/index.js +331 -1
- package/package.json +1 -1
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: {
|
|
@@ -357,6 +427,65 @@ declare const $AttributeWithOptionsSchema: {
|
|
|
357
427
|
readonly required: readonly ["shop_id", "name", "id"];
|
|
358
428
|
readonly title: "AttributeWithOptionsSchema";
|
|
359
429
|
};
|
|
430
|
+
declare const $AvailableAttributeSchema: {
|
|
431
|
+
readonly properties: {
|
|
432
|
+
readonly id: {
|
|
433
|
+
readonly type: "string";
|
|
434
|
+
readonly format: "uuid";
|
|
435
|
+
readonly title: "Id";
|
|
436
|
+
};
|
|
437
|
+
readonly name: {
|
|
438
|
+
readonly type: "string";
|
|
439
|
+
readonly title: "Name";
|
|
440
|
+
};
|
|
441
|
+
readonly unit: {
|
|
442
|
+
readonly anyOf: readonly [{
|
|
443
|
+
readonly type: "string";
|
|
444
|
+
}, {
|
|
445
|
+
readonly type: "null";
|
|
446
|
+
}];
|
|
447
|
+
readonly title: "Unit";
|
|
448
|
+
};
|
|
449
|
+
readonly translation: {
|
|
450
|
+
readonly anyOf: readonly [{
|
|
451
|
+
readonly $ref: "#/components/schemas/AttributeTranslationBase";
|
|
452
|
+
}, {
|
|
453
|
+
readonly type: "null";
|
|
454
|
+
}];
|
|
455
|
+
};
|
|
456
|
+
readonly options: {
|
|
457
|
+
readonly items: {
|
|
458
|
+
readonly $ref: "#/components/schemas/AvailableOptionSchema";
|
|
459
|
+
};
|
|
460
|
+
readonly type: "array";
|
|
461
|
+
readonly title: "Options";
|
|
462
|
+
readonly default: readonly [];
|
|
463
|
+
};
|
|
464
|
+
};
|
|
465
|
+
readonly type: "object";
|
|
466
|
+
readonly required: readonly ["id", "name"];
|
|
467
|
+
readonly title: "AvailableAttributeSchema";
|
|
468
|
+
};
|
|
469
|
+
declare const $AvailableOptionSchema: {
|
|
470
|
+
readonly properties: {
|
|
471
|
+
readonly id: {
|
|
472
|
+
readonly type: "string";
|
|
473
|
+
readonly format: "uuid";
|
|
474
|
+
readonly title: "Id";
|
|
475
|
+
};
|
|
476
|
+
readonly value_key: {
|
|
477
|
+
readonly type: "string";
|
|
478
|
+
readonly title: "Value Key";
|
|
479
|
+
};
|
|
480
|
+
readonly product_count: {
|
|
481
|
+
readonly type: "integer";
|
|
482
|
+
readonly title: "Product Count";
|
|
483
|
+
};
|
|
484
|
+
};
|
|
485
|
+
readonly type: "object";
|
|
486
|
+
readonly required: readonly ["id", "value_key", "product_count"];
|
|
487
|
+
readonly title: "AvailableOptionSchema";
|
|
488
|
+
};
|
|
360
489
|
declare const $Body_login_access_token_login_access_token_post: {
|
|
361
490
|
readonly properties: {
|
|
362
491
|
readonly grant_type: {
|
|
@@ -1467,6 +1596,17 @@ declare const $LicenseUpdate: {
|
|
|
1467
1596
|
readonly required: readonly ["seats", "end_date"];
|
|
1468
1597
|
readonly title: "LicenseUpdate";
|
|
1469
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
|
+
};
|
|
1470
1610
|
declare const $Msg: {
|
|
1471
1611
|
readonly properties: {
|
|
1472
1612
|
readonly msg: {
|
|
@@ -3611,6 +3751,31 @@ declare const $ShopWithPrices: {
|
|
|
3611
3751
|
readonly required: readonly ["name", "description", "vat_standard", "vat_lower_1", "vat_lower_2", "vat_lower_3", "vat_special", "vat_zero", "id"];
|
|
3612
3752
|
readonly title: "ShopWithPrices";
|
|
3613
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
|
+
};
|
|
3614
3779
|
declare const $TagCreate: {
|
|
3615
3780
|
readonly properties: {
|
|
3616
3781
|
readonly shop_id: {
|
|
@@ -3747,6 +3912,11 @@ declare const $Toggles: {
|
|
|
3747
3912
|
readonly title: "Enable Stock On Products";
|
|
3748
3913
|
readonly default: false;
|
|
3749
3914
|
};
|
|
3915
|
+
readonly enable_attributes_for_categories: {
|
|
3916
|
+
readonly type: "boolean";
|
|
3917
|
+
readonly title: "Enable Attributes For Categories";
|
|
3918
|
+
readonly default: false;
|
|
3919
|
+
};
|
|
3750
3920
|
};
|
|
3751
3921
|
readonly type: "object";
|
|
3752
3922
|
readonly title: "Toggles";
|
|
@@ -3931,6 +4101,18 @@ type AccountUpdate = {
|
|
|
3931
4101
|
[key: string]: unknown;
|
|
3932
4102
|
};
|
|
3933
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
|
+
};
|
|
3934
4116
|
type AttributeCreate = {
|
|
3935
4117
|
name: string;
|
|
3936
4118
|
unit?: string | null;
|
|
@@ -3973,6 +4155,18 @@ type AttributeWithOptionsSchema = {
|
|
|
3973
4155
|
id: string;
|
|
3974
4156
|
options?: Array<AttributeOptionSchema>;
|
|
3975
4157
|
};
|
|
4158
|
+
type AvailableAttributeSchema = {
|
|
4159
|
+
id: string;
|
|
4160
|
+
name: string;
|
|
4161
|
+
unit?: string | null;
|
|
4162
|
+
translation?: AttributeTranslationBase | null;
|
|
4163
|
+
options?: Array<AvailableOptionSchema>;
|
|
4164
|
+
};
|
|
4165
|
+
type AvailableOptionSchema = {
|
|
4166
|
+
id: string;
|
|
4167
|
+
value_key: string;
|
|
4168
|
+
product_count: number;
|
|
4169
|
+
};
|
|
3976
4170
|
type Body_login_access_token_login_access_token_post = {
|
|
3977
4171
|
grant_type?: string | null;
|
|
3978
4172
|
username: string;
|
|
@@ -4212,6 +4406,9 @@ type LicenseUpdate = {
|
|
|
4212
4406
|
seats: number | null;
|
|
4213
4407
|
end_date: string | null;
|
|
4214
4408
|
};
|
|
4409
|
+
type LinkStripeBody = {
|
|
4410
|
+
stripe_customer_id: string;
|
|
4411
|
+
};
|
|
4215
4412
|
type Msg = {
|
|
4216
4413
|
msg: string;
|
|
4217
4414
|
};
|
|
@@ -4643,6 +4840,14 @@ type ShopWithPrices = {
|
|
|
4643
4840
|
vat_zero: number;
|
|
4644
4841
|
id: string;
|
|
4645
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
|
+
};
|
|
4646
4851
|
type TagCreate = {
|
|
4647
4852
|
shop_id: string;
|
|
4648
4853
|
name: string;
|
|
@@ -4674,6 +4879,7 @@ type Toggles = {
|
|
|
4674
4879
|
language_alt2_enabled?: boolean;
|
|
4675
4880
|
product_call_to_action_enabled?: boolean;
|
|
4676
4881
|
enable_stock_on_products?: boolean;
|
|
4882
|
+
enable_attributes_for_categories?: boolean;
|
|
4677
4883
|
};
|
|
4678
4884
|
type User = {
|
|
4679
4885
|
email?: string | null;
|
|
@@ -4798,6 +5004,46 @@ type GetByImproviserUserIdLicensesImproviserImproviserUserIdGetData = {
|
|
|
4798
5004
|
improviserUserId: string;
|
|
4799
5005
|
};
|
|
4800
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;
|
|
4801
5047
|
type GetSignedDownloadLinkDownloadsFileNameGetData = {
|
|
4802
5048
|
fileName: string;
|
|
4803
5049
|
};
|
|
@@ -5001,6 +5247,30 @@ type SwapShopsShopIdCategoriesCategoryIdSwapPutData = {
|
|
|
5001
5247
|
shopId: string;
|
|
5002
5248
|
};
|
|
5003
5249
|
type SwapShopsShopIdCategoriesCategoryIdSwapPutResponse = unknown;
|
|
5250
|
+
type GetAvailableAttributesShopsShopIdCategoriesCategoryIdAvailableAttributesGetData = {
|
|
5251
|
+
categoryId: string;
|
|
5252
|
+
shopId: string;
|
|
5253
|
+
};
|
|
5254
|
+
type GetAvailableAttributesShopsShopIdCategoriesCategoryIdAvailableAttributesGetResponse = Array<AvailableAttributeSchema>;
|
|
5255
|
+
type GetCategoryProductsShopsShopIdCategoriesCategoryIdProductsGetData = {
|
|
5256
|
+
attributeId?: string | null;
|
|
5257
|
+
attributeName?: string | null;
|
|
5258
|
+
categoryId: string;
|
|
5259
|
+
/**
|
|
5260
|
+
* 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.
|
|
5261
|
+
*/
|
|
5262
|
+
filter?: Array<string>;
|
|
5263
|
+
limit?: number;
|
|
5264
|
+
optionId?: Array<string>;
|
|
5265
|
+
optionValueKey?: Array<string>;
|
|
5266
|
+
shopId: string;
|
|
5267
|
+
skip?: number;
|
|
5268
|
+
/**
|
|
5269
|
+
* 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.
|
|
5270
|
+
*/
|
|
5271
|
+
sort?: Array<string>;
|
|
5272
|
+
};
|
|
5273
|
+
type GetCategoryProductsShopsShopIdCategoriesCategoryIdProductsGetResponse = Array<ProductWithAttributes>;
|
|
5004
5274
|
type GetMultiShopsShopIdCategoriesImagesGetData = {
|
|
5005
5275
|
/**
|
|
5006
5276
|
* 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.
|
|
@@ -5738,6 +6008,135 @@ type $OpenApiTs = {
|
|
|
5738
6008
|
};
|
|
5739
6009
|
};
|
|
5740
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
|
+
};
|
|
5741
6140
|
'/downloads/{file_name}': {
|
|
5742
6141
|
get: {
|
|
5743
6142
|
req: GetSignedDownloadLinkDownloadsFileNameGetData;
|
|
@@ -6226,6 +6625,36 @@ type $OpenApiTs = {
|
|
|
6226
6625
|
};
|
|
6227
6626
|
};
|
|
6228
6627
|
};
|
|
6628
|
+
'/shops/{shop_id}/categories/{category_id}/available-attributes': {
|
|
6629
|
+
get: {
|
|
6630
|
+
req: GetAvailableAttributesShopsShopIdCategoriesCategoryIdAvailableAttributesGetData;
|
|
6631
|
+
res: {
|
|
6632
|
+
/**
|
|
6633
|
+
* Successful Response
|
|
6634
|
+
*/
|
|
6635
|
+
200: Array<AvailableAttributeSchema>;
|
|
6636
|
+
/**
|
|
6637
|
+
* Validation Error
|
|
6638
|
+
*/
|
|
6639
|
+
422: HTTPValidationError;
|
|
6640
|
+
};
|
|
6641
|
+
};
|
|
6642
|
+
};
|
|
6643
|
+
'/shops/{shop_id}/categories/{category_id}/products': {
|
|
6644
|
+
get: {
|
|
6645
|
+
req: GetCategoryProductsShopsShopIdCategoriesCategoryIdProductsGetData;
|
|
6646
|
+
res: {
|
|
6647
|
+
/**
|
|
6648
|
+
* Successful Response
|
|
6649
|
+
*/
|
|
6650
|
+
200: Array<ProductWithAttributes>;
|
|
6651
|
+
/**
|
|
6652
|
+
* Validation Error
|
|
6653
|
+
*/
|
|
6654
|
+
422: HTTPValidationError;
|
|
6655
|
+
};
|
|
6656
|
+
};
|
|
6657
|
+
};
|
|
6229
6658
|
'/shops/{shop_id}/categories-images/': {
|
|
6230
6659
|
get: {
|
|
6231
6660
|
req: GetMultiShopsShopIdCategoriesImagesGetData;
|
|
@@ -7363,6 +7792,66 @@ declare const deleteLicensesIdDelete: (data: DeleteLicensesIdDeleteData) => Canc
|
|
|
7363
7792
|
* @throws ApiError
|
|
7364
7793
|
*/
|
|
7365
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>;
|
|
7366
7855
|
/**
|
|
7367
7856
|
* Get Signed Download Link
|
|
7368
7857
|
* @param data The data for the request.
|
|
@@ -7676,6 +8165,40 @@ declare const getByNameShopsShopIdCategoriesNameNameGet: (data: GetByNameShopsSh
|
|
|
7676
8165
|
* @throws ApiError
|
|
7677
8166
|
*/
|
|
7678
8167
|
declare const swapShopsShopIdCategoriesCategoryIdSwapPut: (data: SwapShopsShopIdCategoriesCategoryIdSwapPutData) => CancelablePromise<SwapShopsShopIdCategoriesCategoryIdSwapPutResponse>;
|
|
8168
|
+
/**
|
|
8169
|
+
* Get available filter attributes for a category
|
|
8170
|
+
* Returns attributes actually used by products in this category, with option counts.
|
|
8171
|
+
* @param data The data for the request.
|
|
8172
|
+
* @param data.shopId
|
|
8173
|
+
* @param data.categoryId
|
|
8174
|
+
* @returns AvailableAttributeSchema Successful Response
|
|
8175
|
+
* @throws ApiError
|
|
8176
|
+
*/
|
|
8177
|
+
declare const getAvailableAttributesShopsShopIdCategoriesCategoryIdAvailableAttributesGet: (data: GetAvailableAttributesShopsShopIdCategoriesCategoryIdAvailableAttributesGetData) => CancelablePromise<GetAvailableAttributesShopsShopIdCategoriesCategoryIdAvailableAttributesGetResponse>;
|
|
8178
|
+
/**
|
|
8179
|
+
* List products in a category with attribute filters
|
|
8180
|
+
* Fetch products in a category along with their attributes. Supports attribute-based filtering.
|
|
8181
|
+
*
|
|
8182
|
+
* Attribute filters (mutually exclusive — only one can be used at a time):
|
|
8183
|
+
* * `option_id` array[UUID]: Filter by attribute option UUIDs.
|
|
8184
|
+
* * `attribute_id` UUID: Filter by attribute UUID.
|
|
8185
|
+
* * `option_value_key` array[str]: Filter by option value keys (e.g., 'S', 'RED').
|
|
8186
|
+
* * `attribute_name` str: Filter by attribute name.
|
|
8187
|
+
* @param data The data for the request.
|
|
8188
|
+
* @param data.shopId
|
|
8189
|
+
* @param data.categoryId
|
|
8190
|
+
* @param data.optionId
|
|
8191
|
+
* @param data.attributeId
|
|
8192
|
+
* @param data.optionValueKey
|
|
8193
|
+
* @param data.attributeName
|
|
8194
|
+
* @param data.skip
|
|
8195
|
+
* @param data.limit
|
|
8196
|
+
* @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.
|
|
8197
|
+
* @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.
|
|
8198
|
+
* @returns ProductWithAttributes Successful Response
|
|
8199
|
+
* @throws ApiError
|
|
8200
|
+
*/
|
|
8201
|
+
declare const getCategoryProductsShopsShopIdCategoriesCategoryIdProductsGet: (data: GetCategoryProductsShopsShopIdCategoriesCategoryIdProductsGetData) => CancelablePromise<GetCategoryProductsShopsShopIdCategoriesCategoryIdProductsGetResponse>;
|
|
7679
8202
|
/**
|
|
7680
8203
|
* Get Multi
|
|
7681
8204
|
* List all product category images
|
|
@@ -8375,4 +8898,4 @@ declare const updateFaqFaqIdPut: (data: UpdateFaqFaqIdPutData) => CancelableProm
|
|
|
8375
8898
|
*/
|
|
8376
8899
|
declare const deleteFaqFaqIdDelete: (data: DeleteFaqFaqIdDeleteData) => CancelablePromise<DeleteFaqFaqIdDeleteResponse>;
|
|
8377
8900
|
|
|
8378
|
-
export { $AccountCreate, $AccountSchema, $AccountUpdate, $AttributeCreate, $AttributeOptionCreate, $AttributeOptionSchema, $AttributeOptionUpdate, $AttributeSchema, $AttributeTranslationBase, $AttributeUpdate, $AttributeWithOptionsSchema, $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 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 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 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, getByIdFaqIdGet, getByIdLicensesIdGet, getByIdOrdersIdGet, getByIdShopsIdGet, getByIdShopsShopIdAccountsIdGet, getByIdShopsShopIdAttributesIdAttributeIdGet, getByIdShopsShopIdCategoriesCategoryIdGet, getByIdShopsShopIdCategoriesImagesIdGet, getByIdShopsShopIdProductsProductIdGet, getByIdShopsShopIdProductsToTagsIdGet, getByIdShopsShopIdTagsTagIdGet, getByIdUsersUserIdGet, getByIdWithAttributesShopsShopIdProductsProductIdWithAttributesGet, getByIdWithOptionsDirectShopsShopIdAttributesAttributeIdWithOptionsGet, getByIdWithOptionsShopsShopIdAttributesIdAttributeIdWithOptionsGet, getByImproviserUserIdLicensesImproviserImproviserUserIdGet, getByNameShopsShopIdAttributesNameNameGet, getByNameShopsShopIdCategoriesNameNameGet, getByNameShopsShopIdTagsNameNameGet, getCacheStatusShopsCacheStatusIdGet, getCartProductsShopsShopIdPricesPost, 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.
|
|
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: {
|
|
@@ -443,6 +534,71 @@ var $AttributeWithOptionsSchema = {
|
|
|
443
534
|
required: ["shop_id", "name", "id"],
|
|
444
535
|
title: "AttributeWithOptionsSchema"
|
|
445
536
|
};
|
|
537
|
+
var $AvailableAttributeSchema = {
|
|
538
|
+
properties: {
|
|
539
|
+
id: {
|
|
540
|
+
type: "string",
|
|
541
|
+
format: "uuid",
|
|
542
|
+
title: "Id"
|
|
543
|
+
},
|
|
544
|
+
name: {
|
|
545
|
+
type: "string",
|
|
546
|
+
title: "Name"
|
|
547
|
+
},
|
|
548
|
+
unit: {
|
|
549
|
+
anyOf: [
|
|
550
|
+
{
|
|
551
|
+
type: "string"
|
|
552
|
+
},
|
|
553
|
+
{
|
|
554
|
+
type: "null"
|
|
555
|
+
}
|
|
556
|
+
],
|
|
557
|
+
title: "Unit"
|
|
558
|
+
},
|
|
559
|
+
translation: {
|
|
560
|
+
anyOf: [
|
|
561
|
+
{
|
|
562
|
+
$ref: "#/components/schemas/AttributeTranslationBase"
|
|
563
|
+
},
|
|
564
|
+
{
|
|
565
|
+
type: "null"
|
|
566
|
+
}
|
|
567
|
+
]
|
|
568
|
+
},
|
|
569
|
+
options: {
|
|
570
|
+
items: {
|
|
571
|
+
$ref: "#/components/schemas/AvailableOptionSchema"
|
|
572
|
+
},
|
|
573
|
+
type: "array",
|
|
574
|
+
title: "Options",
|
|
575
|
+
default: []
|
|
576
|
+
}
|
|
577
|
+
},
|
|
578
|
+
type: "object",
|
|
579
|
+
required: ["id", "name"],
|
|
580
|
+
title: "AvailableAttributeSchema"
|
|
581
|
+
};
|
|
582
|
+
var $AvailableOptionSchema = {
|
|
583
|
+
properties: {
|
|
584
|
+
id: {
|
|
585
|
+
type: "string",
|
|
586
|
+
format: "uuid",
|
|
587
|
+
title: "Id"
|
|
588
|
+
},
|
|
589
|
+
value_key: {
|
|
590
|
+
type: "string",
|
|
591
|
+
title: "Value Key"
|
|
592
|
+
},
|
|
593
|
+
product_count: {
|
|
594
|
+
type: "integer",
|
|
595
|
+
title: "Product Count"
|
|
596
|
+
}
|
|
597
|
+
},
|
|
598
|
+
type: "object",
|
|
599
|
+
required: ["id", "value_key", "product_count"],
|
|
600
|
+
title: "AvailableOptionSchema"
|
|
601
|
+
};
|
|
446
602
|
var $Body_login_access_token_login_access_token_post = {
|
|
447
603
|
properties: {
|
|
448
604
|
grant_type: {
|
|
@@ -1815,6 +1971,17 @@ var $LicenseUpdate = {
|
|
|
1815
1971
|
required: ["seats", "end_date"],
|
|
1816
1972
|
title: "LicenseUpdate"
|
|
1817
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
|
+
};
|
|
1818
1985
|
var $Msg = {
|
|
1819
1986
|
properties: {
|
|
1820
1987
|
msg: {
|
|
@@ -4598,6 +4765,36 @@ var $ShopWithPrices = {
|
|
|
4598
4765
|
],
|
|
4599
4766
|
title: "ShopWithPrices"
|
|
4600
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
|
+
};
|
|
4601
4798
|
var $TagCreate = {
|
|
4602
4799
|
properties: {
|
|
4603
4800
|
shop_id: {
|
|
@@ -4739,6 +4936,11 @@ var $Toggles = {
|
|
|
4739
4936
|
type: "boolean",
|
|
4740
4937
|
title: "Enable Stock On Products",
|
|
4741
4938
|
default: false
|
|
4939
|
+
},
|
|
4940
|
+
enable_attributes_for_categories: {
|
|
4941
|
+
type: "boolean",
|
|
4942
|
+
title: "Enable Attributes For Categories",
|
|
4943
|
+
default: false
|
|
4742
4944
|
}
|
|
4743
4945
|
},
|
|
4744
4946
|
type: "object",
|
|
@@ -5466,6 +5668,86 @@ var getByImproviserUserIdLicensesImproviserImproviserUserIdGet = (data) => {
|
|
|
5466
5668
|
}
|
|
5467
5669
|
});
|
|
5468
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
|
+
};
|
|
5469
5751
|
var getSignedDownloadLinkDownloadsFileNameGet = (data) => {
|
|
5470
5752
|
return request(OpenAPI, {
|
|
5471
5753
|
method: "GET",
|
|
@@ -5930,6 +6212,42 @@ var swapShopsShopIdCategoriesCategoryIdSwapPut = (data) => {
|
|
|
5930
6212
|
}
|
|
5931
6213
|
});
|
|
5932
6214
|
};
|
|
6215
|
+
var getAvailableAttributesShopsShopIdCategoriesCategoryIdAvailableAttributesGet = (data) => {
|
|
6216
|
+
return request(OpenAPI, {
|
|
6217
|
+
method: "GET",
|
|
6218
|
+
url: "/shops/{shop_id}/categories/{category_id}/available-attributes",
|
|
6219
|
+
path: {
|
|
6220
|
+
shop_id: data.shopId,
|
|
6221
|
+
category_id: data.categoryId
|
|
6222
|
+
},
|
|
6223
|
+
errors: {
|
|
6224
|
+
422: "Validation Error"
|
|
6225
|
+
}
|
|
6226
|
+
});
|
|
6227
|
+
};
|
|
6228
|
+
var getCategoryProductsShopsShopIdCategoriesCategoryIdProductsGet = (data) => {
|
|
6229
|
+
return request(OpenAPI, {
|
|
6230
|
+
method: "GET",
|
|
6231
|
+
url: "/shops/{shop_id}/categories/{category_id}/products",
|
|
6232
|
+
path: {
|
|
6233
|
+
shop_id: data.shopId,
|
|
6234
|
+
category_id: data.categoryId
|
|
6235
|
+
},
|
|
6236
|
+
query: {
|
|
6237
|
+
option_id: data.optionId,
|
|
6238
|
+
attribute_id: data.attributeId,
|
|
6239
|
+
option_value_key: data.optionValueKey,
|
|
6240
|
+
attribute_name: data.attributeName,
|
|
6241
|
+
skip: data.skip,
|
|
6242
|
+
limit: data.limit,
|
|
6243
|
+
filter: data.filter,
|
|
6244
|
+
sort: data.sort
|
|
6245
|
+
},
|
|
6246
|
+
errors: {
|
|
6247
|
+
422: "Validation Error"
|
|
6248
|
+
}
|
|
6249
|
+
});
|
|
6250
|
+
};
|
|
5933
6251
|
var getMultiShopsShopIdCategoriesImagesGet = (data = {}) => {
|
|
5934
6252
|
return request(OpenAPI, {
|
|
5935
6253
|
method: "GET",
|
|
@@ -6866,6 +7184,7 @@ export {
|
|
|
6866
7184
|
$AccountCreate,
|
|
6867
7185
|
$AccountSchema,
|
|
6868
7186
|
$AccountUpdate,
|
|
7187
|
+
$AdminAccountSchema,
|
|
6869
7188
|
$AttributeCreate,
|
|
6870
7189
|
$AttributeOptionCreate,
|
|
6871
7190
|
$AttributeOptionSchema,
|
|
@@ -6874,6 +7193,8 @@ export {
|
|
|
6874
7193
|
$AttributeTranslationBase,
|
|
6875
7194
|
$AttributeUpdate,
|
|
6876
7195
|
$AttributeWithOptionsSchema,
|
|
7196
|
+
$AvailableAttributeSchema,
|
|
7197
|
+
$AvailableOptionSchema,
|
|
6877
7198
|
$Body_login_access_token_login_access_token_post,
|
|
6878
7199
|
$Body_reset_password_reset_password__post,
|
|
6879
7200
|
$Body_update_user_me_users_me_put,
|
|
@@ -6904,6 +7225,7 @@ export {
|
|
|
6904
7225
|
$LicenseCreate,
|
|
6905
7226
|
$LicenseSchema,
|
|
6906
7227
|
$LicenseUpdate,
|
|
7228
|
+
$LinkStripeBody,
|
|
6907
7229
|
$Msg,
|
|
6908
7230
|
$OrderBase,
|
|
6909
7231
|
$OrderCreate,
|
|
@@ -6940,6 +7262,7 @@ export {
|
|
|
6940
7262
|
$ShopTypeName,
|
|
6941
7263
|
$ShopUpdate,
|
|
6942
7264
|
$ShopWithPrices,
|
|
7265
|
+
$SyncStripeResponse,
|
|
6943
7266
|
$TagCreate,
|
|
6944
7267
|
$TagSchema,
|
|
6945
7268
|
$TagTranslationBase,
|
|
@@ -6989,7 +7312,9 @@ export {
|
|
|
6989
7312
|
editLicensesIdPut,
|
|
6990
7313
|
formInfoRequestFormPost,
|
|
6991
7314
|
formTestFormsPost,
|
|
7315
|
+
getAccountAdminAccountsIdGet,
|
|
6992
7316
|
getAllowedIpsShopsAllowedIpsIdGet,
|
|
7317
|
+
getAvailableAttributesShopsShopIdCategoriesCategoryIdAvailableAttributesGet,
|
|
6993
7318
|
getByIdFaqIdGet,
|
|
6994
7319
|
getByIdLicensesIdGet,
|
|
6995
7320
|
getByIdOrdersIdGet,
|
|
@@ -7011,6 +7336,7 @@ export {
|
|
|
7011
7336
|
getByNameShopsShopIdTagsNameNameGet,
|
|
7012
7337
|
getCacheStatusShopsCacheStatusIdGet,
|
|
7013
7338
|
getCartProductsShopsShopIdPricesPost,
|
|
7339
|
+
getCategoryProductsShopsShopIdCategoriesCategoryIdProductsGet,
|
|
7014
7340
|
getConfigShopsConfigIdGet,
|
|
7015
7341
|
getFormsFormsGet,
|
|
7016
7342
|
getHealthHealthGet,
|
|
@@ -7037,8 +7363,11 @@ export {
|
|
|
7037
7363
|
getSignedDownloadLinkDownloadsFileNameGet,
|
|
7038
7364
|
getSignedUploadUrlShopsShopIdImagesSignedUrlImageNameGet,
|
|
7039
7365
|
getSignedUrlImagesSignedUrlImageNameGet,
|
|
7366
|
+
getStripeCustomerAdminAccountsIdStripeCustomerGet,
|
|
7040
7367
|
getUserMeUsersMeGet,
|
|
7041
7368
|
getWithOptionsShopsShopIdAttributesWithOptionsGet,
|
|
7369
|
+
linkStripeAdminAccountsIdLinkStripePost,
|
|
7370
|
+
listAccountsAdminAccountsGet,
|
|
7042
7371
|
listOptionsForShopShopsShopIdAttributeOptionsGet,
|
|
7043
7372
|
listOptionsShopsShopIdAttributesAttributeIdOptionsGet,
|
|
7044
7373
|
loginAccessTokenLoginAccessTokenPost,
|
|
@@ -7060,6 +7389,7 @@ export {
|
|
|
7060
7389
|
showAllPendingOrdersPerShopOrdersShopShopIdPendingGet,
|
|
7061
7390
|
swapShopsShopIdCategoriesCategoryIdSwapPut,
|
|
7062
7391
|
swapShopsShopIdProductsProductIdSwapPut,
|
|
7392
|
+
syncStripeAdminAccountsIdSyncStripePost,
|
|
7063
7393
|
testTokenLoginTestTokenPost,
|
|
7064
7394
|
triggerErrorSentryGet,
|
|
7065
7395
|
updateConfigShopsConfigIdPut,
|