@infisale-client/api-client 1.2.14 → 1.2.16

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/api/api.d.ts CHANGED
@@ -128,7 +128,9 @@ export declare const ComponentTypeEnum: {
128
128
  readonly FOOTER: "footer";
129
129
  readonly EMAIL_SIGNUP: "email-signup";
130
130
  readonly CONTACT_FORM: "contact-form";
131
- readonly BASKET_DETAIL: "basket-detail";
131
+ readonly CART_DETAIL: "cart-detail";
132
+ readonly CHECKOUT_DETAIL: "checkout-detail";
133
+ readonly NOT_FOUND_DETAIL: "not-found-detail";
132
134
  };
133
135
  export type ComponentTypeEnum = typeof ComponentTypeEnum[keyof typeof ComponentTypeEnum];
134
136
  /**
@@ -583,6 +585,61 @@ export interface IAddProductToBasketResponse {
583
585
  */
584
586
  'basketId': string;
585
587
  }
588
+ /**
589
+ *
590
+ * @export
591
+ * @interface IAddress
592
+ */
593
+ export interface IAddress {
594
+ /**
595
+ *
596
+ * @type {string}
597
+ * @memberof IAddress
598
+ */
599
+ 'title': string;
600
+ /**
601
+ *
602
+ * @type {string}
603
+ * @memberof IAddress
604
+ */
605
+ 'name': string;
606
+ /**
607
+ *
608
+ * @type {string}
609
+ * @memberof IAddress
610
+ */
611
+ 'surname': string;
612
+ /**
613
+ *
614
+ * @type {string}
615
+ * @memberof IAddress
616
+ */
617
+ 'country': string;
618
+ /**
619
+ *
620
+ * @type {string}
621
+ * @memberof IAddress
622
+ */
623
+ 'city': string;
624
+ /**
625
+ *
626
+ * @type {string}
627
+ * @memberof IAddress
628
+ */
629
+ 'state': string;
630
+ /**
631
+ *
632
+ * @type {string}
633
+ * @memberof IAddress
634
+ */
635
+ 'address': string;
636
+ /**
637
+ *
638
+ * @type {string}
639
+ * @memberof IAddress
640
+ */
641
+ 'phone': string;
642
+ }
586
643
  /**
587
644
  *
588
645
  * @export
@@ -4687,56 +4744,421 @@ export interface IOperationResponse {
4687
4744
  * @type {number}
4688
4745
  * @memberof IOperationResponse
4689
4746
  */
