@infisale-client/api-client 1.2.50 → 1.2.52
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 +193 -43
- package/dist/api/api.js +11 -3
- package/dist/api/api.mjs +8 -0
- package/package.json +2 -2
package/dist/api/api.d.ts
CHANGED
|
@@ -2086,10 +2086,16 @@ export interface ICompany {
|
|
|
2086
2086
|
'warehouses': Array<ICompanyResponseWarehousesInner>;
|
|
2087
2087
|
/**
|
|
2088
2088
|
*
|
|
2089
|
-
* @type {
|
|
2089
|
+
* @type {string}
|
|
2090
|
+
* @memberof ICompany
|
|
2091
|
+
*/
|
|
2092
|
+
'senderEmailDnsRecordsUpdatedAt': string;
|
|
2093
|
+
/**
|
|
2094
|
+
*
|
|
2095
|
+
* @type {Array<ICompanyAdminResponseSenderEmailDnsRecordsInner>}
|
|
2090
2096
|
* @memberof ICompany
|
|
2091
2097
|
*/
|
|
2092
|
-
'senderEmailDnsRecords'
|
|
2098
|
+
'senderEmailDnsRecords': Array<ICompanyAdminResponseSenderEmailDnsRecordsInner>;
|
|
2093
2099
|
/**
|
|
2094
2100
|
*
|
|
2095
2101
|
* @type {{ [key: string]: ICompanyResponseNavigationsValue; }}
|
|
@@ -2152,6 +2158,12 @@ export interface ICompany {
|
|
|
2152
2158
|
* @memberof ICompany
|
|
2153
2159
|
*/
|
|
2154
2160
|
'paymentGateways': Array<ICompanyPatchRequestPaymentGatewaysInner>;
|
|
2161
|
+
/**
|
|
2162
|
+
*
|
|
2163
|
+
* @type {Array<ShippingProvider>}
|
|
2164
|
+
* @memberof ICompany
|
|
2165
|
+
*/
|
|
2166
|
+
'shippingProviders': Array<ShippingProvider>;
|
|
2155
2167
|
/**
|
|
2156
2168
|
*
|
|
2157
2169
|
* @type {CompanyStatusEnum}
|
|
@@ -2347,6 +2359,12 @@ export interface ICompanyAdminResponse {
|
|
|
2347
2359
|
* @memberof ICompanyAdminResponse
|
|
2348
2360
|
*/
|
|
2349
2361
|
'senderName'?: string;
|
|
2362
|
+
/**
|
|
2363
|
+
*
|
|
2364
|
+
* @type {Array<ShippingProvider>}
|
|
2365
|
+
* @memberof ICompanyAdminResponse
|
|
2366
|
+
*/
|
|
2367
|
+
'shippingProviders': Array<ShippingProvider>;
|
|
2350
2368
|
/**
|
|
2351
2369
|
*
|
|
2352
2370
|
* @type {PickICompanyNameOrDomainsOrIdOrUsersOrLanguageOrOwnerOrRoles}
|
|
@@ -2387,10 +2405,10 @@ export interface ICompanyAdminResponse {
|
|
|
2387
2405
|
'warehouses': Array<ICompanyResponseWarehousesInner>;
|
|
2388
2406
|
/**
|
|
2389
2407
|
*
|
|
2390
|
-
* @type {Array<
|
|
2408
|
+
* @type {Array<ICompanyAdminResponseSenderEmailDnsRecordsInner>}
|
|
2391
2409
|
* @memberof ICompanyAdminResponse
|
|
2392
2410
|
*/
|
|
2393
|
-
'senderEmailDnsRecords'
|
|
2411
|
+
'senderEmailDnsRecords': Array<ICompanyAdminResponseSenderEmailDnsRecordsInner>;
|
|
2394
2412
|
/**
|
|
2395
2413
|
*
|
|
2396
2414
|
* @type {{ [key: string]: ICompanyResponseNavigationsValue; }}
|
|
@@ -2424,6 +2442,55 @@ export interface ICompanyAdminResponse {
|
|
|
2424
2442
|
*/
|
|
2425
2443
|
'customHostnames': Array<ICompanyResponseCustomHostnamesInner>;
|
|
2426
2444
|
}
|
|
2445
|
+
/**
|
|
2446
|
+
*
|
|
2447
|
+
* @export
|
|
2448
|
+
* @interface ICompanyAdminResponseSenderEmailDnsRecordsInner
|
|
2449
|
+
*/
|
|
2450
|
+
export interface ICompanyAdminResponseSenderEmailDnsRecordsInner {
|
|
2451
|
+
/**
|
|
2452
|
+
*
|
|
2453
|
+
* @type {number}
|
|
2454
|
+
* @memberof ICompanyAdminResponseSenderEmailDnsRecordsInner
|
|
2455
|
+
*/
|
|
2456
|
+
'errorCount': number;
|
|
2457
|
+
/**
|
|
2458
|
+
*
|
|
2459
|
+
* @type {boolean}
|
|
2460
|
+
* @memberof ICompanyAdminResponseSenderEmailDnsRecordsInner
|
|
2461
|
+
*/
|
|
2462
|
+
'active': boolean;
|
|
2463
|
+
/**
|
|
2464
|
+
*
|
|
2465
|
+
* @type {boolean}
|
|
2466
|
+
* @memberof ICompanyAdminResponseSenderEmailDnsRecordsInner
|
|
2467
|
+
*/
|
|
2468
|
+
'isNew': boolean;
|
|
2469
|
+
/**
|
|
2470
|
+
*
|
|
2471
|
+
* @type {number}
|
|
2472
|
+
* @memberof ICompanyAdminResponseSenderEmailDnsRecordsInner
|
|
2473
|
+
*/
|
|
2474
|
+
'priority'?: number;
|
|
2475
|
+
/**
|
|
2476
|
+
*
|
|
2477
|
+
* @type {EmailConfigDnsRecordTypeEnum}
|
|
2478
|
+
* @memberof ICompanyAdminResponseSenderEmailDnsRecordsInner
|
|
2479
|
+
*/
|
|
2480
|
+
'type': EmailConfigDnsRecordTypeEnum;
|
|
2481
|
+
/**
|
|
2482
|
+
*
|
|
2483
|
+
* @type {string}
|
|
2484
|
+
* @memberof ICompanyAdminResponseSenderEmailDnsRecordsInner
|
|
2485
|
+
*/
|
|
2486
|
+
'value': string;
|
|
2487
|
+
/**
|
|
2488
|
+
*
|
|
2489
|
+
* @type {string}
|
|
2490
|
+
* @memberof ICompanyAdminResponseSenderEmailDnsRecordsInner
|
|
2491
|
+
*/
|
|
2492
|
+
'key': string;
|
|
2493
|
+
}
|
|
2427
2494
|
/**
|
|
2428
2495
|
*
|
|
2429
2496
|
* @export
|
|
@@ -2604,10 +2671,16 @@ export interface ICompanyPatchRequest {
|
|
|
2604
2671
|
'firebaseAdminCredentials'?: ICompanyResponseFirebaseAdminCredentials;
|
|
2605
2672
|
/**
|
|
2606
2673
|
*
|
|
2607
|
-
* @type {
|
|
2674
|
+
* @type {string}
|
|
2608
2675
|
* @memberof ICompanyPatchRequest
|
|
2609
2676
|
*/
|
|
2610
|
-
'
|
|
2677
|
+
'senderEmailDnsRecordsUpdatedAt'?: string;
|
|
2678
|
+
/**
|
|
2679
|
+
*
|
|
2680
|
+
* @type {Array<ICompanyAdminResponseSenderEmailDnsRecordsInner>}
|
|
2681
|
+
* @memberof ICompanyPatchRequest
|
|
2682
|
+
*/
|
|
2683
|
+
'senderEmailDnsRecords'?: Array<ICompanyAdminResponseSenderEmailDnsRecordsInner>;
|
|
2611
2684
|
/**
|
|
2612
2685
|
*
|
|
2613
2686
|
* @type {Array<ICompanyResponseWarehousesInner>}
|
|
@@ -3018,6 +3091,12 @@ export interface ICompanyResponse {
|
|
|
3018
3091
|
* @memberof ICompanyResponse
|
|
3019
3092
|
*/
|
|
3020
3093
|
'senderName'?: string;
|
|
3094
|
+
/**
|
|
3095
|
+
*
|
|
3096
|
+
* @type {Array<ShippingProvider>}
|
|
3097
|
+
* @memberof ICompanyResponse
|
|
3098
|
+
*/
|
|
3099
|
+
'shippingProviders': Array<ShippingProvider>;
|
|
3021
3100
|
/**
|
|
3022
3101
|
*
|
|
3023
3102
|
* @type {PickICompanyNameOrDomainsOrIdOrLanguage}
|
|
@@ -3042,12 +3121,6 @@ export interface ICompanyResponse {
|
|
|
3042
3121
|
* @memberof ICompanyResponse
|
|
3043
3122
|
*/
|
|
3044
3123
|
'warehouses': Array<ICompanyResponseWarehousesInner>;
|
|
3045
|
-
/**
|
|
3046
|
-
*
|
|
3047
|
-
* @type {Array<ICompanyResponseSenderEmailDnsRecordsInner>}
|
|
3048
|
-
* @memberof ICompanyResponse
|
|
3049
|
-
*/
|
|
3050
|
-
'senderEmailDnsRecords'?: Array<ICompanyResponseSenderEmailDnsRecordsInner>;
|
|
3051
3124
|
/**
|
|
3052
3125
|
*
|
|
3053
3126
|
* @type {{ [key: string]: ICompanyResponseNavigationsValue; }}
|
|
@@ -3278,37 +3351,6 @@ export interface ICompanyResponseNavigationsValue {
|
|
|
3278
3351
|
*/
|
|
3279
3352
|
'header': Array<NavigationUrl>;
|
|
3280
3353
|
}
|
|
3281
|
-
/**
|
|
3282
|
-
*
|
|
3283
|
-
* @export
|
|
3284
|
-
* @interface ICompanyResponseSenderEmailDnsRecordsInner
|
|
3285
|
-
*/
|
|
3286
|
-
export interface ICompanyResponseSenderEmailDnsRecordsInner {
|
|
3287
|
-
/**
|
|
3288
|
-
*
|
|
3289
|
-
* @type {number}
|
|
3290
|
-
* @memberof ICompanyResponseSenderEmailDnsRecordsInner
|
|
3291
|
-
*/
|
|
3292
|
-
'priority'?: number;
|
|
3293
|
-
/**
|
|
3294
|
-
*
|
|
3295
|
-
* @type {EmailConfigDnsRecordTypeEnum}
|
|
3296
|
-
* @memberof ICompanyResponseSenderEmailDnsRecordsInner
|
|
3297
|
-
*/
|
|
3298
|
-
'type': EmailConfigDnsRecordTypeEnum;
|
|
3299
|
-
/**
|
|
3300
|
-
*
|
|
3301
|
-
* @type {string}
|
|
3302
|
-
* @memberof ICompanyResponseSenderEmailDnsRecordsInner
|
|
3303
|
-
*/
|
|
3304
|
-
'value': string;
|
|
3305
|
-
/**
|
|
3306
|
-
*
|
|
3307
|
-
* @type {string}
|
|
3308
|
-
* @memberof ICompanyResponseSenderEmailDnsRecordsInner
|
|
3309
|
-
*/
|
|
3310
|
-
'key': string;
|
|
3311
|
-
}
|
|
3312
3354
|
/**
|
|
3313
3355
|
*
|
|
3314
3356
|
* @export
|
|
@@ -3492,6 +3534,19 @@ export interface ICompanyUpdatePaymentGatewaysRequestPaymentGatewaysInner {
|
|
|
3492
3534
|
*/
|
|
3493
3535
|
'_id'?: string;
|
|
3494
3536
|
}
|
|
3537
|
+
/**
|
|
3538
|
+
*
|
|
3539
|
+
* @export
|
|
3540
|
+
* @interface ICompanyUpdateShippingProvidersRequest
|
|
3541
|
+
*/
|
|
3542
|
+
export interface ICompanyUpdateShippingProvidersRequest {
|
|
3543
|
+
/**
|
|
3544
|
+
*
|
|
3545
|
+
* @type {Array<ShippingProvider>}
|
|
3546
|
+
* @memberof ICompanyUpdateShippingProvidersRequest
|
|
3547
|
+
*/
|
|
3548
|
+
'shippingProviders': Array<ShippingProvider>;
|
|
3549
|
+
}
|
|
3495
3550
|
/**
|
|
3496
3551
|
*
|
|
3497
3552
|
* @export
|
|
@@ -8388,6 +8443,12 @@ export interface PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys {
|
|
|
8388
8443
|
* @memberof PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys
|
|
8389
8444
|
*/
|
|
8390
8445
|
'senderName'?: string;
|
|
8446
|
+
/**
|
|
8447
|
+
*
|
|
8448
|
+
* @type {Array<ShippingProvider>}
|
|
8449
|
+
* @memberof PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys
|
|
8450
|
+
*/
|
|
8451
|
+
'shippingProviders': Array<ShippingProvider>;
|
|
8391
8452
|
}
|
|
8392
8453
|
/**
|
|
8393
8454
|
*
|
|
@@ -9842,6 +9903,95 @@ export interface RecordCurrencyEnumNumber {
|
|
|
9842
9903
|
*/
|
|
9843
9904
|
'jpy': number;
|
|
9844
9905
|
}
|
|
9906
|
+
/**
|
|
9907
|
+
*
|
|
9908
|
+
* @export
|
|
9909
|
+
* @interface ShippingPoviderRates
|
|
9910
|
+
*/
|
|
9911
|
+
export interface ShippingPoviderRates {
|
|
9912
|
+
/**
|
|
9913
|
+
*
|
|
9914
|
+
* @type {number}
|
|
9915
|
+
* @memberof ShippingPoviderRates
|
|
9916
|
+
*/
|
|
9917
|
+
'price': number;
|
|
9918
|
+
/**
|
|
9919
|
+
*
|
|
9920
|
+
* @type {number}
|
|
9921
|
+
* @memberof ShippingPoviderRates
|
|
9922
|
+
*/
|
|
9923
|
+
'max'?: number;
|
|
9924
|
+
/**
|
|
9925
|
+
*
|
|
9926
|
+
* @type {number}
|
|
9927
|
+
* @memberof ShippingPoviderRates
|
|
9928
|
+
*/
|
|
9929
|
+
'min'?: number;
|
|
9930
|
+
/**
|
|
9931
|
+
*
|
|
9932
|
+
* @type {ShippingPricingTypeEnum}
|
|
9933
|
+
* @memberof ShippingPoviderRates
|
|
9934
|
+
*/
|
|
9935
|
+
'type'?: ShippingPricingTypeEnum;
|
|
9936
|
+
/**
|
|
9937
|
+
*
|
|
9938
|
+
* @type {string}
|
|
9939
|
+
* @memberof ShippingPoviderRates
|
|
9940
|
+
*/
|
|
9941
|
+
'description': string;
|
|
9942
|
+
/**
|
|
9943
|
+
*
|
|
9944
|
+
* @type {string}
|
|
9945
|
+
* @memberof ShippingPoviderRates
|
|
9946
|
+
*/
|
|
9947
|
+
'title': string;
|
|
9948
|
+
/**
|
|
9949
|
+
*
|
|
9950
|
+
* @type {string}
|
|
9951
|
+
* @memberof ShippingPoviderRates
|
|
9952
|
+
*/
|
|
9953
|
+
'_id': string;
|
|
9954
|
+
}
|
|
9955
|
+
/**
|
|
9956
|
+
*
|
|
9957
|
+
* @export
|
|
9958
|
+
* @enum {string}
|
|
9959
|
+
*/
|
|
9960
|
+
export declare const ShippingPricingTypeEnum: {
|
|
9961
|
+
readonly PRICE: "price";
|
|
9962
|
+
};
|
|
9963
|
+
export type ShippingPricingTypeEnum = typeof ShippingPricingTypeEnum[keyof typeof ShippingPricingTypeEnum];
|
|
9964
|
+
/**
|
|
9965
|
+
*
|
|
9966
|
+
* @export
|
|
9967
|
+
* @interface ShippingProvider
|
|
9968
|
+
*/
|
|
9969
|
+
export interface ShippingProvider {
|
|
9970
|
+
/**
|
|
9971
|
+
*
|
|
9972
|
+
* @type {Array<ShippingPoviderRates>}
|
|
9973
|
+
* @memberof ShippingProvider
|
|
9974
|
+
*/
|
|
9975
|
+
'rates': Array<ShippingPoviderRates>;
|
|
9976
|
+
/**
|
|
9977
|
+
*
|
|
9978
|
+
* @type {Array<string>}
|
|
9979
|
+
* @memberof ShippingProvider
|
|
9980
|
+
*/
|
|
9981
|
+
'states': Array<string>;
|
|
9982
|
+
/**
|
|
9983
|
+
*
|
|
9984
|
+
* @type {string}
|
|
9985
|
+
* @memberof ShippingProvider
|
|
9986
|
+
*/
|
|
9987
|
+
'title': string;
|
|
9988
|
+
/**
|
|
9989
|
+
*
|
|
9990
|
+
* @type {string}
|
|
9991
|
+
* @memberof ShippingProvider
|
|
9992
|
+
*/
|
|
9993
|
+
'_id': string;
|
|
9994
|
+
}
|
|
9845
9995
|
/**
|
|
9846
9996
|
*
|
|
9847
9997
|
* @export
|
package/dist/api/api.js
CHANGED
|
@@ -16,9 +16,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
16
16
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
17
17
|
};
|
|
18
18
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
21
|
-
exports.UserApi = exports.UserApiFactory = exports.UserApiFp = void 0;
|
|
19
|
+
exports.ShippingPricingTypeEnum = exports.ProductDetailImageZoomTypeEnum = exports.PlanTypeEnum = exports.PlanStatusEnum = exports.PlanCurrencyEnum = exports.PaymentMethodEnum = exports.PaymentGatewayEnum = exports.PageTypeEnum = exports.OrderStatusEnum = exports.OrderEnum = exports.OperationStatusEnum = exports.NotificationStatusEnum = exports.NotificationMessageEnum = exports.NavigationUrlTargetEnum = exports.LanguageEnum = exports.IUserCollectionQueryParamsDateFieldEnum = exports.IProductCollectionQueryParamsDateFieldEnum = exports.IPlanCollectionQueryParamsDateFieldEnum = exports.IPageCollectionQueryParamsDateFieldEnum = exports.IOrderCollectionQueryParamsDateFieldEnum = exports.IOperationCollectionQueryParamsDateFieldEnum = exports.INotificationCollectionQueryParamsDateFieldEnum = exports.IMyOrderCollectionQueryParamsDateFieldEnum = exports.IFileCollectionQueryParamsDateFieldEnum = exports.IContactFormCollectionQueryParamsDateFieldEnum = exports.ICompanyUsersCollectionQueryParamsDateFieldEnum = exports.ICompanyCollectionQueryParamsDateFieldEnum = exports.ICollectionCollectionsQueryParamsDateFieldEnum = exports.ICategoryCollectionQueryParamsDateFieldEnum = exports.IBrandCollectionQueryParamsDateFieldEnum = exports.FontSizeEnum = exports.FileTypeEnum = exports.FileStatusEnum = exports.FileKeywordEnum = exports.EmailConfigDnsRecordTypeEnum = exports.CurrencyRateTypeEnum = exports.CurrencyEnum = exports.CountryEnum = exports.ContentStatusEnum = exports.ContentPositionYEnum = exports.ContentPositionXEnum = exports.ComponentTypeEnum = exports.ComponentProductTypeEnum = exports.ComponentProductOrderEnum = exports.ComponentProductListTypeEnum = exports.ComponentContentTypeEnum = exports.CompanyUserStatusEnum = exports.CompanyTypeEnum = exports.CompanyStatusEnum = exports.ButtonVariantEnum = void 0;
|
|
20
|
+
exports.SitemapApi = exports.SitemapApiFactory = exports.SitemapApiFp = exports.SitemapApiAxiosParamCreator = exports.GetProductsDateFieldEnum = exports.ProductApi = exports.ProductApiFactory = exports.ProductApiFp = exports.ProductApiAxiosParamCreator = exports.GetPagesDateFieldEnum = exports.PageApi = exports.PageApiFactory = exports.PageApiFp = exports.PageApiAxiosParamCreator = exports.GetOrdersDateFieldEnum = exports.GetMyOrdersDateFieldEnum = exports.OrderApi = exports.OrderApiFactory = exports.OrderApiFp = exports.OrderApiAxiosParamCreator = exports.ContactFormApi = exports.ContactFormApiFactory = exports.ContactFormApiFp = exports.ContactFormApiAxiosParamCreator = exports.CompanyApi = exports.CompanyApiFactory = exports.CompanyApiFp = exports.CompanyApiAxiosParamCreator = exports.GetCollectionsDateFieldEnum = exports.CollectionApi = exports.CollectionApiFactory = exports.CollectionApiFp = exports.CollectionApiAxiosParamCreator = exports.BasketApi = exports.BasketApiFactory = exports.BasketApiFp = exports.BasketApiAxiosParamCreator = exports.AuthApi = exports.AuthApiFactory = exports.AuthApiFp = exports.AuthApiAxiosParamCreator = exports.AddressApi = exports.AddressApiFactory = exports.AddressApiFp = exports.AddressApiAxiosParamCreator = exports.UserStatusEnum = exports.UserRoleEnum = exports.TimezoneEnum = exports.TemplateTypeEnum = exports.SitemapTypeEnum = void 0;
|
|
21
|
+
exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = void 0;
|
|
22
22
|
const axios_1 = __importDefault(require("axios"));
|
|
23
23
|
// Some imports not used depending on template conditions
|
|
24
24
|
// @ts-ignore
|
|
@@ -715,6 +715,14 @@ exports.ProductDetailImageZoomTypeEnum = {
|
|
|
715
715
|
DIALOG: 'dialog',
|
|
716
716
|
NONE: 'none'
|
|
717
717
|
};
|
|
718
|
+
/**
|
|
719
|
+
*
|
|
720
|
+
* @export
|
|
721
|
+
* @enum {string}
|
|
722
|
+
*/
|
|
723
|
+
exports.ShippingPricingTypeEnum = {
|
|
724
|
+
PRICE: 'price'
|
|
725
|
+
};
|
|
718
726
|
/**
|
|
719
727
|
*
|
|
720
728
|
* @export
|
package/dist/api/api.mjs
CHANGED
|
@@ -704,6 +704,14 @@ export const ProductDetailImageZoomTypeEnum = {
|
|
|
704
704
|
DIALOG: 'dialog',
|
|
705
705
|
NONE: 'none'
|
|
706
706
|
};
|
|
707
|
+
/**
|
|
708
|
+
*
|
|
709
|
+
* @export
|
|
710
|
+
* @enum {string}
|
|
711
|
+
*/
|
|
712
|
+
export const ShippingPricingTypeEnum = {
|
|
713
|
+
PRICE: 'price'
|
|
714
|
+
};
|
|
707
715
|
/**
|
|
708
716
|
*
|
|
709
717
|
* @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.52",
|
|
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": "1ca5ddd8d00a4fa30fe97a8e3fa3d34c43d74777"
|
|
41
41
|
}
|