@infisale-client/api 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 +285 -43
- package/dist/api/api.js +135 -3
- package/dist/api/api.mjs +132 -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}
|
|
2675
|
+
* @memberof ICompanyPatchRequest
|
|
2676
|
+
*/
|
|
2677
|
+
'senderEmailDnsRecordsUpdatedAt'?: string;
|
|
2678
|
+
/**
|
|
2679
|
+
*
|
|
2680
|
+
* @type {Array<ICompanyAdminResponseSenderEmailDnsRecordsInner>}
|
|
2608
2681
|
* @memberof ICompanyPatchRequest
|
|
2609
2682
|
*/
|
|
2610
|
-
'senderEmailDnsRecords'?: Array<
|
|
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
|
*
|
|
@@ -9861,6 +9922,95 @@ export interface SetCompanySenderEmailRequest {
|
|
|
9861
9922
|
*/
|
|
9862
9923
|
'senderEmail': string;
|
|
9863
9924
|
}
|
|
9925
|
+
/**
|
|
9926
|
+
*
|
|
9927
|
+
* @export
|
|
9928
|
+
* @interface ShippingPoviderRates
|
|
9929
|
+
*/
|
|
9930
|
+
export interface ShippingPoviderRates {
|
|
9931
|
+
/**
|
|
9932
|
+
*
|
|
9933
|
+
* @type {number}
|
|
9934
|
+
* @memberof ShippingPoviderRates
|
|
9935
|
+
*/
|
|
9936
|
+
'price': number;
|
|
9937
|
+
/**
|
|
9938
|
+
*
|
|
9939
|
+
* @type {number}
|
|
9940
|
+
* @memberof ShippingPoviderRates
|
|
9941
|
+
*/
|
|
9942
|
+
'max'?: number;
|
|
9943
|
+
/**
|
|
9944
|
+
*
|
|
9945
|
+
* @type {number}
|
|
9946
|
+
* @memberof ShippingPoviderRates
|
|
9947
|
+
*/
|
|
9948
|
+
'min'?: number;
|
|
9949
|
+
/**
|
|
9950
|
+
*
|
|
9951
|
+
* @type {ShippingPricingTypeEnum}
|
|
9952
|
+
* @memberof ShippingPoviderRates
|
|
9953
|
+
*/
|
|
9954
|
+
'type'?: ShippingPricingTypeEnum;
|
|
9955
|
+
/**
|
|
9956
|
+
*
|
|
9957
|
+
* @type {string}
|
|
9958
|
+
* @memberof ShippingPoviderRates
|
|
9959
|
+
*/
|
|
9960
|
+
'description': string;
|
|
9961
|
+
/**
|
|
9962
|
+
*
|
|
9963
|
+
* @type {string}
|
|
9964
|
+
* @memberof ShippingPoviderRates
|
|
9965
|
+
*/
|
|
9966
|
+
'title': string;
|
|
9967
|
+
/**
|
|
9968
|
+
*
|
|
9969
|
+
* @type {string}
|
|
9970
|
+
* @memberof ShippingPoviderRates
|
|
9971
|
+
*/
|
|
9972
|
+
'_id': string;
|
|
9973
|
+
}
|
|
9974
|
+
/**
|
|
9975
|
+
*
|
|
9976
|
+
* @export
|
|
9977
|
+
* @enum {string}
|
|
9978
|
+
*/
|
|
9979
|
+
export declare const ShippingPricingTypeEnum: {
|
|
9980
|
+
readonly PRICE: "price";
|
|
9981
|
+
};
|
|
9982
|
+
export type ShippingPricingTypeEnum = typeof ShippingPricingTypeEnum[keyof typeof ShippingPricingTypeEnum];
|
|
9983
|
+
/**
|
|
9984
|
+
*
|
|
9985
|
+
* @export
|
|
9986
|
+
* @interface ShippingProvider
|
|
9987
|
+
*/
|
|
9988
|
+
export interface ShippingProvider {
|
|
9989
|
+
/**
|
|
9990
|
+
*
|
|
9991
|
+
* @type {Array<ShippingPoviderRates>}
|
|
9992
|
+
* @memberof ShippingProvider
|
|
9993
|
+
*/
|
|
9994
|
+
'rates': Array<ShippingPoviderRates>;
|
|
9995
|
+
/**
|
|
9996
|
+
*
|
|
9997
|
+
* @type {Array<string>}
|
|
9998
|
+
* @memberof ShippingProvider
|
|
9999
|
+
*/
|
|
10000
|
+
'states': Array<string>;
|
|
10001
|
+
/**
|
|
10002
|
+
*
|
|
10003
|
+
* @type {string}
|
|
10004
|
+
* @memberof ShippingProvider
|
|
10005
|
+
*/
|
|
10006
|
+
'title': string;
|
|
10007
|
+
/**
|
|
10008
|
+
*
|
|
10009
|
+
* @type {string}
|
|
10010
|
+
* @memberof ShippingProvider
|
|
10011
|
+
*/
|
|
10012
|
+
'_id': string;
|
|
10013
|
+
}
|
|
9864
10014
|
/**
|
|
9865
10015
|
*
|
|
9866
10016
|
* @export
|
|
@@ -12188,6 +12338,13 @@ export declare const CompanyApiAxiosParamCreator: (configuration?: Configuration
|
|
|
12188
12338
|
* @throws {RequiredError}
|
|
12189
12339
|
*/
|
|
12190
12340
|
addUserToCompany: (id: string, iCompanyCreateUserRequest: ICompanyCreateUserRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
12341
|
+
/**
|
|
12342
|
+
*
|
|
12343
|
+
* @param {string} id
|
|
12344
|
+
* @param {*} [options] Override http request option.
|
|
12345
|
+
* @throws {RequiredError}
|
|
12346
|
+
*/
|
|
12347
|
+
checkEmailDnsRecords: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
12191
12348
|
/**
|
|
12192
12349
|
*
|
|
12193
12350
|
* @param {ICompanyPostRequest} iCompanyPostRequest
|
|
@@ -12343,6 +12500,14 @@ export declare const CompanyApiAxiosParamCreator: (configuration?: Configuration
|
|
|
12343
12500
|
* @throws {RequiredError}
|
|
12344
12501
|
*/
|
|
12345
12502
|
updateCompanyPaymentGateways: (id: string, iCompanyUpdatePaymentGatewaysRequest: ICompanyUpdatePaymentGatewaysRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
12503
|
+
/**
|
|
12504
|
+
*
|
|
12505
|
+
* @param {string} id
|
|
12506
|
+
* @param {ICompanyUpdateShippingProvidersRequest} iCompanyUpdateShippingProvidersRequest
|
|
12507
|
+
* @param {*} [options] Override http request option.
|
|
12508
|
+
* @throws {RequiredError}
|
|
12509
|
+
*/
|
|
12510
|
+
updateCompanyShippingProviders: (id: string, iCompanyUpdateShippingProvidersRequest: ICompanyUpdateShippingProvidersRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
12346
12511
|
/**
|
|
12347
12512
|
*
|
|
12348
12513
|
* @param {string} id
|
|
@@ -12382,6 +12547,13 @@ export declare const CompanyApiFp: (configuration?: Configuration) => {
|
|
|
12382
12547
|
* @throws {RequiredError}
|
|
12383
12548
|
*/
|
|
12384
12549
|
addUserToCompany(id: string, iCompanyCreateUserRequest: ICompanyCreateUserRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ICompanyResponse>>;
|
|
12550
|
+
/**
|
|
12551
|
+
*
|
|
12552
|
+
* @param {string} id
|
|
12553
|
+
* @param {*} [options] Override http request option.
|
|
12554
|
+
* @throws {RequiredError}
|
|
12555
|
+
*/
|
|
12556
|
+
checkEmailDnsRecords(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
12385
12557
|
/**
|
|
12386
12558
|
*
|
|
12387
12559
|
* @param {ICompanyPostRequest} iCompanyPostRequest
|
|
@@ -12537,6 +12709,14 @@ export declare const CompanyApiFp: (configuration?: Configuration) => {
|
|
|
12537
12709
|
* @throws {RequiredError}
|
|
12538
12710
|
*/
|
|
12539
12711
|
updateCompanyPaymentGateways(id: string, iCompanyUpdatePaymentGatewaysRequest: ICompanyUpdatePaymentGatewaysRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
12712
|
+
/**
|
|
12713
|
+
*
|
|
12714
|
+
* @param {string} id
|
|
12715
|
+
* @param {ICompanyUpdateShippingProvidersRequest} iCompanyUpdateShippingProvidersRequest
|
|
12716
|
+
* @param {*} [options] Override http request option.
|
|
12717
|
+
* @throws {RequiredError}
|
|
12718
|
+
*/
|
|
12719
|
+
updateCompanyShippingProviders(id: string, iCompanyUpdateShippingProvidersRequest: ICompanyUpdateShippingProvidersRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ICompanyResponse>>;
|
|
12540
12720
|
/**
|
|
12541
12721
|
*
|
|
12542
12722
|
* @param {string} id
|
|
@@ -12574,6 +12754,13 @@ export declare const CompanyApiFactory: (configuration?: Configuration, basePath
|
|
|
12574
12754
|
* @throws {RequiredError}
|
|
12575
12755
|
*/
|
|
12576
12756
|
addUserToCompany(requestParameters: CompanyApiAddUserToCompanyRequest, options?: RawAxiosRequestConfig): AxiosPromise<ICompanyResponse>;
|
|
12757
|
+
/**
|
|
12758
|
+
*
|
|
12759
|
+
* @param {CompanyApiCheckEmailDnsRecordsRequest} requestParameters Request parameters.
|
|
12760
|
+
* @param {*} [options] Override http request option.
|
|
12761
|
+
* @throws {RequiredError}
|
|
12762
|
+
*/
|
|
12763
|
+
checkEmailDnsRecords(requestParameters: CompanyApiCheckEmailDnsRecordsRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
12577
12764
|
/**
|
|
12578
12765
|
*
|
|
12579
12766
|
* @param {CompanyApiCreateCompanyRequest} requestParameters Request parameters.
|
|
@@ -12700,6 +12887,13 @@ export declare const CompanyApiFactory: (configuration?: Configuration, basePath
|
|
|
12700
12887
|
* @throws {RequiredError}
|
|
12701
12888
|
*/
|
|
12702
12889
|
updateCompanyPaymentGateways(requestParameters: CompanyApiUpdateCompanyPaymentGatewaysRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
12890
|
+
/**
|
|
12891
|
+
*
|
|
12892
|
+
* @param {CompanyApiUpdateCompanyShippingProvidersRequest} requestParameters Request parameters.
|
|
12893
|
+
* @param {*} [options] Override http request option.
|
|
12894
|
+
* @throws {RequiredError}
|
|
12895
|
+
*/
|
|
12896
|
+
updateCompanyShippingProviders(requestParameters: CompanyApiUpdateCompanyShippingProvidersRequest, options?: RawAxiosRequestConfig): AxiosPromise<ICompanyResponse>;
|
|
12703
12897
|
/**
|
|
12704
12898
|
*
|
|
12705
12899
|
* @param {CompanyApiUpdatePrimaryDomainRequest} requestParameters Request parameters.
|
|
@@ -12753,6 +12947,19 @@ export interface CompanyApiAddUserToCompanyRequest {
|
|
|
12753
12947
|
*/
|
|
12754
12948
|
readonly iCompanyCreateUserRequest: ICompanyCreateUserRequest;
|
|
12755
12949
|
}
|
|
12950
|
+
/**
|
|
12951
|
+
* Request parameters for checkEmailDnsRecords operation in CompanyApi.
|
|
12952
|
+
* @export
|
|
12953
|
+
* @interface CompanyApiCheckEmailDnsRecordsRequest
|
|
12954
|
+
*/
|
|
12955
|
+
export interface CompanyApiCheckEmailDnsRecordsRequest {
|
|
12956
|
+
/**
|
|
12957
|
+
*
|
|
12958
|
+
* @type {string}
|
|
12959
|
+
* @memberof CompanyApiCheckEmailDnsRecords
|
|
12960
|
+
*/
|
|
12961
|
+
readonly id: string;
|
|
12962
|
+
}
|
|
12756
12963
|
/**
|
|
12757
12964
|
* Request parameters for createCompany operation in CompanyApi.
|
|
12758
12965
|
* @export
|
|
@@ -13161,6 +13368,25 @@ export interface CompanyApiUpdateCompanyPaymentGatewaysRequest {
|
|
|
13161
13368
|
*/
|
|
13162
13369
|
readonly iCompanyUpdatePaymentGatewaysRequest: ICompanyUpdatePaymentGatewaysRequest;
|
|
13163
13370
|
}
|
|
13371
|
+
/**
|
|
13372
|
+
* Request parameters for updateCompanyShippingProviders operation in CompanyApi.
|
|
13373
|
+
* @export
|
|
13374
|
+
* @interface CompanyApiUpdateCompanyShippingProvidersRequest
|
|
13375
|
+
*/
|
|
13376
|
+
export interface CompanyApiUpdateCompanyShippingProvidersRequest {
|
|
13377
|
+
/**
|
|
13378
|
+
*
|
|
13379
|
+
* @type {string}
|
|
13380
|
+
* @memberof CompanyApiUpdateCompanyShippingProviders
|
|
13381
|
+
*/
|
|
13382
|
+
readonly id: string;
|
|
13383
|
+
/**
|
|
13384
|
+
*
|
|
13385
|
+
* @type {ICompanyUpdateShippingProvidersRequest}
|
|
13386
|
+
* @memberof CompanyApiUpdateCompanyShippingProviders
|
|
13387
|
+
*/
|
|
13388
|
+
readonly iCompanyUpdateShippingProvidersRequest: ICompanyUpdateShippingProvidersRequest;
|
|
13389
|
+
}
|
|
13164
13390
|
/**
|
|
13165
13391
|
* Request parameters for updatePrimaryDomain operation in CompanyApi.
|
|
13166
13392
|
* @export
|
|
@@ -13228,6 +13454,14 @@ export declare class CompanyApi extends BaseAPI {
|
|
|
13228
13454
|
* @memberof CompanyApi
|
|
13229
13455
|
*/
|
|
13230
13456
|
addUserToCompany(requestParameters: CompanyApiAddUserToCompanyRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ICompanyResponse, any>>;
|
|
13457
|
+
/**
|
|
13458
|
+
*
|
|
13459
|
+
* @param {CompanyApiCheckEmailDnsRecordsRequest} requestParameters Request parameters.
|
|
13460
|
+
* @param {*} [options] Override http request option.
|
|
13461
|
+
* @throws {RequiredError}
|
|
13462
|
+
* @memberof CompanyApi
|
|
13463
|
+
*/
|
|
13464
|
+
checkEmailDnsRecords(requestParameters: CompanyApiCheckEmailDnsRecordsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
13231
13465
|
/**
|
|
13232
13466
|
*
|
|
13233
13467
|
* @param {CompanyApiCreateCompanyRequest} requestParameters Request parameters.
|
|
@@ -13372,6 +13606,14 @@ export declare class CompanyApi extends BaseAPI {
|
|
|
13372
13606
|
* @memberof CompanyApi
|
|
13373
13607
|
*/
|
|
13374
13608
|
updateCompanyPaymentGateways(requestParameters: CompanyApiUpdateCompanyPaymentGatewaysRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
13609
|
+
/**
|
|
13610
|
+
*
|
|
13611
|
+
* @param {CompanyApiUpdateCompanyShippingProvidersRequest} requestParameters Request parameters.
|
|
13612
|
+
* @param {*} [options] Override http request option.
|
|
13613
|
+
* @throws {RequiredError}
|
|
13614
|
+
* @memberof CompanyApi
|
|
13615
|
+
*/
|
|
13616
|
+
updateCompanyShippingProviders(requestParameters: CompanyApiUpdateCompanyShippingProvidersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ICompanyResponse, any>>;
|
|
13375
13617
|
/**
|
|
13376
13618
|
*
|
|
13377
13619
|
* @param {CompanyApiUpdatePrimaryDomainRequest} requestParameters Request parameters.
|
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.GetUsersDateFieldEnum = exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.ThemeApi = exports.ThemeApiFactory = exports.ThemeApiFp = exports.ThemeApiAxiosParamCreator = exports.TemplateApi = exports.TemplateApiFactory = exports.TemplateApiFp = exports.TemplateApiAxiosParamCreator = exports.SitemapApi = exports.SitemapApiFactory = exports.SitemapApiFp = exports.SitemapApiAxiosParamCreator = exports.GetProductsDateFieldEnum = exports.ProductApi = exports.ProductApiFactory = exports.ProductApiFp = exports.ProductApiAxiosParamCreator = exports.GetPlansDateFieldEnum = exports.PlanApi = exports.PlanApiFactory = exports.PlanApiFp = exports.PlanApiAxiosParamCreator = exports.GetPagesDateFieldEnum = exports.PageApi = exports.PageApiFactory = exports.PageApiFp = exports.PageApiAxiosParamCreator = exports.GetOrdersDateFieldEnum = exports.GetMyOrdersDateFieldEnum = exports.OrderApi = exports.OrderApiFactory = exports.OrderApiFp = exports.OrderApiAxiosParamCreator = exports.GetOperationsDateFieldEnum = exports.OperationApi = exports.OperationApiFactory = exports.OperationApiFp = exports.OperationApiAxiosParamCreator = exports.GetNotificationsDateFieldEnum = exports.NotificationApi = 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.NotificationApiFp = exports.NotificationApiAxiosParamCreator = exports.GetFilesDateFieldEnum = exports.FileApi = exports.FileApiFactory = exports.FileApiFp = exports.FileApiAxiosParamCreator = exports.GetContactFormsDateFieldEnum = exports.ContactFormApi = exports.ContactFormApiFactory = exports.ContactFormApiFp = exports.ContactFormApiAxiosParamCreator = exports.GetCompanyCustomersDateFieldEnum = exports.GetCompaniesDateFieldEnum = exports.CompanyApi = exports.CompanyApiFactory = exports.CompanyApiFp = exports.CompanyApiAxiosParamCreator = exports.GetCollectionsDateFieldEnum = exports.CollectionApi = exports.CollectionApiFactory = exports.CollectionApiFp = exports.CollectionApiAxiosParamCreator = exports.GetCategoriesDateFieldEnum = exports.CategoryApi = exports.CategoryApiFactory = exports.CategoryApiFp = exports.CategoryApiAxiosParamCreator = exports.GetBrandsDateFieldEnum = exports.BrandApi = exports.BrandApiFactory = exports.BrandApiFp = exports.BrandApiAxiosParamCreator = 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.GetUsersDateFieldEnum = exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.ThemeApi = exports.ThemeApiFactory = exports.ThemeApiFp = exports.ThemeApiAxiosParamCreator = exports.TemplateApi = exports.TemplateApiFactory = exports.TemplateApiFp = exports.TemplateApiAxiosParamCreator = exports.SitemapApi = exports.SitemapApiFactory = exports.SitemapApiFp = exports.SitemapApiAxiosParamCreator = exports.GetProductsDateFieldEnum = exports.ProductApi = exports.ProductApiFactory = exports.ProductApiFp = exports.ProductApiAxiosParamCreator = exports.GetPlansDateFieldEnum = exports.PlanApi = exports.PlanApiFactory = exports.PlanApiFp = exports.PlanApiAxiosParamCreator = exports.GetPagesDateFieldEnum = exports.PageApi = exports.PageApiFactory = exports.PageApiFp = exports.PageApiAxiosParamCreator = exports.GetOrdersDateFieldEnum = exports.GetMyOrdersDateFieldEnum = exports.OrderApi = exports.OrderApiFactory = exports.OrderApiFp = exports.OrderApiAxiosParamCreator = exports.GetOperationsDateFieldEnum = exports.OperationApi = exports.OperationApiFactory = exports.OperationApiFp = exports.OperationApiAxiosParamCreator = exports.GetNotificationsDateFieldEnum = exports.NotificationApi = exports.NotificationApiFactory = 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
|
|
@@ -3649,6 +3657,34 @@ const CompanyApiAxiosParamCreator = function (configuration) {
|
|
|
3649
3657
|
options: localVarRequestOptions,
|
|
3650
3658
|
};
|
|
3651
3659
|
},
|
|
3660
|
+
/**
|
|
3661
|
+
*
|
|
3662
|
+
* @param {string} id
|
|
3663
|
+
* @param {*} [options] Override http request option.
|
|
3664
|
+
* @throws {RequiredError}
|
|
3665
|
+
*/
|
|
3666
|
+
checkEmailDnsRecords: async (id, options = {}) => {
|
|
3667
|
+
// verify required parameter 'id' is not null or undefined
|
|
3668
|
+
(0, common_1.assertParamExists)('checkEmailDnsRecords', 'id', id);
|
|
3669
|
+
const localVarPath = `/api/companies/{id}/check-email-dns-records`
|
|
3670
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
3671
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3672
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3673
|
+
let baseOptions;
|
|
3674
|
+
if (configuration) {
|
|
3675
|
+
baseOptions = configuration.baseOptions;
|
|
3676
|
+
}
|
|
3677
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
3678
|
+
const localVarHeaderParameter = {};
|
|
3679
|
+
const localVarQueryParameter = {};
|
|
3680
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3681
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3682
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3683
|
+
return {
|
|
3684
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3685
|
+
options: localVarRequestOptions,
|
|
3686
|
+
};
|
|
3687
|
+
},
|
|
3652
3688
|
/**
|
|
3653
3689
|
*
|
|
3654
3690
|
* @param {ICompanyPostRequest} iCompanyPostRequest
|
|
@@ -4284,6 +4320,39 @@ const CompanyApiAxiosParamCreator = function (configuration) {
|
|
|
4284
4320
|
options: localVarRequestOptions,
|
|
4285
4321
|
};
|
|
4286
4322
|
},
|
|
4323
|
+
/**
|
|
4324
|
+
*
|
|
4325
|
+
* @param {string} id
|
|
4326
|
+
* @param {ICompanyUpdateShippingProvidersRequest} iCompanyUpdateShippingProvidersRequest
|
|
4327
|
+
* @param {*} [options] Override http request option.
|
|
4328
|
+
* @throws {RequiredError}
|
|
4329
|
+
*/
|
|
4330
|
+
updateCompanyShippingProviders: async (id, iCompanyUpdateShippingProvidersRequest, options = {}) => {
|
|
4331
|
+
// verify required parameter 'id' is not null or undefined
|
|
4332
|
+
(0, common_1.assertParamExists)('updateCompanyShippingProviders', 'id', id);
|
|
4333
|
+
// verify required parameter 'iCompanyUpdateShippingProvidersRequest' is not null or undefined
|
|
4334
|
+
(0, common_1.assertParamExists)('updateCompanyShippingProviders', 'iCompanyUpdateShippingProvidersRequest', iCompanyUpdateShippingProvidersRequest);
|
|
4335
|
+
const localVarPath = `/api/companies/{id}/shipping-providers`
|
|
4336
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
4337
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4338
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4339
|
+
let baseOptions;
|
|
4340
|
+
if (configuration) {
|
|
4341
|
+
baseOptions = configuration.baseOptions;
|
|
4342
|
+
}
|
|
4343
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options };
|
|
4344
|
+
const localVarHeaderParameter = {};
|
|
4345
|
+
const localVarQueryParameter = {};
|
|
4346
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4347
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4348
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4349
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4350
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(iCompanyUpdateShippingProvidersRequest, localVarRequestOptions, configuration);
|
|
4351
|
+
return {
|
|
4352
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4353
|
+
options: localVarRequestOptions,
|
|
4354
|
+
};
|
|
4355
|
+
},
|
|
4287
4356
|
/**
|
|
4288
4357
|
*
|
|
4289
4358
|
* @param {string} id
|
|
@@ -4389,6 +4458,18 @@ const CompanyApiFp = function (configuration) {
|
|
|
4389
4458
|
const localVarOperationServerBasePath = base_1.operationServerMap['CompanyApi.addUserToCompany']?.[localVarOperationServerIndex]?.url;
|
|
4390
4459
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4391
4460
|
},
|
|
4461
|
+
/**
|
|
4462
|
+
*
|
|
4463
|
+
* @param {string} id
|
|
4464
|
+
* @param {*} [options] Override http request option.
|
|
4465
|
+
* @throws {RequiredError}
|
|
4466
|
+
*/
|
|
4467
|
+
async checkEmailDnsRecords(id, options) {
|
|
4468
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.checkEmailDnsRecords(id, options);
|
|
4469
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4470
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['CompanyApi.checkEmailDnsRecords']?.[localVarOperationServerIndex]?.url;
|
|
4471
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4472
|
+
},
|
|
4392
4473
|
/**
|
|
4393
4474
|
*
|
|
4394
4475
|
* @param {ICompanyPostRequest} iCompanyPostRequest
|
|
@@ -4634,6 +4715,19 @@ const CompanyApiFp = function (configuration) {
|
|
|
4634
4715
|
const localVarOperationServerBasePath = base_1.operationServerMap['CompanyApi.updateCompanyPaymentGateways']?.[localVarOperationServerIndex]?.url;
|
|
4635
4716
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4636
4717
|
},
|
|
4718
|
+
/**
|
|
4719
|
+
*
|
|
4720
|
+
* @param {string} id
|
|
4721
|
+
* @param {ICompanyUpdateShippingProvidersRequest} iCompanyUpdateShippingProvidersRequest
|
|
4722
|
+
* @param {*} [options] Override http request option.
|
|
4723
|
+
* @throws {RequiredError}
|
|
4724
|
+
*/
|
|
4725
|
+
async updateCompanyShippingProviders(id, iCompanyUpdateShippingProvidersRequest, options) {
|
|
4726
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateCompanyShippingProviders(id, iCompanyUpdateShippingProvidersRequest, options);
|
|
4727
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4728
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['CompanyApi.updateCompanyShippingProviders']?.[localVarOperationServerIndex]?.url;
|
|
4729
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4730
|
+
},
|
|
4637
4731
|
/**
|
|
4638
4732
|
*
|
|
4639
4733
|
* @param {string} id
|
|
@@ -4689,6 +4783,15 @@ const CompanyApiFactory = function (configuration, basePath, axios) {
|
|
|
4689
4783
|
addUserToCompany(requestParameters, options) {
|
|
4690
4784
|
return localVarFp.addUserToCompany(requestParameters.id, requestParameters.iCompanyCreateUserRequest, options).then((request) => request(axios, basePath));
|
|
4691
4785
|
},
|
|
4786
|
+
/**
|
|
4787
|
+
*
|
|
4788
|
+
* @param {CompanyApiCheckEmailDnsRecordsRequest} requestParameters Request parameters.
|
|
4789
|
+
* @param {*} [options] Override http request option.
|
|
4790
|
+
* @throws {RequiredError}
|
|
4791
|
+
*/
|
|
4792
|
+
checkEmailDnsRecords(requestParameters, options) {
|
|
4793
|
+
return localVarFp.checkEmailDnsRecords(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
4794
|
+
},
|
|
4692
4795
|
/**
|
|
4693
4796
|
*
|
|
4694
4797
|
* @param {CompanyApiCreateCompanyRequest} requestParameters Request parameters.
|
|
@@ -4851,6 +4954,15 @@ const CompanyApiFactory = function (configuration, basePath, axios) {
|
|
|
4851
4954
|
updateCompanyPaymentGateways(requestParameters, options) {
|
|
4852
4955
|
return localVarFp.updateCompanyPaymentGateways(requestParameters.id, requestParameters.iCompanyUpdatePaymentGatewaysRequest, options).then((request) => request(axios, basePath));
|
|
4853
4956
|
},
|
|
4957
|
+
/**
|
|
4958
|
+
*
|
|
4959
|
+
* @param {CompanyApiUpdateCompanyShippingProvidersRequest} requestParameters Request parameters.
|
|
4960
|
+
* @param {*} [options] Override http request option.
|
|
4961
|
+
* @throws {RequiredError}
|
|
4962
|
+
*/
|
|
4963
|
+
updateCompanyShippingProviders(requestParameters, options) {
|
|
4964
|
+
return localVarFp.updateCompanyShippingProviders(requestParameters.id, requestParameters.iCompanyUpdateShippingProvidersRequest, options).then((request) => request(axios, basePath));
|
|
4965
|
+
},
|
|
4854
4966
|
/**
|
|
4855
4967
|
*
|
|
4856
4968
|
* @param {CompanyApiUpdatePrimaryDomainRequest} requestParameters Request parameters.
|
|
@@ -4899,6 +5011,16 @@ class CompanyApi extends base_1.BaseAPI {
|
|
|
4899
5011
|
addUserToCompany(requestParameters, options) {
|
|
4900
5012
|
return (0, exports.CompanyApiFp)(this.configuration).addUserToCompany(requestParameters.id, requestParameters.iCompanyCreateUserRequest, options).then((request) => request(this.axios, this.basePath));
|
|
4901
5013
|
}
|
|
5014
|
+
/**
|
|
5015
|
+
*
|
|
5016
|
+
* @param {CompanyApiCheckEmailDnsRecordsRequest} requestParameters Request parameters.
|
|
5017
|
+
* @param {*} [options] Override http request option.
|
|
5018
|
+
* @throws {RequiredError}
|
|
5019
|
+
* @memberof CompanyApi
|
|
5020
|
+
*/
|
|
5021
|
+
checkEmailDnsRecords(requestParameters, options) {
|
|
5022
|
+
return (0, exports.CompanyApiFp)(this.configuration).checkEmailDnsRecords(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
5023
|
+
}
|
|
4902
5024
|
/**
|
|
4903
5025
|
*
|
|
4904
5026
|
* @param {CompanyApiCreateCompanyRequest} requestParameters Request parameters.
|
|
@@ -5079,6 +5201,16 @@ class CompanyApi extends base_1.BaseAPI {
|
|
|
5079
5201
|
updateCompanyPaymentGateways(requestParameters, options) {
|
|
5080
5202
|
return (0, exports.CompanyApiFp)(this.configuration).updateCompanyPaymentGateways(requestParameters.id, requestParameters.iCompanyUpdatePaymentGatewaysRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5081
5203
|
}
|
|
5204
|
+
/**
|
|
5205
|
+
*
|
|
5206
|
+
* @param {CompanyApiUpdateCompanyShippingProvidersRequest} requestParameters Request parameters.
|
|
5207
|
+
* @param {*} [options] Override http request option.
|
|
5208
|
+
* @throws {RequiredError}
|
|
5209
|
+
* @memberof CompanyApi
|
|
5210
|
+
*/
|
|
5211
|
+
updateCompanyShippingProviders(requestParameters, options) {
|
|
5212
|
+
return (0, exports.CompanyApiFp)(this.configuration).updateCompanyShippingProviders(requestParameters.id, requestParameters.iCompanyUpdateShippingProvidersRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5213
|
+
}
|
|
5082
5214
|
/**
|
|
5083
5215
|
*
|
|
5084
5216
|
* @param {CompanyApiUpdatePrimaryDomainRequest} requestParameters Request parameters.
|
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
|
|
@@ -3614,6 +3622,34 @@ export const CompanyApiAxiosParamCreator = function (configuration) {
|
|
|
3614
3622
|
options: localVarRequestOptions,
|
|
3615
3623
|
};
|
|
3616
3624
|
},
|
|
3625
|
+
/**
|
|
3626
|
+
*
|
|
3627
|
+
* @param {string} id
|
|
3628
|
+
* @param {*} [options] Override http request option.
|
|
3629
|
+
* @throws {RequiredError}
|
|
3630
|
+
*/
|
|
3631
|
+
checkEmailDnsRecords: async (id, options = {}) => {
|
|
3632
|
+
// verify required parameter 'id' is not null or undefined
|
|
3633
|
+
assertParamExists('checkEmailDnsRecords', 'id', id);
|
|
3634
|
+
const localVarPath = `/api/companies/{id}/check-email-dns-records`
|
|
3635
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
3636
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3637
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3638
|
+
let baseOptions;
|
|
3639
|
+
if (configuration) {
|
|
3640
|
+
baseOptions = configuration.baseOptions;
|
|
3641
|
+
}
|
|
3642
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
3643
|
+
const localVarHeaderParameter = {};
|
|
3644
|
+
const localVarQueryParameter = {};
|
|
3645
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3646
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3647
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3648
|
+
return {
|
|
3649
|
+
url: toPathString(localVarUrlObj),
|
|
3650
|
+
options: localVarRequestOptions,
|
|
3651
|
+
};
|
|
3652
|
+
},
|
|
3617
3653
|
/**
|
|
3618
3654
|
*
|
|
3619
3655
|
* @param {ICompanyPostRequest} iCompanyPostRequest
|
|
@@ -4249,6 +4285,39 @@ export const CompanyApiAxiosParamCreator = function (configuration) {
|
|
|
4249
4285
|
options: localVarRequestOptions,
|
|
4250
4286
|
};
|
|
4251
4287
|
},
|
|
4288
|
+
/**
|
|
4289
|
+
*
|
|
4290
|
+
* @param {string} id
|
|
4291
|
+
* @param {ICompanyUpdateShippingProvidersRequest} iCompanyUpdateShippingProvidersRequest
|
|
4292
|
+
* @param {*} [options] Override http request option.
|
|
4293
|
+
* @throws {RequiredError}
|
|
4294
|
+
*/
|
|
4295
|
+
updateCompanyShippingProviders: async (id, iCompanyUpdateShippingProvidersRequest, options = {}) => {
|
|
4296
|
+
// verify required parameter 'id' is not null or undefined
|
|
4297
|
+
assertParamExists('updateCompanyShippingProviders', 'id', id);
|
|
4298
|
+
// verify required parameter 'iCompanyUpdateShippingProvidersRequest' is not null or undefined
|
|
4299
|
+
assertParamExists('updateCompanyShippingProviders', 'iCompanyUpdateShippingProvidersRequest', iCompanyUpdateShippingProvidersRequest);
|
|
4300
|
+
const localVarPath = `/api/companies/{id}/shipping-providers`
|
|
4301
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
4302
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4303
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4304
|
+
let baseOptions;
|
|
4305
|
+
if (configuration) {
|
|
4306
|
+
baseOptions = configuration.baseOptions;
|
|
4307
|
+
}
|
|
4308
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options };
|
|
4309
|
+
const localVarHeaderParameter = {};
|
|
4310
|
+
const localVarQueryParameter = {};
|
|
4311
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4312
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4313
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4314
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4315
|
+
localVarRequestOptions.data = serializeDataIfNeeded(iCompanyUpdateShippingProvidersRequest, localVarRequestOptions, configuration);
|
|
4316
|
+
return {
|
|
4317
|
+
url: toPathString(localVarUrlObj),
|
|
4318
|
+
options: localVarRequestOptions,
|
|
4319
|
+
};
|
|
4320
|
+
},
|
|
4252
4321
|
/**
|
|
4253
4322
|
*
|
|
4254
4323
|
* @param {string} id
|
|
@@ -4353,6 +4422,18 @@ export const CompanyApiFp = function (configuration) {
|
|
|
4353
4422
|
const localVarOperationServerBasePath = operationServerMap['CompanyApi.addUserToCompany']?.[localVarOperationServerIndex]?.url;
|
|
4354
4423
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4355
4424
|
},
|
|
4425
|
+
/**
|
|
4426
|
+
*
|
|
4427
|
+
* @param {string} id
|
|
4428
|
+
* @param {*} [options] Override http request option.
|
|
4429
|
+
* @throws {RequiredError}
|
|
4430
|
+
*/
|
|
4431
|
+
async checkEmailDnsRecords(id, options) {
|
|
4432
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.checkEmailDnsRecords(id, options);
|
|
4433
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4434
|
+
const localVarOperationServerBasePath = operationServerMap['CompanyApi.checkEmailDnsRecords']?.[localVarOperationServerIndex]?.url;
|
|
4435
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4436
|
+
},
|
|
4356
4437
|
/**
|
|
4357
4438
|
*
|
|
4358
4439
|
* @param {ICompanyPostRequest} iCompanyPostRequest
|
|
@@ -4598,6 +4679,19 @@ export const CompanyApiFp = function (configuration) {
|
|
|
4598
4679
|
const localVarOperationServerBasePath = operationServerMap['CompanyApi.updateCompanyPaymentGateways']?.[localVarOperationServerIndex]?.url;
|
|
4599
4680
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4600
4681
|
},
|
|
4682
|
+
/**
|
|
4683
|
+
*
|
|
4684
|
+
* @param {string} id
|
|
4685
|
+
* @param {ICompanyUpdateShippingProvidersRequest} iCompanyUpdateShippingProvidersRequest
|
|
4686
|
+
* @param {*} [options] Override http request option.
|
|
4687
|
+
* @throws {RequiredError}
|
|
4688
|
+
*/
|
|
4689
|
+
async updateCompanyShippingProviders(id, iCompanyUpdateShippingProvidersRequest, options) {
|
|
4690
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateCompanyShippingProviders(id, iCompanyUpdateShippingProvidersRequest, options);
|
|
4691
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4692
|
+
const localVarOperationServerBasePath = operationServerMap['CompanyApi.updateCompanyShippingProviders']?.[localVarOperationServerIndex]?.url;
|
|
4693
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4694
|
+
},
|
|
4601
4695
|
/**
|
|
4602
4696
|
*
|
|
4603
4697
|
* @param {string} id
|
|
@@ -4652,6 +4746,15 @@ export const CompanyApiFactory = function (configuration, basePath, axios) {
|
|
|
4652
4746
|
addUserToCompany(requestParameters, options) {
|
|
4653
4747
|
return localVarFp.addUserToCompany(requestParameters.id, requestParameters.iCompanyCreateUserRequest, options).then((request) => request(axios, basePath));
|
|
4654
4748
|
},
|
|
4749
|
+
/**
|
|
4750
|
+
*
|
|
4751
|
+
* @param {CompanyApiCheckEmailDnsRecordsRequest} requestParameters Request parameters.
|
|
4752
|
+
* @param {*} [options] Override http request option.
|
|
4753
|
+
* @throws {RequiredError}
|
|
4754
|
+
*/
|
|
4755
|
+
checkEmailDnsRecords(requestParameters, options) {
|
|
4756
|
+
return localVarFp.checkEmailDnsRecords(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
4757
|
+
},
|
|
4655
4758
|
/**
|
|
4656
4759
|
*
|
|
4657
4760
|
* @param {CompanyApiCreateCompanyRequest} requestParameters Request parameters.
|
|
@@ -4814,6 +4917,15 @@ export const CompanyApiFactory = function (configuration, basePath, axios) {
|
|
|
4814
4917
|
updateCompanyPaymentGateways(requestParameters, options) {
|
|
4815
4918
|
return localVarFp.updateCompanyPaymentGateways(requestParameters.id, requestParameters.iCompanyUpdatePaymentGatewaysRequest, options).then((request) => request(axios, basePath));
|
|
4816
4919
|
},
|
|
4920
|
+
/**
|
|
4921
|
+
*
|
|
4922
|
+
* @param {CompanyApiUpdateCompanyShippingProvidersRequest} requestParameters Request parameters.
|
|
4923
|
+
* @param {*} [options] Override http request option.
|
|
4924
|
+
* @throws {RequiredError}
|
|
4925
|
+
*/
|
|
4926
|
+
updateCompanyShippingProviders(requestParameters, options) {
|
|
4927
|
+
return localVarFp.updateCompanyShippingProviders(requestParameters.id, requestParameters.iCompanyUpdateShippingProvidersRequest, options).then((request) => request(axios, basePath));
|
|
4928
|
+
},
|
|
4817
4929
|
/**
|
|
4818
4930
|
*
|
|
4819
4931
|
* @param {CompanyApiUpdatePrimaryDomainRequest} requestParameters Request parameters.
|
|
@@ -4861,6 +4973,16 @@ export class CompanyApi extends BaseAPI {
|
|
|
4861
4973
|
addUserToCompany(requestParameters, options) {
|
|
4862
4974
|
return CompanyApiFp(this.configuration).addUserToCompany(requestParameters.id, requestParameters.iCompanyCreateUserRequest, options).then((request) => request(this.axios, this.basePath));
|
|
4863
4975
|
}
|
|
4976
|
+
/**
|
|
4977
|
+
*
|
|
4978
|
+
* @param {CompanyApiCheckEmailDnsRecordsRequest} requestParameters Request parameters.
|
|
4979
|
+
* @param {*} [options] Override http request option.
|
|
4980
|
+
* @throws {RequiredError}
|
|
4981
|
+
* @memberof CompanyApi
|
|
4982
|
+
*/
|
|
4983
|
+
checkEmailDnsRecords(requestParameters, options) {
|
|
4984
|
+
return CompanyApiFp(this.configuration).checkEmailDnsRecords(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
4985
|
+
}
|
|
4864
4986
|
/**
|
|
4865
4987
|
*
|
|
4866
4988
|
* @param {CompanyApiCreateCompanyRequest} requestParameters Request parameters.
|
|
@@ -5041,6 +5163,16 @@ export class CompanyApi extends BaseAPI {
|
|
|
5041
5163
|
updateCompanyPaymentGateways(requestParameters, options) {
|
|
5042
5164
|
return CompanyApiFp(this.configuration).updateCompanyPaymentGateways(requestParameters.id, requestParameters.iCompanyUpdatePaymentGatewaysRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5043
5165
|
}
|
|
5166
|
+
/**
|
|
5167
|
+
*
|
|
5168
|
+
* @param {CompanyApiUpdateCompanyShippingProvidersRequest} requestParameters Request parameters.
|
|
5169
|
+
* @param {*} [options] Override http request option.
|
|
5170
|
+
* @throws {RequiredError}
|
|
5171
|
+
* @memberof CompanyApi
|
|
5172
|
+
*/
|
|
5173
|
+
updateCompanyShippingProviders(requestParameters, options) {
|
|
5174
|
+
return CompanyApiFp(this.configuration).updateCompanyShippingProviders(requestParameters.id, requestParameters.iCompanyUpdateShippingProvidersRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5175
|
+
}
|
|
5044
5176
|
/**
|
|
5045
5177
|
*
|
|
5046
5178
|
* @param {CompanyApiUpdatePrimaryDomainRequest} requestParameters Request parameters.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infisale-client/api",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.52",
|
|
4
4
|
"description": "api-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
|
}
|