4690
- 'price': number;
4747
+ 'price': number;
4748
+ /**
4749
+ *
4750
+ * @type {OperationStatusEnum}
4751
+ * @memberof IOperationResponse
4752
+ */
4753
+ 'status': OperationStatusEnum;
4754
+ /**
4755
+ *
4756
+ * @type {Array<PickIUserExcludeKeyofIUserPasswordOrSaltOrIsAdminOrIsSuperAdminOrCodeOrTVersionsInner>}
4757
+ * @memberof IOperationResponse
4758
+ */
4759
+ 'versions': Array<PickIUserExcludeKeyofIUserPasswordOrSaltOrIsAdminOrIsSuperAdminOrCodeOrTVersionsInner>;
4760
+ }
4761
+ /**
4762
+ *
4763
+ * @export
4764
+ * @interface IOperationsResponse
4765
+ */
4766
+ export interface IOperationsResponse {
4767
+ /**
4768
+ *
4769
+ * @type {number}
4770
+ * @memberof IOperationsResponse
4771
+ */
4772
+ 'page': number;
4773
+ /**
4774
+ *
4775
+ * @type {number}
4776
+ * @memberof IOperationsResponse
4777
+ */
4778
+ 'itemsPerPage': number;
4779
+ /**
4780
+ *
4781
+ * @type {number}
4782
+ * @memberof IOperationsResponse
4783
+ */
4784
+ 'total': number;
4785
+ /**
4786
+ *
4787
+ * @type {number}
4788
+ * @memberof IOperationsResponse
4789
+ */
4790
+ 'totalPages': number;
4791
+ /**
4792
+ *
4793
+ * @type {Array<IOperationResponse>}
4794
+ * @memberof IOperationsResponse
4795
+ */
4796
+ 'data': Array<IOperationResponse>;
4797
+ }
4798
+ /**
4799
+ *
4800
+ * @export
4801
+ * @interface IOrderCollectionQueryParams
4802
+ */
4803
+ export interface IOrderCollectionQueryParams {
4804
+ /**
4805
+ *
4806
+ * @type {number}
4807
+ * @memberof IOrderCollectionQueryParams
4808
+ */
4809
+ 'page'?: number;
4810
+ /**
4811
+ *
4812
+ * @type {number}
4813
+ * @memberof IOrderCollectionQueryParams
4814
+ */
4815
+ 'itemsPerPage'?: number;
4816
+ /**
4817
+ *
4818
+ * @type {string}
4819
+ * @memberof IOrderCollectionQueryParams
4820
+ */
4821
+ 'search'?: string;
4822
+ /**
4823
+ *
4824
+ * @type {string}
4825
+ * @memberof IOrderCollectionQueryParams
4826
+ */
4827
+ 'startDate'?: string;
4828
+ /**
4829
+ *
4830
+ * @type {string}
4831
+ * @memberof IOrderCollectionQueryParams
4832
+ */
4833
+ 'endDate'?: string;
4834
+ /**
4835
+ *
4836
+ * @type {string}
4837
+ * @memberof IOrderCollectionQueryParams
4838
+ */
4839
+ 'dateField'?: string;
4840
+ /**
4841
+ *
4842
+ * @type {OrderEnum}
4843
+ * @memberof IOrderCollectionQueryParams
4844
+ */
4845
+ 'order'?: OrderEnum;
4846
+ /**
4847
+ *
4848
+ * @type {string}
4849
+ * @memberof IOrderCollectionQueryParams
4850
+ */
4851
+ 'sort'?: string;
4852
+ /**
4853
+ *
4854
+ * @type {string}
4855
+ * @memberof IOrderCollectionQueryParams
4856
+ */
4857
+ 'companyId'?: string;
4858
+ /**
4859
+ *
4860
+ * @type {string}
4861
+ * @memberof IOrderCollectionQueryParams
4862
+ */
4863
+ 'domain'?: string;
4864
+ /**
4865
+ *
4866
+ * @type {string}
4867
+ * @memberof IOrderCollectionQueryParams
4868
+ */
4869
+ 'userId'?: string;
4870
+ /**
4871
+ *
4872
+ * @type {OrderStatusEnum}
4873
+ * @memberof IOrderCollectionQueryParams
4874
+ */
4875
+ 'status'?: OrderStatusEnum;
4876
+ }
4877
+ /**
4878
+ *
4879
+ * @export
4880
+ * @interface IOrderPostRequest
4881
+ */
4882
+ export interface IOrderPostRequest {
4883
+ /**
4884
+ *
4885
+ * @type {string}
4886
+ * @memberof IOrderPostRequest
4887
+ */
4888
+ 'email'?: string;
4889
+ /**
4890
+ *
4891
+ * @type {string}
4892
+ * @memberof IOrderPostRequest
4893
+ */
4894
+ 'basketId'?: string;
4895
+ /**
4896
+ *
4897
+ * @type {IAddress}
4898
+ * @memberof IOrderPostRequest
4899
+ */
4900
+ 'shippingAddress': IAddress;
4901
+ /**
4902
+ *
4903
+ * @type {IAddress}
4904
+ * @memberof IOrderPostRequest
4905
+ */
4906
+ 'billingAddress'?: IAddress;
4907
+ /**
4908
+ *
4909
+ * @type {PaymentMethodEnum}
4910
+ * @memberof IOrderPostRequest
4911
+ */
4912
+ 'paymentMethod': PaymentMethodEnum;
4913
+ /**
4914
+ *
4915
+ * @type {string}
4916
+ * @memberof IOrderPostRequest
4917
+ */
4918
+ 'cardOwner'?: string;
4919
+ /**
4920
+ *
4921
+ * @type {number}
4922
+ * @memberof IOrderPostRequest
4923
+ */
4924
+ 'cardNumber'?: number;
4925
+ /**
4926
+ *
4927
+ * @type {number}
4928
+ * @memberof IOrderPostRequest
4929
+ */
4930
+ 'cardExpiryMonth'?: number;
4931
+ /**
4932
+ *
4933
+ * @type {number}
4934
+ * @memberof IOrderPostRequest
4935
+ */
4936
+ 'cardExpiryYear'?: number;
4937
+ /**
4938
+ *
4939
+ * @type {number}
4940
+ * @memberof IOrderPostRequest
4941
+ */
4942
+ 'cardCvv'?: number;
4943
+ }
4944
+ /**
4945
+ *
4946
+ * @export
4947
+ * @interface IOrderResponse
4948
+ */
4949
+ export interface IOrderResponse {
4950
+ /**
4951
+ *
4952
+ * @type {string}
4953
+ * @memberof IOrderResponse
4954
+ */
4955
+ '_id': string;
4956
+ /**
4957
+ *
4958
+ * @type {number}
4959
+ * @memberof IOrderResponse
4960
+ */
4961
+ '__v': number;
4962
+ /**
4963
+ *
4964
+ * @type {string}
4965
+ * @memberof IOrderResponse
4966
+ */
4967
+ 'createdAt': string;
4968
+ /**
4969
+ *
4970
+ * @type {string}
4971
+ * @memberof IOrderResponse
4972
+ */
4973
+ 'updatedAt': string;
4974
+ /**
4975
+ *
4976
+ * @type {string}
4977
+ * @memberof IOrderResponse
4978
+ */
4979
+ 'company': string;
4980
+ /**
4981
+ *
4982
+ * @type {string}
4983
+ * @memberof IOrderResponse
4984
+ */
4985
+ 'user': string;
4986
+ /**
4987
+ *
4988
+ * @type {string}
4989
+ * @memberof IOrderResponse
4990
+ */
4991
+ 'email': string;
4992
+ /**
4993
+ *
4994
+ * @type {Array<IOrderResponseProductsInner>}
4995
+ * @memberof IOrderResponse
4996
+ */
4997
+ 'products': Array<IOrderResponseProductsInner>;
4998
+ /**
4999
+ *
5000
+ * @type {IAddress}
5001
+ * @memberof IOrderResponse
5002
+ */
5003
+ 'shippingAddress': IAddress;
5004
+ /**
5005
+ *
5006
+ * @type {IAddress}
5007
+ * @memberof IOrderResponse
5008
+ */
5009
+ 'billingAddress': IAddress;
5010
+ /**
5011
+ *
5012
+ * @type {PaymentMethodEnum}
5013
+ * @memberof IOrderResponse
5014
+ */
5015
+ 'paymentMethod': PaymentMethodEnum;
5016
+ /**
5017
+ *
5018
+ * @type {string}
5019
+ * @memberof IOrderResponse
5020
+ */
5021
+ 'paymentId': string;
5022
+ /**
5023
+ *
5024
+ * @type {number}
5025
+ * @memberof IOrderResponse
5026
+ */
5027
+ 'subtotal': number;
5028
+ /**
5029
+ *
5030
+ * @type {number}
5031
+ * @memberof IOrderResponse
5032
+ */
5033
+ 'discount': number;
5034
+ /**
5035
+ *
5036
+ * @type {number}
5037
+ * @memberof IOrderResponse
5038
+ */
5039
+ 'tax': number;
5040
+ /**
5041
+ *
5042
+ * @type {number}
5043
+ * @memberof IOrderResponse
5044
+ */
5045
+ 'shipping': number;
5046
+ /**
5047
+ *
5048
+ * @type {boolean}
5049
+ * @memberof IOrderResponse
5050
+ */
5051
+ 'freeShipping': boolean;
5052
+ /**
5053
+ *
5054
+ * @type {number}
5055
+ * @memberof IOrderResponse
5056
+ */
5057
+ 'total': number;
5058
+ /**
5059
+ *
5060
+ * @type {string}
5061
+ * @memberof IOrderResponse
5062
+ */
5063
+ 'note'?: string;
5064
+ /**
5065
+ *
5066
+ * @type {CurrencyEnum}
5067
+ * @memberof IOrderResponse
5068
+ */
5069
+ 'currency': CurrencyEnum;
5070
+ /**
5071
+ *
5072
+ * @type {OrderStatusEnum}
5073
+ * @memberof IOrderResponse
5074
+ */
5075
+ 'status': OrderStatusEnum;
5076
+ }
5077
+ /**
5078
+ *
5079
+ * @export
5080
+ * @interface IOrderResponseProductsInner
5081
+ */
5082
+ export interface IOrderResponseProductsInner {
5083
+ /**
5084
+ *
5085
+ * @type {number}
5086
+ * @memberof IOrderResponseProductsInner
5087
+ */
5088
+ 'price': number;
5089
+ /**
5090
+ *
5091
+ * @type {number}
5092
+ * @memberof IOrderResponseProductsInner
5093
+ */
5094
+ 'amount': number;
5095
+ /**
5096
+ *
5097
+ * @type {PartialRecordLanguageEnumString}
5098
+ * @memberof IOrderResponseProductsInner
5099
+ */
5100
+ 'subVariantTitle'?: PartialRecordLanguageEnumString;
5101
+ /**
5102
+ *
5103
+ * @type {PartialRecordLanguageEnumString}
5104
+ * @memberof IOrderResponseProductsInner
5105
+ */
5106
+ 'mainVariantTitle'?: PartialRecordLanguageEnumString;
5107
+ /**
5108
+ *
5109
+ * @type {string}
5110
+ * @memberof IOrderResponseProductsInner
5111
+ */
5112
+ 'productThumbnail'?: string;
4691
5113
  /**
4692
5114
  *
4693
- * @type {OperationStatusEnum}
4694
- * @memberof IOperationResponse
5115
+ * @type {PartialRecordLanguageEnumString}
5116
+ * @memberof IOrderResponseProductsInner
4695
5117
  */
4696
- 'status': OperationStatusEnum;
5118
+ 'productTitle': PartialRecordLanguageEnumString;
4697
5119
  /**
4698
5120
  *
4699
- * @type {Array<PickIUserExcludeKeyofIUserPasswordOrSaltOrIsAdminOrIsSuperAdminOrCodeOrTVersionsInner>}
4700
- * @memberof IOperationResponse
5121
+ * @type {string}
5122
+ * @memberof IOrderResponseProductsInner
4701
5123
  */
4702
- 'versions': Array<PickIUserExcludeKeyofIUserPasswordOrSaltOrIsAdminOrIsSuperAdminOrCodeOrTVersionsInner>;
5124
+ 'productId': string;
4703
5125
  }
