@infisale-client/api-client 1.2.103 → 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 CHANGED
@@ -2128,10 +2128,10 @@ export interface ICompany {
2128
2128
  'currencies': RecordCurrencyEnumCurrency;
2129
2129
  /**
2130
2130
  *
2131
- * @type {Array<ICompanyResponseWarehousesInner>}
2131
+ * @type {Array<ICompanyPatchRequestWarehousesInner>}
2132
2132
  * @memberof ICompany
2133
2133
  */
2134
- 'warehouses': Array<ICompanyResponseWarehousesInner>;
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
@@ -2778,6 +2877,7 @@ export declare const ICompanyDashboardResponsePeriodEnum: {
2778
2877
  readonly DAY: "day";
2779
2878
  readonly MONTH: "month";
2780
2879
  readonly WEEK: "week";
2880
+ readonly HOUR: "hour";
2781
2881
  };
2782
2882
  export type ICompanyDashboardResponsePeriodEnum = typeof ICompanyDashboardResponsePeriodEnum[keyof typeof ICompanyDashboardResponsePeriodEnum];
2783
2883
  /**
@@ -2881,10 +2981,10 @@ export interface ICompanyPatchRequest {
2881
2981
  'senderEmailDnsRecords'?: Array<ICompanyAdminResponseSenderEmailDnsRecordsInner>;
2882
2982
  /**
2883
2983
  *
2884
- * @type {Array<ICompanyResponseWarehousesInner>}
2984
+ * @type {Array<ICompanyPatchRequestWarehousesInner>}
2885
2985
  * @memberof ICompanyPatchRequest
2886
2986
  */
2887
- 'warehouses'?: Array<ICompanyResponseWarehousesInner>;
2987
+ 'warehouses'?: Array<ICompanyPatchRequestWarehousesInner>;
2888
2988
  /**
2889
2989
  *
2890
2990
  * @type {ICompanyResponseAddress}
@@ -3059,6 +3159,43 @@ export interface ICompanyPatchRequestPaymentGatewaysInner {
3059
3159
  */
3060
3160
  '_id': string;
3061
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
+ }
3062
3199
  /**
3063
3200
  *
3064
3201
  * @export
@@ -3724,59 +3861,40 @@ export interface ICompanyUpdateNavigationRequest {
3724
3861
  export interface ICompanyUpdatePaymentGatewaysRequest {
3725
3862
  /**
3726
3863
  *
3727
- * @type {Array<ICompanyUpdatePaymentGatewaysRequestPaymentGatewaysInner>}
3864
+ * @type {PaymentGatewayEnum}
3728
3865
  * @memberof ICompanyUpdatePaymentGatewaysRequest
3729
3866
  */
3730
- 'paymentGateways': Array<ICompanyUpdatePaymentGatewaysRequestPaymentGatewaysInner>;
3731
- }
3732
- /**
3733
- *
3734
- * @export
3735
- * @interface ICompanyUpdatePaymentGatewaysRequestPaymentGatewaysInner
3736
- */
3737
- export interface ICompanyUpdatePaymentGatewaysRequestPaymentGatewaysInner {
3738
- /**
3739
- *
3740
- * @type {boolean}
3741
- * @memberof ICompanyUpdatePaymentGatewaysRequestPaymentGatewaysInner
3742
- */
3743
- 'active': boolean;
3744
- /**
3745
- *
3746
- * @type {boolean}
3747
- * @memberof ICompanyUpdatePaymentGatewaysRequestPaymentGatewaysInner
3748
- */
3749
- 'testMode': boolean;
3867
+ 'type'?: PaymentGatewayEnum;
3750
3868
  /**
3751
3869
  *
3752
3870
  * @type {string}
3753
- * @memberof ICompanyUpdatePaymentGatewaysRequestPaymentGatewaysInner
3871
+ * @memberof ICompanyUpdatePaymentGatewaysRequest
3754
3872
  */
3755
- 'secretKey': string;
3873
+ 'merchantId'?: string;
3756
3874
  /**
3757
3875
  *
3758
3876
  * @type {string}
3759
- * @memberof ICompanyUpdatePaymentGatewaysRequestPaymentGatewaysInner
3877
+ * @memberof ICompanyUpdatePaymentGatewaysRequest
3760
3878
  */
3761
- 'apiKey': string;
3879
+ 'apiKey'?: string;
3762
3880
  /**
3763
3881
  *
3764
3882
  * @type {string}
3765
- * @memberof ICompanyUpdatePaymentGatewaysRequestPaymentGatewaysInner
3883
+ * @memberof ICompanyUpdatePaymentGatewaysRequest
3766
3884
  */
3767
- 'merchantId': string;
3885
+ 'secretKey'?: string;
3768
3886
  /**
3769
3887
  *
3770
- * @type {PaymentGatewayEnum}
3771
- * @memberof ICompanyUpdatePaymentGatewaysRequestPaymentGatewaysInner
3888
+ * @type {boolean}
3889
+ * @memberof ICompanyUpdatePaymentGatewaysRequest
3772
3890
  */
3773
- 'type': PaymentGatewayEnum;
3891
+ 'testMode'?: boolean;
3774
3892
  /**
3775
3893
  *
3776
- * @type {string}
3777
- * @memberof ICompanyUpdatePaymentGatewaysRequestPaymentGatewaysInner
3894
+ * @type {boolean}
3895
+ * @memberof ICompanyUpdatePaymentGatewaysRequest
3778
3896
  */
3779
- '_id'?: string;
3897
+ 'active'?: boolean;
3780
3898
  }
