@infisale-client/api 1.1.5 → 1.1.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/README.md +1 -1
- package/dist/api/api.d.ts +493 -71
- package/dist/api/api.js +391 -7
- package/dist/api/api.mjs +385 -5
- package/package.json +2 -2
package/README.md
CHANGED
package/dist/api/api.d.ts
CHANGED
|
@@ -471,6 +471,21 @@ export declare const EmailConfigDnsRecordTypeEnum: {
|
|
|
471
471
|
readonly MX: "MX";
|
|
472
472
|
};
|
|
473
473
|
export type EmailConfigDnsRecordTypeEnum = typeof EmailConfigDnsRecordTypeEnum[keyof typeof EmailConfigDnsRecordTypeEnum];
|
|
474
|
+
/**
|
|
475
|
+
*
|
|
476
|
+
* @export
|
|
477
|
+
* @enum {string}
|
|
478
|
+
*/
|
|
479
|
+
export declare const FileKeywordEnum: {
|
|
480
|
+
readonly CAROUSEL: "carousel";
|
|
481
|
+
readonly BANNER: "banner";
|
|
482
|
+
readonly CONTENT: "content";
|
|
483
|
+
readonly LOGO: "logo";
|
|
484
|
+
readonly PRODUCT: "product";
|
|
485
|
+
readonly ATTACHMENT: "attachment";
|
|
486
|
+
readonly COMMENT: "comment";
|
|
487
|
+
};
|
|
488
|
+
export type FileKeywordEnum = typeof FileKeywordEnum[keyof typeof FileKeywordEnum];
|
|
474
489
|
/**
|
|
475
490
|
*
|
|
476
491
|
* @export
|
|
@@ -511,6 +526,49 @@ export declare const GridTypeEnum: {
|
|
|
511
526
|
readonly _1_1_2: "1-1-2";
|
|
512
527
|
};
|
|
513
528
|
export type GridTypeEnum = typeof GridTypeEnum[keyof typeof GridTypeEnum];
|
|
529
|
+
/**
|
|
530
|
+
*
|
|
531
|
+
* @export
|
|
532
|
+
* @interface IAddProductToBasketRequest
|
|
533
|
+
*/
|
|
534
|
+
export interface IAddProductToBasketRequest {
|
|
535
|
+
/**
|
|
536
|
+
*
|
|
537
|
+
* @type {string}
|
|
538
|
+
* @memberof IAddProductToBasketRequest
|
|
539
|
+
*/
|
|
540
|
+
'domain': string;
|
|
541
|
+
/**
|
|
542
|
+
*
|
|
543
|
+
* @type {string}
|
|
544
|
+
* @memberof IAddProductToBasketRequest
|
|
545
|
+
*/
|
|
546
|
+
'basket'?: string;
|
|
547
|
+
/**
|
|
548
|
+
*
|
|
549
|
+
* @type {string}
|
|
550
|
+
* @memberof IAddProductToBasketRequest
|
|
551
|
+
*/
|
|
552
|
+
'product': string;
|
|
553
|
+
/**
|
|
554
|
+
*
|
|
555
|
+
* @type {number}
|
|
556
|
+
* @memberof IAddProductToBasketRequest
|
|
557
|
+
*/
|
|
558
|
+
'amount': number;
|
|
559
|
+
/**
|
|
560
|
+
*
|
|
561
|
+
* @type {string}
|
|
562
|
+
* @memberof IAddProductToBasketRequest
|
|
563
|
+
*/
|
|
564
|
+
'main_variant'?: string;
|
|
565
|
+
/**
|
|
566
|
+
*
|
|
567
|
+
* @type {string}
|
|
568
|
+
* @memberof IAddProductToBasketRequest
|
|
569
|
+
*/
|
|
570
|
+
'sub_variant'?: string;
|
|
571
|
+
}
|
|
514
572
|
/**
|
|
515
573
|
*
|
|
516
574
|
* @export
|
|
@@ -550,6 +608,118 @@ export interface IAllProductsResponse {
|
|
|
550
608
|
*/
|
|
551
609
|
'data': Array<PickIProductIdOrContentsOrCollectionsOrCategory>;
|
|
552
610
|
}
|
|
611
|
+
/**
|
|
612
|
+
*
|
|
613
|
+
* @export
|
|
614
|
+
* @interface IBasketMergeRequest
|
|
615
|
+
*/
|
|
616
|
+
export interface IBasketMergeRequest {
|
|
617
|
+
/**
|
|
618
|
+
*
|
|
619
|
+
* @type {string}
|
|
620
|
+
* @memberof IBasketMergeRequest
|
|
621
|
+
*/
|
|
622
|
+
'id': string;
|
|
623
|
+
}
|
|
624
|
+
/**
|
|
625
|
+
*
|
|
626
|
+
* @export
|
|
627
|
+
* @interface IBasketResponse
|
|
628
|
+
*/
|
|
629
|
+
export interface IBasketResponse {
|
|
630
|
+
/**
|
|
631
|
+
*
|
|
632
|
+
* @type {string}
|
|
633
|
+
* @memberof IBasketResponse
|
|
634
|
+
*/
|
|
635
|
+
'company': string;
|
|
636
|
+
/**
|
|
637
|
+
*
|
|
638
|
+
* @type {string}
|
|
639
|
+
* @memberof IBasketResponse
|
|
640
|
+
*/
|
|
641
|
+
'_id': string;
|
|
642
|
+
/**
|
|
643
|
+
*
|
|
644
|
+
* @type {number}
|
|
645
|
+
* @memberof IBasketResponse
|
|
646
|
+
*/
|
|
647
|
+
'__v': number;
|
|
648
|
+
/**
|
|
649
|
+
*
|
|
650
|
+
* @type {string}
|
|
651
|
+
* @memberof IBasketResponse
|
|
652
|
+
*/
|
|
653
|
+
'createdAt': string;
|
|
654
|
+
/**
|
|
655
|
+
*
|
|
656
|
+
* @type {string}
|
|
657
|
+
* @memberof IBasketResponse
|
|
658
|
+
*/
|
|
659
|
+
'updatedAt': string;
|
|
660
|
+
/**
|
|
661
|
+
*
|
|
662
|
+
* @type {string}
|
|
663
|
+
* @memberof IBasketResponse
|
|
664
|
+
*/
|
|
665
|
+
'user': string;
|
|
666
|
+
/**
|
|
667
|
+
*
|
|
668
|
+
* @type {Array<IBasketResponseItemsInner>}
|
|
669
|
+
* @memberof IBasketResponse
|
|
670
|
+
*/
|
|
671
|
+
'items': Array<IBasketResponseItemsInner>;
|
|
672
|
+
}
|
|
673
|
+
/**
|
|
674
|
+
*
|
|
675
|
+
* @export
|
|
676
|
+
* @interface IBasketResponseItemsInner
|
|
677
|
+
*/
|
|
678
|
+
export interface IBasketResponseItemsInner {
|
|
679
|
+
/**
|
|
680
|
+
*
|
|
681
|
+
* @type {string}
|
|
682
|
+
* @memberof IBasketResponseItemsInner
|
|
683
|
+
*/
|
|
684
|
+
'sub_variant'?: string;
|
|
685
|
+
/**
|
|
686
|
+
*
|
|
687
|
+
* @type {string}
|
|
688
|
+
* @memberof IBasketResponseItemsInner
|
|
689
|
+
*/
|
|
690
|
+
'main_variant'?: string;
|
|
691
|
+
/**
|
|
692
|
+
*
|
|
693
|
+
* @type {number}
|
|
694
|
+
* @memberof IBasketResponseItemsInner
|
|
695
|
+
*/
|
|
696
|
+
'amount': number;
|
|
697
|
+
/**
|
|
698
|
+
*
|
|
699
|
+
* @type {IProductsResponse}
|
|
700
|
+
* @memberof IBasketResponseItemsInner
|
|
701
|
+
*/
|
|
702
|
+
'product': IProductsResponse;
|
|
703
|
+
/**
|
|
704
|
+
*
|
|
705
|
+
* @type {string}
|
|
706
|
+
* @memberof IBasketResponseItemsInner
|
|
707
|
+
*/
|
|
708
|
+
'_id': string;
|
|
709
|
+
}
|
|
710
|
+
/**
|
|
711
|
+
*
|
|
712
|
+
* @export
|
|
713
|
+
* @interface IBasketUpdateAmountRequest
|
|
714
|
+
*/
|
|
715
|
+
export interface IBasketUpdateAmountRequest {
|
|
716
|
+
/**
|
|
717
|
+
*
|
|
718
|
+
* @type {number}
|
|
719
|
+
* @memberof IBasketUpdateAmountRequest
|
|
720
|
+
*/
|
|
721
|
+
'amount': number;
|
|
722
|
+
}
|
|
553
723
|
/**
|
|
554
724
|
*
|
|
555
725
|
* @export
|
|
@@ -1653,6 +1823,12 @@ export interface ICompany {
|
|
|
1653
1823
|
* @memberof ICompany
|
|
1654
1824
|
*/
|
|
1655
1825
|
'sender_email'?: string;
|
|
1826
|
+
/**
|
|
1827
|
+
*
|
|
1828
|
+
* @type {string}
|
|
1829
|
+
* @memberof ICompany
|
|
1830
|
+
*/
|
|
1831
|
+
'sender_name'?: string;
|
|
1656
1832
|
/**
|
|
1657
1833
|
*
|
|
1658
1834
|
* @type {Array<ICompanyResponseSenderEmailDnsRecordsInner>}
|
|
@@ -2110,12 +2286,6 @@ export interface ICompanyPatchRequest {
|
|
|
2110
2286
|
* @memberof ICompanyPatchRequest
|
|
2111
2287
|
*/
|
|
2112
2288
|
'warehouses'?: Array<ICompanyPostRequestWarehousesInner>;
|
|
2113
|
-
/**
|
|
2114
|
-
*
|
|
2115
|
-
* @type {string}
|
|
2116
|
-
* @memberof ICompanyPatchRequest
|
|
2117
|
-
*/
|
|
2118
|
-
'sender_email'?: string;
|
|
2119
2289
|
/**
|
|
2120
2290
|
*
|
|
2121
2291
|
* @type {Array<ICompanyResponseSenderEmailDnsRecordsInner>}
|
|
@@ -2241,12 +2411,6 @@ export interface ICompanyPostRequest {
|
|
|
2241
2411
|
* @memberof ICompanyPostRequest
|
|
2242
2412
|
*/
|
|
2243
2413
|
'currencies': RecordCurrencyEnumCurrency;
|
|
2244
|
-
/**
|
|
2245
|
-
*
|
|
2246
|
-
* @type {string}
|
|
2247
|
-
* @memberof ICompanyPostRequest
|
|
2248
|
-
*/
|
|
2249
|
-
'sender_email'?: string;
|
|
2250
2414
|
/**
|
|
2251
2415
|
*
|
|
2252
2416
|
* @type {Array<ICompanyResponseSenderEmailDnsRecordsInner>}
|
|
@@ -2562,6 +2726,12 @@ export interface ICompanyResponse {
|
|
|
2562
2726
|
* @memberof ICompanyResponse
|
|
2563
2727
|
*/
|
|
2564
2728
|
'sender_email'?: string;
|
|
2729
|
+
/**
|
|
2730
|
+
*
|
|
2731
|
+
* @type {string}
|
|
2732
|
+
* @memberof ICompanyResponse
|
|
2733
|
+
*/
|
|
2734
|
+
'sender_name'?: string;
|
|
2565
2735
|
/**
|
|
2566
2736
|
*
|
|
2567
2737
|
* @type {Array<ICompanyResponseSenderEmailDnsRecordsInner>}
|
|
@@ -3442,10 +3612,10 @@ export interface IFilePatchRequest {
|
|
|
3442
3612
|
'name'?: string;
|
|
3443
3613
|
/**
|
|
3444
3614
|
*
|
|
3445
|
-
* @type {
|
|
3615
|
+
* @type {Array<FileKeywordEnum>}
|
|
3446
3616
|
* @memberof IFilePatchRequest
|
|
3447
3617
|
*/
|
|
3448
|
-
'
|
|
3618
|
+
'keywords'?: Array<FileKeywordEnum>;
|
|
3449
3619
|
}
|
|
3450
3620
|
/**
|
|
3451
3621
|
*
|
|
@@ -3453,18 +3623,6 @@ export interface IFilePatchRequest {
|
|
|
3453
3623
|
* @interface IFileResponse
|
|
3454
3624
|
*/
|
|
3455
3625
|
export interface IFileResponse {
|
|
3456
|
-
/**
|
|
3457
|
-
*
|
|
3458
|
-
* @type {string}
|
|
3459
|
-
* @memberof IFileResponse
|
|
3460
|
-
*/
|
|
3461
|
-
'name': string;
|
|
3462
|
-
/**
|
|
3463
|
-
*
|
|
3464
|
-
* @type {FileStatusEnum}
|
|
3465
|
-
* @memberof IFileResponse
|
|
3466
|
-
*/
|
|
3467
|
-
'status': FileStatusEnum;
|
|
3468
3626
|
/**
|
|
3469
3627
|
*
|
|
3470
3628
|
* @type {string}
|
|
@@ -3491,78 +3649,52 @@ export interface IFileResponse {
|
|
|
3491
3649
|
'updatedAt': string;
|
|
3492
3650
|
/**
|
|
3493
3651
|
*
|
|
3494
|
-
* @type {
|
|
3652
|
+
* @type {string}
|
|
3495
3653
|
* @memberof IFileResponse
|
|
3496
3654
|
*/
|
|
3497
|
-
'
|
|
3655
|
+
'name': string;
|
|
3498
3656
|
/**
|
|
3499
3657
|
*
|
|
3500
|
-
* @type {
|
|
3658
|
+
* @type {string}
|
|
3501
3659
|
* @memberof IFileResponse
|
|
3502
3660
|
*/
|
|
3503
|
-
'
|
|
3661
|
+
'user'?: string;
|
|
3504
3662
|
/**
|
|
3505
3663
|
*
|
|
3506
3664
|
* @type {string}
|
|
3507
3665
|
* @memberof IFileResponse
|
|
3508
3666
|
*/
|
|
3509
|
-
'
|
|
3667
|
+
'company'?: string;
|
|
3510
3668
|
/**
|
|
3511
3669
|
*
|
|
3512
|
-
* @type {
|
|
3670
|
+
* @type {Array<IImagePathsInner>}
|
|
3513
3671
|
* @memberof IFileResponse
|
|
3514
3672
|
*/
|
|
3515
|
-
'
|
|
3673
|
+
'paths': Array<IImagePathsInner>;
|
|
3516
3674
|
/**
|
|
3517
3675
|
*
|
|
3518
|
-
* @type {
|
|
3676
|
+
* @type {FileTypeEnum}
|
|
3519
3677
|
* @memberof IFileResponse
|
|
3520
3678
|
*/
|
|
3521
|
-
'
|
|
3522
|
-
}
|
|
3523
|
-
/**
|
|
3524
|
-
*
|
|
3525
|
-
* @export
|
|
3526
|
-
* @interface IFileResponseCompany
|
|
3527
|
-
*/
|
|
3528
|
-
export interface IFileResponseCompany {
|
|
3529
|
-
/**
|
|
3530
|
-
*
|
|
3531
|
-
* @type {string}
|
|
3532
|
-
* @memberof IFileResponseCompany
|
|
3533
|
-
*/
|
|
3534
|
-
'name': string;
|
|
3535
|
-
/**
|
|
3536
|
-
*
|
|
3537
|
-
* @type {string}
|
|
3538
|
-
* @memberof IFileResponseCompany
|
|
3539
|
-
*/
|
|
3540
|
-
'_id': string;
|
|
3541
|
-
}
|
|
3542
|
-
/**
|
|
3543
|
-
*
|
|
3544
|
-
* @export
|
|
3545
|
-
* @interface IFileResponseUser
|
|
3546
|
-
*/
|
|
3547
|
-
export interface IFileResponseUser {
|
|
3679
|
+
'type': FileTypeEnum;
|
|
3548
3680
|
/**
|
|
3549
3681
|
*
|
|
3550
|
-
* @type {
|
|
3551
|
-
* @memberof
|
|
3682
|
+
* @type {Array<FileKeywordEnum>}
|
|
3683
|
+
* @memberof IFileResponse
|
|
3552
3684
|
*/
|
|
3553
|
-
'
|
|
3685
|
+
'keywords'?: Array<FileKeywordEnum>;
|
|
3554
3686
|
/**
|
|
3555
3687
|
*
|
|
3556
3688
|
* @type {string}
|
|
3557
|
-
* @memberof
|
|
3689
|
+
* @memberof IFileResponse
|
|
3558
3690
|
*/
|
|
3559
|
-
'
|
|
3691
|
+
'mimetype': string;
|
|
3560
3692
|
/**
|
|
3561
3693
|
*
|
|
3562
|
-
* @type {
|
|
3563
|
-
* @memberof
|
|
3694
|
+
* @type {FileStatusEnum}
|
|
3695
|
+
* @memberof IFileResponse
|
|
3564
3696
|
*/
|
|
3565
|
-
'
|
|
3697
|
+
'status': FileStatusEnum;
|
|
3566
3698
|
}
|
|
3567
3699
|
/**
|
|
3568
3700
|
*
|
|
@@ -6897,6 +7029,12 @@ export interface RecordLanguageEnumString {
|
|
|
6897
7029
|
* @interface SetCompanySenderEmailRequest
|
|
6898
7030
|
*/
|
|
6899
7031
|
export interface SetCompanySenderEmailRequest {
|
|
7032
|
+
/**
|
|
7033
|
+
*
|
|
7034
|
+
* @type {string}
|
|
7035
|
+
* @memberof SetCompanySenderEmailRequest
|
|
7036
|
+
*/
|
|
7037
|
+
'sender_name': string;
|
|
6900
7038
|
/**
|
|
6901
7039
|
*
|
|
6902
7040
|
* @type {string}
|
|
@@ -7473,6 +7611,274 @@ export declare class AuthApi extends BaseAPI {
|
|
|
7473
7611
|
*/
|
|
7474
7612
|
socialLogin(requestParameters: AuthApiSocialLoginRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ILoginResponse, any>>;
|
|
7475
7613
|
}
|
|
7614
|
+
/**
|
|
7615
|
+
* BasketApi - axios parameter creator
|
|
7616
|
+
* @export
|
|
7617
|
+
*/
|
|
7618
|
+
export declare const BasketApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
7619
|
+
/**
|
|
7620
|
+
*
|
|
7621
|
+
* @param {IAddProductToBasketRequest} iAddProductToBasketRequest
|
|
7622
|
+
* @param {string} [basketId]
|
|
7623
|
+
* @param {*} [options] Override http request option.
|
|
7624
|
+
* @throws {RequiredError}
|
|
7625
|
+
*/
|
|
7626
|
+
addProductToBasket: (iAddProductToBasketRequest: IAddProductToBasketRequest, basketId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
7627
|
+
/**
|
|
7628
|
+
*
|
|
7629
|
+
* @param {string} itemId
|
|
7630
|
+
* @param {string} [basketId]
|
|
7631
|
+
* @param {*} [options] Override http request option.
|
|
7632
|
+
* @throws {RequiredError}
|
|
7633
|
+
*/
|
|
7634
|
+
deleteProductFromBasket: (itemId: string, basketId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
7635
|
+
/**
|
|
7636
|
+
*
|
|
7637
|
+
* @param {string} [id]
|
|
7638
|
+
* @param {*} [options] Override http request option.
|
|
7639
|
+
* @throws {RequiredError}
|
|
7640
|
+
*/
|
|
7641
|
+
getBasket: (id?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
7642
|
+
/**
|
|
7643
|
+
*
|
|
7644
|
+
* @param {IBasketMergeRequest} iBasketMergeRequest
|
|
7645
|
+
* @param {*} [options] Override http request option.
|
|
7646
|
+
* @throws {RequiredError}
|
|
7647
|
+
*/
|
|
7648
|
+
mergeBasket: (iBasketMergeRequest: IBasketMergeRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
7649
|
+
/**
|
|
7650
|
+
*
|
|
7651
|
+
* @param {string} itemId
|
|
7652
|
+
* @param {IBasketUpdateAmountRequest} iBasketUpdateAmountRequest
|
|
7653
|
+
* @param {string} [basketId]
|
|
7654
|
+
* @param {*} [options] Override http request option.
|
|
7655
|
+
* @throws {RequiredError}
|
|
7656
|
+
*/
|
|
7657
|
+
updateAmount: (itemId: string, iBasketUpdateAmountRequest: IBasketUpdateAmountRequest, basketId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
7658
|
+
};
|
|
7659
|
+
/**
|
|
7660
|
+
* BasketApi - functional programming interface
|
|
7661
|
+
* @export
|
|
7662
|
+
*/
|
|
7663
|
+
export declare const BasketApiFp: (configuration?: Configuration) => {
|
|
7664
|
+
/**
|
|
7665
|
+
*
|
|
7666
|
+
* @param {IAddProductToBasketRequest} iAddProductToBasketRequest
|
|
7667
|
+
* @param {string} [basketId]
|
|
7668
|
+
* @param {*} [options] Override http request option.
|
|
7669
|
+
* @throws {RequiredError}
|
|
7670
|
+
*/
|
|
7671
|
+
addProductToBasket(iAddProductToBasketRequest: IAddProductToBasketRequest, basketId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
7672
|
+
/**
|
|
7673
|
+
*
|
|
7674
|
+
* @param {string} itemId
|
|
7675
|
+
* @param {string} [basketId]
|
|
7676
|
+
* @param {*} [options] Override http request option.
|
|
7677
|
+
* @throws {RequiredError}
|
|
7678
|
+
*/
|
|
7679
|
+
deleteProductFromBasket(itemId: string, basketId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
7680
|
+
/**
|
|
7681
|
+
*
|
|
7682
|
+
* @param {string} [id]
|
|
7683
|
+
* @param {*} [options] Override http request option.
|
|
7684
|
+
* @throws {RequiredError}
|
|
7685
|
+
*/
|
|
7686
|
+
getBasket(id?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IBasketResponse>>;
|
|
7687
|
+
/**
|
|
7688
|
+
*
|
|
7689
|
+
* @param {IBasketMergeRequest} iBasketMergeRequest
|
|
7690
|
+
* @param {*} [options] Override http request option.
|
|
7691
|
+
* @throws {RequiredError}
|
|
7692
|
+
*/
|
|
7693
|
+
mergeBasket(iBasketMergeRequest: IBasketMergeRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
7694
|
+
/**
|
|
7695
|
+
*
|
|
7696
|
+
* @param {string} itemId
|
|
7697
|
+
* @param {IBasketUpdateAmountRequest} iBasketUpdateAmountRequest
|
|
7698
|
+
* @param {string} [basketId]
|
|
7699
|
+
* @param {*} [options] Override http request option.
|
|
7700
|
+
* @throws {RequiredError}
|
|
7701
|
+
*/
|
|
7702
|
+
updateAmount(itemId: string, iBasketUpdateAmountRequest: IBasketUpdateAmountRequest, basketId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
7703
|
+
};
|
|
7704
|
+
/**
|
|
7705
|
+
* BasketApi - factory interface
|
|
7706
|
+
* @export
|
|
7707
|
+
*/
|
|
7708
|
+
export declare const BasketApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
7709
|
+
/**
|
|
7710
|
+
*
|
|
7711
|
+
* @param {BasketApiAddProductToBasketRequest} requestParameters Request parameters.
|
|
7712
|
+
* @param {*} [options] Override http request option.
|
|
7713
|
+
* @throws {RequiredError}
|
|
7714
|
+
*/
|
|
7715
|
+
addProductToBasket(requestParameters: BasketApiAddProductToBasketRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
7716
|
+
/**
|
|
7717
|
+
*
|
|
7718
|
+
* @param {BasketApiDeleteProductFromBasketRequest} requestParameters Request parameters.
|
|
7719
|
+
* @param {*} [options] Override http request option.
|
|
7720
|
+
* @throws {RequiredError}
|
|
7721
|
+
*/
|
|
7722
|
+
deleteProductFromBasket(requestParameters: BasketApiDeleteProductFromBasketRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
7723
|
+
/**
|
|
7724
|
+
*
|
|
7725
|
+
* @param {BasketApiGetBasketRequest} requestParameters Request parameters.
|
|
7726
|
+
* @param {*} [options] Override http request option.
|
|
7727
|
+
* @throws {RequiredError}
|
|
7728
|
+
*/
|
|
7729
|
+
getBasket(requestParameters?: BasketApiGetBasketRequest, options?: RawAxiosRequestConfig): AxiosPromise<IBasketResponse>;
|
|
7730
|
+
/**
|
|
7731
|
+
*
|
|
7732
|
+
* @param {BasketApiMergeBasketRequest} requestParameters Request parameters.
|
|
7733
|
+
* @param {*} [options] Override http request option.
|
|
7734
|
+
* @throws {RequiredError}
|
|
7735
|
+
*/
|
|
7736
|
+
mergeBasket(requestParameters: BasketApiMergeBasketRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
7737
|
+
/**
|
|
7738
|
+
*
|
|
7739
|
+
* @param {BasketApiUpdateAmountRequest} requestParameters Request parameters.
|
|
7740
|
+
* @param {*} [options] Override http request option.
|
|
7741
|
+
* @throws {RequiredError}
|
|
7742
|
+
*/
|
|
7743
|
+
updateAmount(requestParameters: BasketApiUpdateAmountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
7744
|
+
};
|
|
7745
|
+
/**
|
|
7746
|
+
* Request parameters for addProductToBasket operation in BasketApi.
|
|
7747
|
+
* @export
|
|
7748
|
+
* @interface BasketApiAddProductToBasketRequest
|
|
7749
|
+
*/
|
|
7750
|
+
export interface BasketApiAddProductToBasketRequest {
|
|
7751
|
+
/**
|
|
7752
|
+
*
|
|
7753
|
+
* @type {IAddProductToBasketRequest}
|
|
7754
|
+
* @memberof BasketApiAddProductToBasket
|
|
7755
|
+
*/
|
|
7756
|
+
readonly iAddProductToBasketRequest: IAddProductToBasketRequest;
|
|
7757
|
+
/**
|
|
7758
|
+
*
|
|
7759
|
+
* @type {string}
|
|
7760
|
+
* @memberof BasketApiAddProductToBasket
|
|
7761
|
+
*/
|
|
7762
|
+
readonly basketId?: string;
|
|
7763
|
+
}
|
|
7764
|
+
/**
|
|
7765
|
+
* Request parameters for deleteProductFromBasket operation in BasketApi.
|
|
7766
|
+
* @export
|
|
7767
|
+
* @interface BasketApiDeleteProductFromBasketRequest
|
|
7768
|
+
*/
|
|
7769
|
+
export interface BasketApiDeleteProductFromBasketRequest {
|
|
7770
|
+
/**
|
|
7771
|
+
*
|
|
7772
|
+
* @type {string}
|
|
7773
|
+
* @memberof BasketApiDeleteProductFromBasket
|
|
7774
|
+
*/
|
|
7775
|
+
readonly itemId: string;
|
|
7776
|
+
/**
|
|
7777
|
+
*
|
|
7778
|
+
* @type {string}
|
|
7779
|
+
* @memberof BasketApiDeleteProductFromBasket
|
|
7780
|
+
*/
|
|
7781
|
+
readonly basketId?: string;
|
|
7782
|
+
}
|
|
7783
|
+
/**
|
|
7784
|
+
* Request parameters for getBasket operation in BasketApi.
|
|
7785
|
+
* @export
|
|
7786
|
+
* @interface BasketApiGetBasketRequest
|
|
7787
|
+
*/
|
|
7788
|
+
export interface BasketApiGetBasketRequest {
|
|
7789
|
+
/**
|
|
7790
|
+
*
|
|
7791
|
+
* @type {string}
|
|
7792
|
+
* @memberof BasketApiGetBasket
|
|
7793
|
+
*/
|
|
7794
|
+
readonly id?: string;
|
|
7795
|
+
}
|
|
7796
|
+
/**
|
|
7797
|
+
* Request parameters for mergeBasket operation in BasketApi.
|
|
7798
|
+
* @export
|
|
7799
|
+
* @interface BasketApiMergeBasketRequest
|
|
7800
|
+
*/
|
|
7801
|
+
export interface BasketApiMergeBasketRequest {
|
|
7802
|
+
/**
|
|
7803
|
+
*
|
|
7804
|
+
* @type {IBasketMergeRequest}
|
|
7805
|
+
* @memberof BasketApiMergeBasket
|
|
7806
|
+
*/
|
|
7807
|
+
readonly iBasketMergeRequest: IBasketMergeRequest;
|
|
7808
|
+
}
|
|
7809
|
+
/**
|
|
7810
|
+
* Request parameters for updateAmount operation in BasketApi.
|
|
7811
|
+
* @export
|
|
7812
|
+
* @interface BasketApiUpdateAmountRequest
|
|
7813
|
+
*/
|
|
7814
|
+
export interface BasketApiUpdateAmountRequest {
|
|
7815
|
+
/**
|
|
7816
|
+
*
|
|
7817
|
+
* @type {string}
|
|
7818
|
+
* @memberof BasketApiUpdateAmount
|
|
7819
|
+
*/
|
|
7820
|
+
readonly itemId: string;
|
|
7821
|
+
/**
|
|
7822
|
+
*
|
|
7823
|
+
* @type {IBasketUpdateAmountRequest}
|
|
7824
|
+
* @memberof BasketApiUpdateAmount
|
|
7825
|
+
*/
|
|
7826
|
+
readonly iBasketUpdateAmountRequest: IBasketUpdateAmountRequest;
|
|
7827
|
+
/**
|
|
7828
|
+
*
|
|
7829
|
+
* @type {string}
|
|
7830
|
+
* @memberof BasketApiUpdateAmount
|
|
7831
|
+
*/
|
|
7832
|
+
readonly basketId?: string;
|
|
7833
|
+
}
|
|
7834
|
+
/**
|
|
7835
|
+
* BasketApi - object-oriented interface
|
|
7836
|
+
* @export
|
|
7837
|
+
* @class BasketApi
|
|
7838
|
+
* @extends {BaseAPI}
|
|
7839
|
+
*/
|
|
7840
|
+
export declare class BasketApi extends BaseAPI {
|
|
7841
|
+
/**
|
|
7842
|
+
*
|
|
7843
|
+
* @param {BasketApiAddProductToBasketRequest} requestParameters Request parameters.
|
|
7844
|
+
* @param {*} [options] Override http request option.
|
|
7845
|
+
* @throws {RequiredError}
|
|
7846
|
+
* @memberof BasketApi
|
|
7847
|
+
*/
|
|
7848
|
+
addProductToBasket(requestParameters: BasketApiAddProductToBasketRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
7849
|
+
/**
|
|
7850
|
+
*
|
|
7851
|
+
* @param {BasketApiDeleteProductFromBasketRequest} requestParameters Request parameters.
|
|
7852
|
+
* @param {*} [options] Override http request option.
|
|
7853
|
+
* @throws {RequiredError}
|
|
7854
|
+
* @memberof BasketApi
|
|
7855
|
+
*/
|
|
7856
|
+
deleteProductFromBasket(requestParameters: BasketApiDeleteProductFromBasketRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
7857
|
+
/**
|
|
7858
|
+
*
|
|
7859
|
+
* @param {BasketApiGetBasketRequest} requestParameters Request parameters.
|
|
7860
|
+
* @param {*} [options] Override http request option.
|
|
7861
|
+
* @throws {RequiredError}
|
|
7862
|
+
* @memberof BasketApi
|
|
7863
|
+
*/
|
|
7864
|
+
getBasket(requestParameters?: BasketApiGetBasketRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IBasketResponse, any>>;
|
|
7865
|
+
/**
|
|
7866
|
+
*
|
|
7867
|
+
* @param {BasketApiMergeBasketRequest} requestParameters Request parameters.
|
|
7868
|
+
* @param {*} [options] Override http request option.
|
|
7869
|
+
* @throws {RequiredError}
|
|
7870
|
+
* @memberof BasketApi
|
|
7871
|
+
*/
|
|
7872
|
+
mergeBasket(requestParameters: BasketApiMergeBasketRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
7873
|
+
/**
|
|
7874
|
+
*
|
|
7875
|
+
* @param {BasketApiUpdateAmountRequest} requestParameters Request parameters.
|
|
7876
|
+
* @param {*} [options] Override http request option.
|
|
7877
|
+
* @throws {RequiredError}
|
|
7878
|
+
* @memberof BasketApi
|
|
7879
|
+
*/
|
|
7880
|
+
updateAmount(requestParameters: BasketApiUpdateAmountRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
7881
|
+
}
|
|
7476
7882
|
/**
|
|
7477
7883
|
* BrandApi - axios parameter creator
|
|
7478
7884
|
* @export
|
|
@@ -9766,11 +10172,13 @@ export declare const FileApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
9766
10172
|
updateFile: (id: string, iFilePatchRequest: IFilePatchRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
9767
10173
|
/**
|
|
9768
10174
|
*
|
|
10175
|
+
* @param {FileKeywordEnum} keyword
|
|
9769
10176
|
* @param {File} file
|
|
10177
|
+
* @param {string} domain
|
|
9770
10178
|
* @param {*} [options] Override http request option.
|
|
9771
10179
|
* @throws {RequiredError}
|
|
9772
10180
|
*/
|
|
9773
|
-
uploadFile: (file: File, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
10181
|
+
uploadFile: (keyword: FileKeywordEnum, file: File, domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
9774
10182
|
};
|
|
9775
10183
|
/**
|
|
9776
10184
|
* FileApi - functional programming interface
|
|
@@ -9819,11 +10227,13 @@ export declare const FileApiFp: (configuration?: Configuration) => {
|
|
|
9819
10227
|
updateFile(id: string, iFilePatchRequest: IFilePatchRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IFileResponse>>;
|
|
9820
10228
|
/**
|
|
9821
10229
|
*
|
|
10230
|
+
* @param {FileKeywordEnum} keyword
|
|
9822
10231
|
* @param {File} file
|
|
10232
|
+
* @param {string} domain
|
|
9823
10233
|
* @param {*} [options] Override http request option.
|
|
9824
10234
|
* @throws {RequiredError}
|
|
9825
10235
|
*/
|
|
9826
|
-
uploadFile(file: File, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IImage>>;
|
|
10236
|
+
uploadFile(keyword: FileKeywordEnum, file: File, domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IImage>>;
|
|
9827
10237
|
};
|
|
9828
10238
|
/**
|
|
9829
10239
|
* FileApi - factory interface
|
|
@@ -9996,12 +10406,24 @@ export interface FileApiUpdateFileRequest {
|
|
|
9996
10406
|
* @interface FileApiUploadFileRequest
|
|
9997
10407
|
*/
|
|
9998
10408
|
export interface FileApiUploadFileRequest {
|
|
10409
|
+
/**
|
|
10410
|
+
*
|
|
10411
|
+
* @type {FileKeywordEnum}
|
|
10412
|
+
* @memberof FileApiUploadFile
|
|
10413
|
+
*/
|
|
10414
|
+
readonly keyword: FileKeywordEnum;
|
|
9999
10415
|
/**
|
|
10000
10416
|
*
|
|
10001
10417
|
* @type {File}
|
|
10002
10418
|
* @memberof FileApiUploadFile
|
|
10003
10419
|
*/
|
|
10004
10420
|
readonly file: File;
|
|
10421
|
+
/**
|
|
10422
|
+
*
|
|
10423
|
+
* @type {string}
|
|
10424
|
+
* @memberof FileApiUploadFile
|
|
10425
|
+
*/
|
|
10426
|
+
readonly domain: string;
|
|
10005
10427
|
}
|
|
10006
10428
|
/**
|
|
10007
10429
|
* FileApi - object-oriented interface
|