4704
5126
  /**
4705
5127
  *
4706
5128
  * @export
4707
- * @interface IOperationsResponse
5129
+ * @interface IOrdersResponse
4708
5130
  */
4709
- export interface IOperationsResponse {
5131
+ export interface IOrdersResponse {
4710
5132
  /**
4711
5133
  *
4712
5134
  * @type {number}
4713
- * @memberof IOperationsResponse
5135
+ * @memberof IOrdersResponse
4714
5136
  */
4715
5137
  'page': number;
4716
5138
  /**
4717
5139
  *
4718
5140
  * @type {number}
4719
- * @memberof IOperationsResponse
5141
+ * @memberof IOrdersResponse
4720
5142
  */
4721
5143
  'itemsPerPage': number;
4722
5144
  /**
4723
5145
  *
4724
5146
  * @type {number}
4725
- * @memberof IOperationsResponse
5147
+ * @memberof IOrdersResponse
4726
5148
  */
4727
5149
  'total': number;
4728
5150
  /**
4729
5151
  *
4730
5152
  * @type {number}
4731
- * @memberof IOperationsResponse
5153
+ * @memberof IOrdersResponse
4732
5154
  */
4733
5155
  'totalPages': number;
4734
5156
  /**
4735
5157
  *
4736
- * @type {Array<IOperationResponse>}
4737
- * @memberof IOperationsResponse
5158
+ * @type {Array<IOrderResponse>}
5159
+ * @memberof IOrdersResponse
4738
5160
  */
4739
- 'data': Array<IOperationResponse>;
5161
+ 'data': Array<IOrderResponse>;
4740
5162
  }
4741
5163
  /**
4742
5164
  *
@@ -6738,10 +7160,10 @@ export interface IThemesResponse {
6738
7160
  export interface IUserAddressResponse {
6739
7161
  /**
6740
7162
  *
6741
- * @type {Array<PickIUserExcludeKeyofIUserPasswordOrSaltOrIsAdminOrIsSuperAdminOrCodeOrTAddressesInner>}
7163
+ * @type {Array<IAddress>}
6742
7164
  * @memberof IUserAddressResponse
6743
7165
  */
6744
- 'addresses': Array<PickIUserExcludeKeyofIUserPasswordOrSaltOrIsAdminOrIsSuperAdminOrCodeOrTAddressesInner>;
7166
+ 'addresses': Array<IAddress>;
6745
7167
  }
