@infisale-client/api-client 1.2.104 → 1.2.105
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 +298 -39
- package/package.json +2 -2
package/dist/api/api.d.ts
CHANGED
|
@@ -2128,10 +2128,10 @@ export interface ICompany {
|
|
|
2128
2128
|
'currencies': RecordCurrencyEnumCurrency;
|
|
2129
2129
|
/**
|
|
2130
2130
|
*
|
|
2131
|
-
* @type {Array<
|
|
2131
|
+
* @type {Array<ICompanyPatchRequestWarehousesInner>}
|
|
2132
2132
|
* @memberof ICompany
|
|
2133
2133
|
*/
|
|
2134
|
-
'warehouses': Array<
|
|
2134
|
+
'warehouses': Array<ICompanyPatchRequestWarehousesInner>;
|
|
2135
2135
|
/**
|
|
2136
2136
|
*
|
|
2137
2137
|
* @type {string}
|
|
@@ -2712,6 +2712,74 @@ export declare const ICompanyCollectionQueryParamsDateFieldEnum: {
|
|
|
2712
2712
|
readonly UPDATED_AT: "updatedAt";
|
|
2713
2713
|
};
|
|
2714
2714
|
export type ICompanyCollectionQueryParamsDateFieldEnum = typeof ICompanyCollectionQueryParamsDateFieldEnum[keyof typeof ICompanyCollectionQueryParamsDateFieldEnum];
|
|
2715
|
+
/**
|
|
2716
|
+
*
|
|
2717
|
+
* @export
|
|
2718
|
+
* @interface ICompanyCreatePaymentGatewaysRequest
|
|
2719
|
+
*/
|
|
2720
|
+
export interface ICompanyCreatePaymentGatewaysRequest {
|
|
2721
|
+
/**
|
|
2722
|
+
*
|
|
2723
|
+
* @type {PaymentGatewayEnum}
|
|
2724
|
+
* @memberof ICompanyCreatePaymentGatewaysRequest
|
|
2725
|
+
*/
|
|
2726
|
+
'type': PaymentGatewayEnum;
|
|
2727
|
+
/**
|
|
2728
|
+
*
|
|
2729
|
+
* @type {string}
|
|
2730
|
+
* @memberof ICompanyCreatePaymentGatewaysRequest
|
|
2731
|
+
*/
|
|
2732
|
+
'merchantId': string;
|
|
2733
|
+
/**
|
|
2734
|
+
*
|
|
2735
|
+
* @type {string}
|
|
2736
|
+
* @memberof ICompanyCreatePaymentGatewaysRequest
|
|
2737
|
+
*/
|
|
2738
|
+
'apiKey': string;
|
|
2739
|
+
/**
|
|
2740
|
+
*
|
|
2741
|
+
* @type {string}
|
|
2742
|
+
* @memberof ICompanyCreatePaymentGatewaysRequest
|
|
2743
|
+
*/
|
|
2744
|
+
'secretKey': string;
|
|
2745
|
+
/**
|
|
2746
|
+
*
|
|
2747
|
+
* @type {boolean}
|
|
2748
|
+
* @memberof ICompanyCreatePaymentGatewaysRequest
|
|
2749
|
+
*/
|
|
2750
|
+
'testMode': boolean;
|
|
2751
|
+
/**
|
|
2752
|
+
*
|
|
2753
|
+
* @type {boolean}
|
|
2754
|
+
* @memberof ICompanyCreatePaymentGatewaysRequest
|
|
2755
|
+
*/
|
|
2756
|
+
'active': boolean;
|
|
2757
|
+
}
|
|
2758
|
+
/**
|
|
2759
|
+
*
|
|
2760
|
+
* @export
|
|
2761
|
+
* @interface ICompanyCreateShippingProvidersRequest
|
|
2762
|
+
*/
|
|
2763
|
+
export interface ICompanyCreateShippingProvidersRequest {
|
|
2764
|
+
/**
|
|
2765
|
+
*
|
|
2766
|
+
* @type {string}
|
|
2767
|
+
* @memberof ICompanyCreateShippingProvidersRequest
|
|
2768
|
+
*/
|
|
2769
|
+
'title': string;
|
|
2770
|
+
/**
|
|
2771
|
+
*
|
|
2772
|
+
* @type {Array<string>}
|
|
2773
|
+
* @memberof ICompanyCreateShippingProvidersRequest
|
|
2774
|
+
*/
|
|
2775
|
+
'states': Array<string>;
|
|
2776
|
+
/**
|
|
2777
|
+
*
|
|
2778
|
+
* @type {Array<ShippingProviderRates>}
|
|
2779
|
+
* @memberof ICompanyCreateShippingProvidersRequest
|
|
2780
|
+
*/
|
|
2781
|
+
'rates': Array<ShippingProviderRates>;
|
|
2782
|
+
}
|
|
2715
2783
|
/**
|
|
2716
2784
|
*
|
|
2717
2785
|
* @export
|
|
@@ -2731,6 +2799,37 @@ export interface ICompanyCreateUserRequest {
|
|
|
2731
2799
|
*/
|
|
2732
2800
|
'role': string;
|
|
2733
2801
|
}
|
|
2802
|
+
/**
|
|
2803
|
+
*
|
|
2804
|
+
* @export
|
|
2805
|
+
* @interface ICompanyCreateWarehousesRequest
|
|
2806
|
+
*/
|
|
2807
|
+
export interface ICompanyCreateWarehousesRequest {
|
|
2808
|
+
/**
|
|
2809
|
+
*
|
|
2810
|
+
* @type {string}
|
|
2811
|
+
* @memberof ICompanyCreateWarehousesRequest
|
|
2812
|
+
*/
|
|
2813
|
+
'name': string;
|
|
2814
|
+
/**
|
|
2815
|
+
*
|
|
2816
|
+
* @type {string}
|
|
2817
|
+
* @memberof ICompanyCreateWarehousesRequest
|
|
2818
|
+
*/
|
|
2819
|
+
'phone'?: string;
|
|
2820
|
+
/**
|
|
2821
|
+
*
|
|
2822
|
+
* @type {string}
|
|
2823
|
+
* @memberof ICompanyCreateWarehousesRequest
|
|
2824
|
+
*/
|
|
2825
|
+
'email'?: string;
|
|
2826
|
+
/**
|
|
2827
|
+
*
|
|
2828
|
+
* @type {string}
|
|
2829
|
+
* @memberof ICompanyCreateWarehousesRequest
|
|
2830
|
+
*/
|
|
2831
|
+
'address'?: string;
|
|
2832
|
+
}
|
|
2734
2833
|
/**
|
|
2735
2834
|
*
|
|
2736
2835
|
* @export
|
|
@@ -2882,10 +2981,10 @@ export interface ICompanyPatchRequest {
|
|
|
2882
2981
|
'senderEmailDnsRecords'?: Array<ICompanyAdminResponseSenderEmailDnsRecordsInner>;
|
|
2883
2982
|
/**
|
|
2884
2983
|
*
|
|
2885
|
-
* @type {Array<
|
|
2984
|
+
* @type {Array<ICompanyPatchRequestWarehousesInner>}
|
|
2886
2985
|
* @memberof ICompanyPatchRequest
|
|
2887
2986
|
*/
|
|
2888
|
-
'warehouses'?: Array<
|
|
2987
|
+
'warehouses'?: Array<ICompanyPatchRequestWarehousesInner>;
|
|
2889
2988
|
/**
|
|
2890
2989
|
*
|
|
2891
2990
|
* @type {ICompanyResponseAddress}
|
|
@@ -3060,6 +3159,43 @@ export interface ICompanyPatchRequestPaymentGatewaysInner {
|
|
|
3060
3159
|
*/
|
|
3061
3160
|
'_id': string;
|
|
3062
3161
|
}
|
|
3162
|
+
/**
|
|
3163
|
+
*
|
|
3164
|
+
* @export
|
|
3165
|
+
* @interface ICompanyPatchRequestWarehousesInner
|
|
3166
|
+
*/
|
|
3167
|
+
export interface ICompanyPatchRequestWarehousesInner {
|
|
3168
|
+
/**
|
|
3169
|
+
*
|
|
3170
|
+
* @type {string}
|
|
3171
|
+
* @memberof ICompanyPatchRequestWarehousesInner
|
|
3172
|
+
*/
|
|
3173
|
+
'email'?: string;
|
|
3174
|
+
/**
|
|
3175
|
+
*
|
|
3176
|
+
* @type {string}
|
|
3177
|
+
* @memberof ICompanyPatchRequestWarehousesInner
|
|
3178
|
+
*/
|
|
3179
|
+
'phone'?: string;
|
|
3180
|
+
/**
|
|
3181
|
+
*
|
|
3182
|
+
* @type {string}
|
|
3183
|
+
* @memberof ICompanyPatchRequestWarehousesInner
|
|
3184
|
+
*/
|
|
3185
|
+
'address'?: string;
|
|
3186
|
+
/**
|
|
3187
|
+
*
|
|
3188
|
+
* @type {string}
|
|
3189
|
+
* @memberof ICompanyPatchRequestWarehousesInner
|
|
3190
|
+
*/
|
|
3191
|
+
'name': string;
|
|
3192
|
+
/**
|
|
3193
|
+
*
|
|
3194
|
+
* @type {string}
|
|
3195
|
+
* @memberof ICompanyPatchRequestWarehousesInner
|
|
3196
|
+
*/
|
|
3197
|
+
'_id': string;
|
|
3198
|
+
}
|
|
3063
3199
|
/**
|
|
3064
3200
|
*
|
|
3065
3201
|
* @export
|
|
@@ -3725,59 +3861,40 @@ export interface ICompanyUpdateNavigationRequest {
|
|
|
3725
3861
|
export interface ICompanyUpdatePaymentGatewaysRequest {
|
|
3726
3862
|
/**
|
|
3727
3863
|
*
|
|
3728
|
-
* @type {
|
|
3864
|
+
* @type {PaymentGatewayEnum}
|
|
3729
3865
|
* @memberof ICompanyUpdatePaymentGatewaysRequest
|
|
3730
3866
|
*/
|
|
3731
|
-
'
|
|
3732
|
-
}
|
|
3733
|
-
/**
|
|
3734
|
-
*
|
|
3735
|
-
* @export
|
|
3736
|
-
* @interface ICompanyUpdatePaymentGatewaysRequestPaymentGatewaysInner
|
|
3737
|
-
*/
|
|
3738
|
-
export interface ICompanyUpdatePaymentGatewaysRequestPaymentGatewaysInner {
|
|
3739
|
-
/**
|
|
3740
|
-
*
|
|
3741
|
-
* @type {boolean}
|
|
3742
|
-
* @memberof ICompanyUpdatePaymentGatewaysRequestPaymentGatewaysInner
|
|
3743
|
-
*/
|
|
3744
|
-
'active': boolean;
|
|
3745
|
-
/**
|
|
3746
|
-
*
|
|
3747
|
-
* @type {boolean}
|
|
3748
|
-
* @memberof ICompanyUpdatePaymentGatewaysRequestPaymentGatewaysInner
|
|
3749
|
-
*/
|
|
3750
|
-
'testMode': boolean;
|
|
3867
|
+
'type'?: PaymentGatewayEnum;
|
|
3751
3868
|
/**
|
|
3752
3869
|
*
|
|
3753
3870
|
* @type {string}
|
|
3754
|
-
* @memberof
|
|
3871
|
+
* @memberof ICompanyUpdatePaymentGatewaysRequest
|
|
3755
3872
|
*/
|
|
3756
|
-
'
|
|
3873
|
+
'merchantId'?: string;
|
|
3757
3874
|
/**
|
|
3758
3875
|
*
|
|
3759
3876
|
* @type {string}
|
|
3760
|
-
* @memberof
|
|
3877
|
+
* @memberof ICompanyUpdatePaymentGatewaysRequest
|
|
3761
3878
|
*/
|
|
3762
|
-
'apiKey'
|
|
3879
|
+
'apiKey'?: string;
|
|
3763
3880
|
/**
|
|
3764
3881
|
*
|
|
3765
3882
|
* @type {string}
|
|
3766
|
-
* @memberof
|
|
3883
|
+
* @memberof ICompanyUpdatePaymentGatewaysRequest
|
|
3767
3884
|
*/
|
|
3768
|
-
'
|
|
3885
|
+
'secretKey'?: string;
|
|
3769
3886
|
/**
|
|
3770
3887
|
*
|
|
3771
|
-
* @type {
|
|
3772
|
-
* @memberof
|
|
3888
|
+
* @type {boolean}
|
|
3889
|
+
* @memberof ICompanyUpdatePaymentGatewaysRequest
|
|
3773
3890
|
*/
|
|
3774
|
-
'
|
|
3891
|
+
'testMode'?: boolean;
|
|
3775
3892
|
/**
|
|
3776
3893
|
*
|
|
3777
|
-
* @type {
|
|
3778
|
-
* @memberof
|
|
3894
|
+
* @type {boolean}
|
|
3895
|
+
* @memberof ICompanyUpdatePaymentGatewaysRequest
|
|
3779
3896
|
*/
|
|
3780
|
-
'
|
|
3897
|
+
'active'?: boolean;
|
|
3781
3898
|
}
|
|
3782
3899
|
/**
|
|
3783
3900
|
*
|
|
@@ -3787,10 +3904,22 @@ export interface ICompanyUpdatePaymentGatewaysRequestPaymentGatewaysInner {
|
|
|
3787
3904
|
export interface ICompanyUpdateShippingProvidersRequest {
|
|
3788
3905
|
/**
|
|
3789
3906
|
*
|
|
3790
|
-
* @type {
|
|
3907
|
+
* @type {string}
|
|
3791
3908
|
* @memberof ICompanyUpdateShippingProvidersRequest
|
|
3792
3909
|
*/
|
|
3793
|
-
'
|
|
3910
|
+
'title'?: string;
|
|
3911
|
+
/**
|
|
3912
|
+
*
|
|
3913
|
+
* @type {Array<string>}
|
|
3914
|
+
* @memberof ICompanyUpdateShippingProvidersRequest
|
|
3915
|
+
*/
|
|
3916
|
+
'states'?: Array<string>;
|
|
3917
|
+
/**
|
|
3918
|
+
*
|
|
3919
|
+
* @type {Array<ShippingProviderRates>}
|
|
3920
|
+
* @memberof ICompanyUpdateShippingProvidersRequest
|
|
3921
|
+
*/
|
|
3922
|
+
'rates'?: Array<ShippingProviderRates>;
|
|
3794
3923
|
}
|
|
3795
3924
|
/**
|
|
3796
3925
|
*
|
|
@@ -3811,6 +3940,37 @@ export interface ICompanyUpdateUserRequest {
|
|
|
3811
3940
|
*/
|
|
3812
3941
|
'status'?: CompanyUserStatusEnum;
|
|
3813
3942
|
}
|
|
3943
|
+
/**
|
|
3944
|
+
*
|
|
3945
|
+
* @export
|
|
3946
|
+
* @interface ICompanyUpdateWarehousesRequest
|
|
3947
|
+
*/
|
|
3948
|
+
export interface ICompanyUpdateWarehousesRequest {
|
|
3949
|
+
/**
|
|
3950
|
+
*
|
|
3951
|
+
* @type {string}
|
|
3952
|
+
* @memberof ICompanyUpdateWarehousesRequest
|
|
3953
|
+
*/
|
|
3954
|
+
'name'?: string;
|
|
3955
|
+
/**
|
|
3956
|
+
*
|
|
3957
|
+
* @type {string}
|
|
3958
|
+
* @memberof ICompanyUpdateWarehousesRequest
|
|
3959
|
+
*/
|
|
3960
|
+
'phone'?: string;
|
|
3961
|
+
/**
|
|
3962
|
+
*
|
|
3963
|
+
* @type {string}
|
|
3964
|
+
* @memberof ICompanyUpdateWarehousesRequest
|
|
3965
|
+
*/
|
|
3966
|
+
'email'?: string;
|
|
3967
|
+
/**
|
|
3968
|
+
*
|
|
3969
|
+
* @type {string}
|
|
3970
|
+
* @memberof ICompanyUpdateWarehousesRequest
|
|
3971
|
+
*/
|
|
3972
|
+
'address'?: string;
|
|
3973
|
+
}
|
|
3814
3974
|
/**
|
|
3815
3975
|
*
|
|
3816
3976
|
* @export
|
|
@@ -9642,6 +9802,80 @@ export interface PickICollectionResponseExcludeKeyofICollectionResponseKeyofMong
|
|
|
9642
9802
|
*/
|
|
9643
9803
|
'thumbnail'?: IImage;
|
|
9644
9804
|
}
|
|
9805
|
+
/**
|
|
9806
|
+
* From T, pick a set of properties whose keys are in the union K
|
|
9807
|
+
* @export
|
|
9808
|
+
* @interface PickICompanyAtPaymentGateways91093ExcludeKeyofICompanyAtPaymentGateways91093Id
|
|
9809
|
+
*/
|
|
9810
|
+
export interface PickICompanyAtPaymentGateways91093ExcludeKeyofICompanyAtPaymentGateways91093Id {
|
|
9811
|
+
/**
|
|
9812
|
+
*
|
|
9813
|
+
* @type {PaymentGatewayEnum}
|
|
9814
|
+
* @memberof PickICompanyAtPaymentGateways91093ExcludeKeyofICompanyAtPaymentGateways91093Id
|
|
9815
|
+
*/
|
|
9816
|
+
'type': PaymentGatewayEnum;
|
|
9817
|
+
/**
|
|
9818
|
+
*
|
|
9819
|
+
* @type {string}
|
|
9820
|
+
* @memberof PickICompanyAtPaymentGateways91093ExcludeKeyofICompanyAtPaymentGateways91093Id
|
|
9821
|
+
*/
|
|
9822
|
+
'merchantId': string;
|
|
9823
|
+
/**
|
|
9824
|
+
*
|
|
9825
|
+
* @type {string}
|
|
9826
|
+
* @memberof PickICompanyAtPaymentGateways91093ExcludeKeyofICompanyAtPaymentGateways91093Id
|
|
9827
|
+
*/
|
|
9828
|
+
'apiKey': string;
|
|
9829
|
+
/**
|
|
9830
|
+
*
|
|
9831
|
+
* @type {string}
|
|
9832
|
+
* @memberof PickICompanyAtPaymentGateways91093ExcludeKeyofICompanyAtPaymentGateways91093Id
|
|
9833
|
+
*/
|
|
9834
|
+
'secretKey': string;
|
|
9835
|
+
/**
|
|
9836
|
+
*
|
|
9837
|
+
* @type {boolean}
|
|
9838
|
+
* @memberof PickICompanyAtPaymentGateways91093ExcludeKeyofICompanyAtPaymentGateways91093Id
|
|
9839
|
+
*/
|
|
9840
|
+
'testMode': boolean;
|
|
9841
|
+
/**
|
|
9842
|
+
*
|
|
9843
|
+
* @type {boolean}
|
|
9844
|
+
* @memberof PickICompanyAtPaymentGateways91093ExcludeKeyofICompanyAtPaymentGateways91093Id
|
|
9845
|
+
*/
|
|
9846
|
+
'active': boolean;
|
|
9847
|
+
}
|
|
9848
|
+
/**
|
|
9849
|
+
* From T, pick a set of properties whose keys are in the union K
|
|
9850
|
+
* @export
|
|
9851
|
+
* @interface PickICompanyAtWarehouses91093ExcludeKeyofICompanyAtWarehouses91093Id
|
|
9852
|
+
*/
|
|
9853
|
+
export interface PickICompanyAtWarehouses91093ExcludeKeyofICompanyAtWarehouses91093Id {
|
|
9854
|
+
/**
|
|
9855
|
+
*
|
|
9856
|
+
* @type {string}
|
|
9857
|
+
* @memberof PickICompanyAtWarehouses91093ExcludeKeyofICompanyAtWarehouses91093Id
|
|
9858
|
+
*/
|
|
9859
|
+
'name': string;
|
|
9860
|
+
/**
|
|
9861
|
+
*
|
|
9862
|
+
* @type {string}
|
|
9863
|
+
* @memberof PickICompanyAtWarehouses91093ExcludeKeyofICompanyAtWarehouses91093Id
|
|
9864
|
+
*/
|
|
9865
|
+
'phone'?: string;
|
|
9866
|
+
/**
|
|
9867
|
+
*
|
|
9868
|
+
* @type {string}
|
|
9869
|
+
* @memberof PickICompanyAtWarehouses91093ExcludeKeyofICompanyAtWarehouses91093Id
|
|
9870
|
+
*/
|
|
9871
|
+
'email'?: string;
|
|
9872
|
+
/**
|
|
9873
|
+
*
|
|
9874
|
+
* @type {string}
|
|
9875
|
+
* @memberof PickICompanyAtWarehouses91093ExcludeKeyofICompanyAtWarehouses91093Id
|
|
9876
|
+
*/
|
|
9877
|
+
'address'?: string;
|
|
9878
|
+
}
|
|
9645
9879
|
/**
|
|
9646
9880
|
* From T, pick a set of properties whose keys are in the union K
|
|
9647
9881
|
* @export
|
|
@@ -11617,6 +11851,31 @@ export interface PickIUserIdOrNameOrEmail {
|
|
|
11617
11851
|
*/
|
|
11618
11852
|
'_id': string;
|
|
11619
11853
|
}
|
|
11854
|
+
/**
|
|
11855
|
+
* From T, pick a set of properties whose keys are in the union K
|
|
11856
|
+
* @export
|
|
11857
|
+
* @interface PickShippingProviderExcludeKeyofShippingProviderId
|
|
11858
|
+
*/
|
|
11859
|
+
export interface PickShippingProviderExcludeKeyofShippingProviderId {
|
|
11860
|
+
/**
|
|
11861
|
+
*
|
|
11862
|
+
* @type {string}
|
|
11863
|
+
* @memberof PickShippingProviderExcludeKeyofShippingProviderId
|
|
11864
|
+
*/
|
|
11865
|
+
'title': string;
|
|
11866
|
+
/**
|
|
11867
|
+
*
|
|
11868
|
+
* @type {Array<string>}
|
|
11869
|
+
* @memberof PickShippingProviderExcludeKeyofShippingProviderId
|
|
11870
|
+
*/
|
|
11871
|
+
'states': Array<string>;
|
|
11872
|
+
/**
|
|
11873
|
+
*
|
|
11874
|
+
* @type {Array<ShippingProviderRates>}
|
|
11875
|
+
* @memberof PickShippingProviderExcludeKeyofShippingProviderId
|
|
11876
|
+
*/
|
|
11877
|
+
'rates': Array<ShippingProviderRates>;
|
|
11878
|
+
}
|
|
11620
11879
|
/**
|
|
11621
11880
|
*
|
|
11622
11881
|
* @export
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infisale-client/api-client",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.105",
|
|
4
4
|
"description": "api-client-sdk",
|
|
5
5
|
"author": "Muhammet KÖKLÜ <105980019+byhipernova@users.noreply.github.com>",
|
|
6
6
|
"homepage": "https://github.com/infisale/infisale-client#readme",
|
|
@@ -37,5 +37,5 @@
|
|
|
37
37
|
"bugs": {
|
|
38
38
|
"url": "https://github.com/infisale/infisale-client/issues"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "8ddccda409d781c55568c894006bff26d938d93a"
|
|
41
41
|
}
|