3781
3899
  /**
3782
3900
  *
@@ -3786,10 +3904,22 @@ export interface ICompanyUpdatePaymentGatewaysRequestPaymentGatewaysInner {
3786
3904
  export interface ICompanyUpdateShippingProvidersRequest {
3787
3905
  /**
3788
3906
  *
3789
- * @type {Array<ShippingProvider>}
3907
+ * @type {string}
3790
3908
  * @memberof ICompanyUpdateShippingProvidersRequest
3791
3909
  */
3792
- 'shippingProviders': Array<ShippingProvider>;
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>;
3793
3923
  }
3794
3924
  /**
3795
3925
  *
@@ -3810,6 +3940,37 @@ export interface ICompanyUpdateUserRequest {
3810
3940
  */
3811
3941
  'status'?: CompanyUserStatusEnum;
3812
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
+ }
3813
3974
  /**
3814
3975
  *
3815
3976
  * @export
@@ -9641,6 +9802,80 @@ export interface PickICollectionResponseExcludeKeyofICollectionResponseKeyofMong
9641
9802
  */
9642
9803
  'thumbnail'?: IImage;
9643
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
+ }
9644
9879
  /**
9645
9880
  * From T, pick a set of properties whose keys are in the union K
9646
9881
  * @export
@@ -11616,6 +11851,31 @@ export interface PickIUserIdOrNameOrEmail {
11616
11851
  */
11617
11852
  '_id': string;
11618
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
+ }
11619
11879
  /**
11620
11880
  *
11621
11881
  * @export
package/dist/api/api.js CHANGED
@@ -536,7 +536,8 @@ exports.ICompanyCollectionQueryParamsDateFieldEnum = {
536
536
  exports.ICompanyDashboardResponsePeriodEnum = {
537
537
  DAY: 'day',
538
538
  MONTH: 'month',
539
- WEEK: 'week'
539
+ WEEK: 'week',
540
+ HOUR: 'hour'
540
541
  };
541
542
  exports.ICompanyUsersCollectionQueryParamsDateFieldEnum = {
542
543
  CREATED_AT: 'createdAt',
package/dist/api/api.mjs CHANGED
@@ -525,7 +525,8 @@ export const ICompanyCollectionQueryParamsDateFieldEnum = {
525
525
  export const ICompanyDashboardResponsePeriodEnum = {
526
526
  DAY: 'day',
527
527
  MONTH: 'month',
528
- WEEK: 'week'
528
+ WEEK: 'week',
529
+ HOUR: 'hour'
529
530
  };
530
531
  export const ICompanyUsersCollectionQueryParamsDateFieldEnum = {
531
532
  CREATED_AT: 'createdAt',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infisale-client/api-client",
3
- "version": "1.2.103",
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": "0d654745a17b74d6fd7153da963a79bc28c99e6a"
40
+ "gitHead": "8ddccda409d781c55568c894006bff26d938d93a"
41
41
  }