6746
7168
  /**
6747
7169
  *
@@ -6836,10 +7258,10 @@ export interface IUserPatchRequest {
6836
7258
  'roles'?: Array<UserRoleEnum>;
6837
7259
  /**
6838
7260
  *
6839
- * @type {Array<PickIUserExcludeKeyofIUserPasswordOrSaltOrIsAdminOrIsSuperAdminOrCodeOrTAddressesInner>}
7261
+ * @type {Array<IAddress>}
6840
7262
  * @memberof IUserPatchRequest
6841
7263
  */
6842
- 'addresses'?: Array<PickIUserExcludeKeyofIUserPasswordOrSaltOrIsAdminOrIsSuperAdminOrCodeOrTAddressesInner>;
7264
+ 'addresses'?: Array<IAddress>;
6843
7265
  }
6844
7266
  /**
6845
7267
  *
@@ -6934,10 +7356,10 @@ export interface IUserResponse {
6934
7356
  'contactPermissions': PickIUserExcludeKeyofIUserPasswordOrSaltOrIsAdminOrIsSuperAdminOrCodeOrTContactPermissions;
6935
7357
  /**
6936
7358
  *
6937
- * @type {Array<PickIUserExcludeKeyofIUserPasswordOrSaltOrIsAdminOrIsSuperAdminOrCodeOrTAddressesInner>}
7359
+ * @type {Array<IAddress>}
6938
7360
  * @memberof IUserResponse
6939
7361
  */
6940
- 'addresses': Array<PickIUserExcludeKeyofIUserPasswordOrSaltOrIsAdminOrIsSuperAdminOrCodeOrTAddressesInner>;
7362
+ 'addresses': Array<IAddress>;
6941
7363
  /**
6942
7364
  *
6943
7365
  * @type {UserStatusEnum}
@@ -7127,6 +7549,19 @@ export declare const OrderEnum: {
7127
7549
  readonly DESC: "desc";
7128
7550
  };
7129
7551
  export type OrderEnum = typeof OrderEnum[keyof typeof OrderEnum];
7552
+ /**
7553
+ *
7554
+ * @export
7555
+ * @enum {string}
7556
+ */
7557
+ export declare const OrderStatusEnum: {
7558
+ readonly WAITING_PAYMENT: "waiting_payment";
7559
+ readonly PAID: "paid";
7560
+ readonly CANCELED: "canceled";
7561
+ readonly DELIVERED: "delivered";
7562
+ readonly COMPLETED: "completed";
7563
+ };
7564
+ export type OrderStatusEnum = typeof OrderStatusEnum[keyof typeof OrderStatusEnum];
7130
7565
  /**
7131
7566
  *
7132
7567
  * @export
@@ -7216,6 +7651,18 @@ export interface PartialRecordLanguageEnumString {
7216
7651
  */
7217
7652
  'de'?: string;
7218
7653
  }
7654
+ /**
7655
+ *
7656
+ * @export
7657
+ * @enum {string}
7658
+ */
7659
+ export declare const PaymentMethodEnum: {
7660
+ readonly CREDIT_CARD: "credit_card";
7661
+ readonly BANK_TRANSFER: "bank_transfer";
7662
+ readonly CASH_ON_DELIVERY: "cash_on_delivery";
7663
+ readonly CARD_ON_DELIVERY: "card_on_delivery";
7664
+ };
7665
+ export type PaymentMethodEnum = typeof PaymentMethodEnum[keyof typeof PaymentMethodEnum];
7219
7666
  /**
7220
7667
  * From T, pick a set of properties whose keys are in the union K
7221
7668
  * @export
@@ -8344,10 +8791,10 @@ export interface PickIUserExcludeKeyofIUserPasswordOrSaltOrIsAdminOrIsSuperAdmin
8344
8791
  'contactPermissions': PickIUserExcludeKeyofIUserPasswordOrSaltOrIsAdminOrIsSuperAdminOrCodeOrTContactPermissions;
8345
8792
  /**
8346
8793
  *
8347
- * @type {Array<PickIUserExcludeKeyofIUserPasswordOrSaltOrIsAdminOrIsSuperAdminOrCodeOrTAddressesInner>}
8794
+ * @type {Array<IAddress>}
8348
8795
  * @memberof PickIUserExcludeKeyofIUserPasswordOrSaltOrIsAdminOrIsSuperAdminOrCodeOrT
8349
8796
  */
8350
- 'addresses': Array<PickIUserExcludeKeyofIUserPasswordOrSaltOrIsAdminOrIsSuperAdminOrCodeOrTAddressesInner>;
8797
+ 'addresses': Array<IAddress>;
8351
8798
  /**
8352
8799
  *
8353
8800
  * @type {UserStatusEnum}
@@ -8379,67 +8826,6 @@ export interface PickIUserExcludeKeyofIUserPasswordOrSaltOrIsAdminOrIsSuperAdmin
8379
8826
  */
8380
8827
  'updatedAt': string;
8381
8828
  }
8382
- /**
8383
- *
8384
- * @export
8385
- * @interface PickIUserExcludeKeyofIUserPasswordOrSaltOrIsAdminOrIsSuperAdminOrCodeOrTAddressesInner
8386
- */
8387
- export interface PickIUserExcludeKeyofIUserPasswordOrSaltOrIsAdminOrIsSuperAdminOrCodeOrTAddressesInner {
8388
- /**
8389
- *
8390
- * @type {string}
8391
- * @memberof PickIUserExcludeKeyofIUserPasswordOrSaltOrIsAdminOrIsSuperAdminOrCodeOrTAddressesInner
8392
- */
8393
- 'phone': string;
8394
- /**
8395
- *
8396
- * @type {string}
8397
- * @memberof PickIUserExcludeKeyofIUserPasswordOrSaltOrIsAdminOrIsSuperAdminOrCodeOrTAddressesInner
8398
- */
8399
- 'address': string;
8400
- /**
8401
- *
8402
- * @type {string}
8403
- * @memberof PickIUserExcludeKeyofIUserPasswordOrSaltOrIsAdminOrIsSuperAdminOrCodeOrTAddressesInner
8404
- */
8405
- 'state': string;
8406
- /**
8407
- *
8408
- * @type {string}
8409
- * @memberof PickIUserExcludeKeyofIUserPasswordOrSaltOrIsAdminOrIsSuperAdminOrCodeOrTAddressesInner
8410
- */
8411
- 'city': string;
8412
- /**
8413
- *
8414
- * @type {string}
8415
- * @memberof PickIUserExcludeKeyofIUserPasswordOrSaltOrIsAdminOrIsSuperAdminOrCodeOrTAddressesInner
8416
- */
8417
- 'country': string;
8418
- /**
8419
- *
8420
- * @type {string}
8421
- * @memberof PickIUserExcludeKeyofIUserPasswordOrSaltOrIsAdminOrIsSuperAdminOrCodeOrTAddressesInner
8422
- */
8423
- 'surname': string;
8424
- /**
8425
- *
8426
- * @type {string}
8427
- * @memberof PickIUserExcludeKeyofIUserPasswordOrSaltOrIsAdminOrIsSuperAdminOrCodeOrTAddressesInner
8428
- */
8429
- 'name': string;
8430
- /**
8431
- *
8432
- * @type {string}
8433
- * @memberof PickIUserExcludeKeyofIUserPasswordOrSaltOrIsAdminOrIsSuperAdminOrCodeOrTAddressesInner
8434
- */
8435
- 'title': string;
8436
- /**
8437
- *
8438
- * @type {string}
8439
- * @memberof PickIUserExcludeKeyofIUserPasswordOrSaltOrIsAdminOrIsSuperAdminOrCodeOrTAddressesInner
8440
- */
8441
- '_id': string;
8442
- }
8443
8829
  /**
8444
8830
  *
8445
8831
  * @export
@@ -9861,6 +10247,246 @@ export declare class ContactFormApi extends BaseAPI {
9861
10247
  */
9862
10248
  createContactForm(requestParameters: ContactFormApiCreateContactFormRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IContactFormResponse, any>>;
9863
10249
  }
10250
+ /**
10251
+ * OrderApi - axios parameter creator
10252
+ * @export
10253
+ */
10254
+ export declare const OrderApiAxiosParamCreator: (configuration?: Configuration) => {
10255
+ /**
10256
+ *
10257
+ * @param {IOrderPostRequest} iOrderPostRequest
10258
+ * @param {*} [options] Override http request option.
10259
+ * @throws {RequiredError}
10260
+ */
10261
+ createOrder: (iOrderPostRequest: IOrderPostRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10262
+ /**
10263
+ *
10264
+ * @param {string} id
10265
+ * @param {*} [options] Override http request option.
10266
+ * @throws {RequiredError}
10267
+ */
10268
+ getOrderById: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10269
+ /**
10270
+ *
10271
+ * @param {number} [page]
10272
+ * @param {number} [itemsPerPage]
10273
+ * @param {string} [search]
10274
+ * @param {string} [startDate]
10275
+ * @param {string} [endDate]
10276
+ * @param {string} [dateField]
10277
+ * @param {OrderEnum} [order]
10278
+ * @param {string} [sort]
10279
+ * @param {string} [companyId]
10280
+ * @param {string} [domain]
10281
+ * @param {string} [userId]
10282
+ * @param {OrderStatusEnum} [status]
10283
+ * @param {*} [options] Override http request option.
10284
+ * @throws {RequiredError}
10285
+ */
10286
+ getOrders: (page?: number, itemsPerPage?: number, search?: string, startDate?: string, endDate?: string, dateField?: string, order?: OrderEnum, sort?: string, companyId?: string, domain?: string, userId?: string, status?: OrderStatusEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10287
+ };
10288
+ /**
10289
+ * OrderApi - functional programming interface
10290
+ * @export
10291
+ */
10292
+ export declare const OrderApiFp: (configuration?: Configuration) => {
10293
+ /**
10294
+ *
10295
+ * @param {IOrderPostRequest} iOrderPostRequest
10296
+ * @param {*} [options] Override http request option.
10297
+ * @throws {RequiredError}
10298
+ */
10299
+ createOrder(iOrderPostRequest: IOrderPostRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IOrderResponse>>;
10300
+ /**
10301
+ *
10302
+ * @param {string} id
10303
+ * @param {*} [options] Override http request option.
10304
+ * @throws {RequiredError}
10305
+ */
10306
+ getOrderById(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IOrderResponse>>;
10307
+ /**
10308
+ *
10309
+ * @param {number} [page]
10310
+ * @param {number} [itemsPerPage]
10311
+ * @param {string} [search]
10312
+ * @param {string} [startDate]
10313
+ * @param {string} [endDate]
10314
+ * @param {string} [dateField]
10315
+ * @param {OrderEnum} [order]
10316
+ * @param {string} [sort]
10317
+ * @param {string} [companyId]
10318
+ * @param {string} [domain]
10319
+ * @param {string} [userId]
10320
+ * @param {OrderStatusEnum} [status]
10321
+ * @param {*} [options] Override http request option.
10322
+ * @throws {RequiredError}
10323
+ */
10324
+ getOrders(page?: number, itemsPerPage?: number, search?: string, startDate?: string, endDate?: string, dateField?: string, order?: OrderEnum, sort?: string, companyId?: string, domain?: string, userId?: string, status?: OrderStatusEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IOrdersResponse>>;
10325
+ };
10326
+ /**
10327
+ * OrderApi - factory interface
10328
+ * @export
10329
+ */
10330
+ export declare const OrderApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
10331
+ /**
10332
+ *
10333
+ * @param {OrderApiCreateOrderRequest} requestParameters Request parameters.
10334
+ * @param {*} [options] Override http request option.
10335
+ * @throws {RequiredError}
10336
+ */
10337
+ createOrder(requestParameters: OrderApiCreateOrderRequest, options?: RawAxiosRequestConfig): AxiosPromise<IOrderResponse>;
10338
+ /**
10339
+ *
10340
+ * @param {OrderApiGetOrderByIdRequest} requestParameters Request parameters.
10341
+ * @param {*} [options] Override http request option.
10342
+ * @throws {RequiredError}
10343
+ */
10344
+ getOrderById(requestParameters: OrderApiGetOrderByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<IOrderResponse>;
10345
+ /**
10346
+ *
10347
+ * @param {OrderApiGetOrdersRequest} requestParameters Request parameters.
10348
+ * @param {*} [options] Override http request option.
10349
+ * @throws {RequiredError}
10350
+ */
10351
+ getOrders(requestParameters?: OrderApiGetOrdersRequest, options?: RawAxiosRequestConfig): AxiosPromise<IOrdersResponse>;
10352
+ };
10353
+ /**
10354
+ * Request parameters for createOrder operation in OrderApi.
10355
+ * @export
10356
+ * @interface OrderApiCreateOrderRequest
10357
+ */
10358
+ export interface OrderApiCreateOrderRequest {
10359
+ /**
10360
+ *
10361
+ * @type {IOrderPostRequest}
10362
+ * @memberof OrderApiCreateOrder
10363
+ */
10364
+ readonly iOrderPostRequest: IOrderPostRequest;
10365
+ }
10366
+ /**
10367
+ * Request parameters for getOrderById operation in OrderApi.
10368
+ * @export
10369
+ * @interface OrderApiGetOrderByIdRequest
10370
+ */
10371
+ export interface OrderApiGetOrderByIdRequest {
10372
+ /**
10373
+ *
10374
+ * @type {string}
10375
+ * @memberof OrderApiGetOrderById
10376
+ */
10377
+ readonly id: string;
10378
+ }
10379
+ /**
10380
+ * Request parameters for getOrders operation in OrderApi.
10381
+ * @export
10382
+ * @interface OrderApiGetOrdersRequest
10383
+ */
10384
+ export interface OrderApiGetOrdersRequest {
10385
+ /**
10386
+ *
10387
+ * @type {number}
10388
+ * @memberof OrderApiGetOrders
10389
+ */
10390
+ readonly page?: number;
10391
+ /**
10392
+ *
10393
+ * @type {number}
10394
+ * @memberof OrderApiGetOrders
10395
+ */
10396
+ readonly itemsPerPage?: number;
10397
+ /**
10398
+ *
10399
+ * @type {string}
10400
+ * @memberof OrderApiGetOrders
10401
+ */
10402
+ readonly search?: string;
10403
+ /**
10404
+ *
10405
+ * @type {string}
10406
+ * @memberof OrderApiGetOrders
10407
+ */
10408
+ readonly startDate?: string;
10409
+ /**
10410
+ *
10411
+ * @type {string}
10412
+ * @memberof OrderApiGetOrders
10413
+ */
10414
+ readonly endDate?: string;
10415
+ /**
10416
+ *
10417
+ * @type {string}
10418
+ * @memberof OrderApiGetOrders
10419
+ */
10420
+ readonly dateField?: string;
10421
+ /**
10422
+ *
10423
+ * @type {OrderEnum}
10424
+ * @memberof OrderApiGetOrders
10425
+ */
10426
+ readonly order?: OrderEnum;
10427
+ /**
10428
+ *
10429
+ * @type {string}
10430
+ * @memberof OrderApiGetOrders
10431
+ */
10432
+ readonly sort?: string;
10433
+ /**
10434
+ *
10435
+ * @type {string}
10436
+ * @memberof OrderApiGetOrders
10437
+ */
10438
+ readonly companyId?: string;
10439
+ /**
10440
+ *
10441
+ * @type {string}
10442
+ * @memberof OrderApiGetOrders
10443
+ */
10444
+ readonly domain?: string;
10445
+ /**
10446
+ *
10447
+ * @type {string}
10448
+ * @memberof OrderApiGetOrders
10449
+ */
10450
+ readonly userId?: string;
10451
+ /**
10452
+ *
10453
+ * @type {OrderStatusEnum}
10454
+ * @memberof OrderApiGetOrders
10455
+ */
10456
+ readonly status?: OrderStatusEnum;
10457
+ }
10458
+ /**
10459
+ * OrderApi - object-oriented interface
10460
+ * @export
10461
+ * @class OrderApi
10462
+ * @extends {BaseAPI}
10463
+ */
10464
+ export declare class OrderApi extends BaseAPI {
10465
+ /**
10466
+ *
10467
+ * @param {OrderApiCreateOrderRequest} requestParameters Request parameters.
10468
+ * @param {*} [options] Override http request option.
10469
+ * @throws {RequiredError}
10470
+ * @memberof OrderApi
10471
+ */
10472
+ createOrder(requestParameters: OrderApiCreateOrderRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IOrderResponse, any>>;
10473
+ /**
10474
+ *
10475
+ * @param {OrderApiGetOrderByIdRequest} requestParameters Request parameters.
10476
+ * @param {*} [options] Override http request option.
10477
+ * @throws {RequiredError}
10478
+ * @memberof OrderApi
10479
+ */
10480
+ getOrderById(requestParameters: OrderApiGetOrderByIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IOrderResponse, any>>;
10481
+ /**
10482
+ *
10483
+ * @param {OrderApiGetOrdersRequest} requestParameters Request parameters.
10484
+ * @param {*} [options] Override http request option.
10485
+ * @throws {RequiredError}
10486
+ * @memberof OrderApi
10487
+ */
10488
+ getOrders(requestParameters?: OrderApiGetOrdersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IOrdersResponse, any>>;
10489
+ }
9864
10490
  /**
9865
10491
  * PageApi - axios parameter creator
9866
10492
  * @export