@infisale-client/api-client 1.3.25 → 1.3.27
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 +414 -95
- package/dist/api/api.js +117 -3
- package/dist/api/api.mjs +110 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1 -0
- package/dist/index.mjs +1 -0
- package/package.json +2 -2
package/dist/api/api.d.ts
CHANGED
|
@@ -2056,14 +2056,6 @@ export interface ICompany {
|
|
|
2056
2056
|
'roles': {
|
|
2057
2057
|
[key: string]: PickICompanyNameOrDomainsOrIdOrUsersOrLanguageOrOwnerOrRolesRolesValue;
|
|
2058
2058
|
};
|
|
2059
|
-
/**
|
|
2060
|
-
*
|
|
2061
|
-
* @type {{ [key: string]: string; }}
|
|
2062
|
-
* @memberof ICompany
|
|
2063
|
-
*/
|
|
2064
|
-
'socials'?: {
|
|
2065
|
-
[key: string]: string;
|
|
2066
|
-
};
|
|
2067
2059
|
/**
|
|
2068
2060
|
*
|
|
2069
2061
|
* @type {string}
|
|
@@ -2174,12 +2166,6 @@ export interface ICompany {
|
|
|
2174
2166
|
* @memberof ICompany
|
|
2175
2167
|
*/
|
|
2176
2168
|
'firebaseAdminCredentials'?: ICompanyResponseFirebaseAdminCredentials;
|
|
2177
|
-
/**
|
|
2178
|
-
*
|
|
2179
|
-
* @type {ICompanyResponseAddress}
|
|
2180
|
-
* @memberof ICompany
|
|
2181
|
-
*/
|
|
2182
|
-
'address'?: ICompanyResponseAddress;
|
|
2183
2169
|
/**
|
|
2184
2170
|
*
|
|
2185
2171
|
* @type {Array<ICompanyResponseCustomHostnamesInner>}
|
|
@@ -2363,14 +2349,6 @@ export interface ICompanyAdminResponse {
|
|
|
2363
2349
|
* @memberof ICompanyAdminResponse
|
|
2364
2350
|
*/
|
|
2365
2351
|
'customPaymentMethods': RecordCustomPaymentMethodEnumExtraFeeNumberInfoPartialRecordLanguageEnumStringActiveBoolean;
|
|
2366
|
-
/**
|
|
2367
|
-
*
|
|
2368
|
-
* @type {{ [key: string]: string; }}
|
|
2369
|
-
* @memberof ICompanyAdminResponse
|
|
2370
|
-
*/
|
|
2371
|
-
'socials'?: {
|
|
2372
|
-
[key: string]: string;
|
|
2373
|
-
};
|
|
2374
2352
|
/**
|
|
2375
2353
|
*
|
|
2376
2354
|
* @type {string}
|
|
@@ -2557,12 +2535,6 @@ export interface ICompanyAdminResponse {
|
|
|
2557
2535
|
* @memberof ICompanyAdminResponse
|
|
2558
2536
|
*/
|
|
2559
2537
|
'firebaseAdminCredentials'?: ICompanyResponseFirebaseAdminCredentials;
|
|
2560
|
-
/**
|
|
2561
|
-
*
|
|
2562
|
-
* @type {ICompanyResponseAddress}
|
|
2563
|
-
* @memberof ICompanyAdminResponse
|
|
2564
|
-
*/
|
|
2565
|
-
'address'?: ICompanyResponseAddress;
|
|
2566
2538
|
/**
|
|
2567
2539
|
*
|
|
2568
2540
|
* @type {Array<ICompanyResponseCustomHostnamesInner>}
|
|
@@ -2971,6 +2943,56 @@ export interface ICompanyDashboardResponseOrdersInner {
|
|
|
2971
2943
|
*/
|
|
2972
2944
|
'date': string;
|
|
2973
2945
|
}
|
|
2946
|
+
/**
|
|
2947
|
+
*
|
|
2948
|
+
* @export
|
|
2949
|
+
* @interface ICompanyMonthlyBandwidth
|
|
2950
|
+
*/
|
|
2951
|
+
export interface ICompanyMonthlyBandwidth {
|
|
2952
|
+
/**
|
|
2953
|
+
*
|
|
2954
|
+
* @type {string}
|
|
2955
|
+
* @memberof ICompanyMonthlyBandwidth
|
|
2956
|
+
*/
|
|
2957
|
+
'_id': string;
|
|
2958
|
+
/**
|
|
2959
|
+
*
|
|
2960
|
+
* @type {string}
|
|
2961
|
+
* @memberof ICompanyMonthlyBandwidth
|
|
2962
|
+
*/
|
|
2963
|
+
'company': string;
|
|
2964
|
+
/**
|
|
2965
|
+
*
|
|
2966
|
+
* @type {number}
|
|
2967
|
+
* @memberof ICompanyMonthlyBandwidth
|
|
2968
|
+
*/
|
|
2969
|
+
'year': number;
|
|
2970
|
+
/**
|
|
2971
|
+
*
|
|
2972
|
+
* @type {number}
|
|
2973
|
+
* @memberof ICompanyMonthlyBandwidth
|
|
2974
|
+
*/
|
|
2975
|
+
'month': number;
|
|
2976
|
+
/**
|
|
2977
|
+
*
|
|
2978
|
+
* @type {number}
|
|
2979
|
+
* @memberof ICompanyMonthlyBandwidth
|
|
2980
|
+
*/
|
|
2981
|
+
'bandwidth': number;
|
|
2982
|
+
}
|
|
2983
|
+
/**
|
|
2984
|
+
*
|
|
2985
|
+
* @export
|
|
2986
|
+
* @interface ICompanyMonthlyBandwidthResponse
|
|
2987
|
+
*/
|
|
2988
|
+
export interface ICompanyMonthlyBandwidthResponse {
|
|
2989
|
+
/**
|
|
2990
|
+
*
|
|
2991
|
+
* @type {Array<ICompanyMonthlyBandwidth>}
|
|
2992
|
+
* @memberof ICompanyMonthlyBandwidthResponse
|
|
2993
|
+
*/
|
|
2994
|
+
'data': Array<ICompanyMonthlyBandwidth>;
|
|
2995
|
+
}
|
|
2974
2996
|
/**
|
|
2975
2997
|
*
|
|
2976
2998
|
* @export
|
|
@@ -3045,12 +3067,6 @@ export interface ICompanyPatchRequest {
|
|
|
3045
3067
|
* @memberof ICompanyPatchRequest
|
|
3046
3068
|
*/
|
|
3047
3069
|
'warehouses'?: Array<ICompanyPatchRequestWarehousesInner>;
|
|
3048
|
-
/**
|
|
3049
|
-
*
|
|
3050
|
-
* @type {ICompanyResponseAddress}
|
|
3051
|
-
* @memberof ICompanyPatchRequest
|
|
3052
|
-
*/
|
|
3053
|
-
'address'?: ICompanyResponseAddress;
|
|
3054
3070
|
/**
|
|
3055
3071
|
*
|
|
3056
3072
|
* @type {string}
|
|
@@ -3075,14 +3091,6 @@ export interface ICompanyPatchRequest {
|
|
|
3075
3091
|
* @memberof ICompanyPatchRequest
|
|
3076
3092
|
*/
|
|
3077
3093
|
'customPaymentMethods'?: RecordCustomPaymentMethodEnumExtraFeeNumberInfoPartialRecordLanguageEnumStringActiveBoolean;
|
|
3078
|
-
/**
|
|
3079
|
-
*
|
|
3080
|
-
* @type {{ [key: string]: string; }}
|
|
3081
|
-
* @memberof ICompanyPatchRequest
|
|
3082
|
-
*/
|
|
3083
|
-
'socials'?: {
|
|
3084
|
-
[key: string]: string;
|
|
3085
|
-
};
|
|
3086
3094
|
/**
|
|
3087
3095
|
*
|
|
3088
3096
|
* @type {string}
|
|
@@ -3414,14 +3422,6 @@ export interface ICompanyResponse {
|
|
|
3414
3422
|
* @memberof ICompanyResponse
|
|
3415
3423
|
*/
|
|
3416
3424
|
'customPaymentMethods': RecordCustomPaymentMethodEnumExtraFeeNumberInfoPartialRecordLanguageEnumStringActiveBoolean;
|
|
3417
|
-
/**
|
|
3418
|
-
*
|
|
3419
|
-
* @type {{ [key: string]: string; }}
|
|
3420
|
-
* @memberof ICompanyResponse
|
|
3421
|
-
*/
|
|
3422
|
-
'socials'?: {
|
|
3423
|
-
[key: string]: string;
|
|
3424
|
-
};
|
|
3425
3425
|
/**
|
|
3426
3426
|
*
|
|
3427
3427
|
* @type {string}
|
|
@@ -3588,12 +3588,6 @@ export interface ICompanyResponse {
|
|
|
3588
3588
|
* @memberof ICompanyResponse
|
|
3589
3589
|
*/
|
|
3590
3590
|
'firebaseAdminCredentials'?: ICompanyResponseFirebaseAdminCredentials;
|
|
3591
|
-
/**
|
|
3592
|
-
*
|
|
3593
|
-
* @type {ICompanyResponseAddress}
|
|
3594
|
-
* @memberof ICompanyResponse
|
|
3595
|
-
*/
|
|
3596
|
-
'address'?: ICompanyResponseAddress;
|
|
3597
3591
|
/**
|
|
3598
3592
|
*
|
|
3599
3593
|
* @type {Array<ICompanyResponseCustomHostnamesInner>}
|
|
@@ -3607,37 +3601,6 @@ export interface ICompanyResponse {
|
|
|
3607
3601
|
*/
|
|
3608
3602
|
'totalBandwidth': number;
|
|
3609
3603
|
}
|
|
3610
|
-
/**
|
|
3611
|
-
*
|
|
3612
|
-
* @export
|
|
3613
|
-
* @interface ICompanyResponseAddress
|
|
3614
|
-
*/
|
|
3615
|
-
export interface ICompanyResponseAddress {
|
|
3616
|
-
/**
|
|
3617
|
-
*
|
|
3618
|
-
* @type {string}
|
|
3619
|
-
* @memberof ICompanyResponseAddress
|
|
3620
|
-
*/
|
|
3621
|
-
'description': string;
|
|
3622
|
-
/**
|
|
3623
|
-
*
|
|
3624
|
-
* @type {string}
|
|
3625
|
-
* @memberof ICompanyResponseAddress
|
|
3626
|
-
*/
|
|
3627
|
-
'city': string;
|
|
3628
|
-
/**
|
|
3629
|
-
*
|
|
3630
|
-
* @type {string}
|
|
3631
|
-
* @memberof ICompanyResponseAddress
|
|
3632
|
-
*/
|
|
3633
|
-
'state': string;
|
|
3634
|
-
/**
|
|
3635
|
-
*
|
|
3636
|
-
* @type {string}
|
|
3637
|
-
* @memberof ICompanyResponseAddress
|
|
3638
|
-
*/
|
|
3639
|
-
'country': string;
|
|
3640
|
-
}
|
|
3641
3604
|
/**
|
|
3642
3605
|
*
|
|
3643
3606
|
* @export
|
|
@@ -8685,6 +8648,14 @@ export interface IThemePatchRequest {
|
|
|
8685
8648
|
* @memberof IThemePatchRequest
|
|
8686
8649
|
*/
|
|
8687
8650
|
'assetVersion'?: number;
|
|
8651
|
+
/**
|
|
8652
|
+
* Construct a type with a set of properties K of type T
|
|
8653
|
+
* @type {{ [key: string]: RecordStringConfigRecordStringConfigIndexTypeEnumContentsRecordStringRecordStringConfigIndexTypeEnumValue; }}
|
|
8654
|
+
* @memberof IThemePatchRequest
|
|
8655
|
+
*/
|
|
8656
|
+
'componentConfigIndex'?: {
|
|
8657
|
+
[key: string]: RecordStringConfigRecordStringConfigIndexTypeEnumContentsRecordStringRecordStringConfigIndexTypeEnumValue;
|
|
8658
|
+
};
|
|
8688
8659
|
}
|
|
8689
8660
|
/**
|
|
8690
8661
|
*
|
|
@@ -8738,6 +8709,14 @@ export interface IThemePostRequest {
|
|
|
8738
8709
|
* @memberof IThemePostRequest
|
|
8739
8710
|
*/
|
|
8740
8711
|
'assetVersion': number;
|
|
8712
|
+
/**
|
|
8713
|
+
* Construct a type with a set of properties K of type T
|
|
8714
|
+
* @type {{ [key: string]: RecordStringConfigRecordStringConfigIndexTypeEnumContentsRecordStringRecordStringConfigIndexTypeEnumValue; }}
|
|
8715
|
+
* @memberof IThemePostRequest
|
|
8716
|
+
*/
|
|
8717
|
+
'componentConfigIndex': {
|
|
8718
|
+
[key: string]: RecordStringConfigRecordStringConfigIndexTypeEnumContentsRecordStringRecordStringConfigIndexTypeEnumValue;
|
|
8719
|
+
};
|
|
8741
8720
|
}
|
|
8742
8721
|
/**
|
|
8743
8722
|
*
|
|
@@ -8841,6 +8820,14 @@ export interface IThemeResponse {
|
|
|
8841
8820
|
* @memberof IThemeResponse
|
|
8842
8821
|
*/
|
|
8843
8822
|
'assetVersion': number;
|
|
8823
|
+
/**
|
|
8824
|
+
* Construct a type with a set of properties K of type T
|
|
8825
|
+
* @type {{ [key: string]: RecordStringConfigRecordStringConfigIndexTypeEnumContentsRecordStringRecordStringConfigIndexTypeEnumValue; }}
|
|
8826
|
+
* @memberof IThemeResponse
|
|
8827
|
+
*/
|
|
8828
|
+
'componentConfigIndex': {
|
|
8829
|
+
[key: string]: RecordStringConfigRecordStringConfigIndexTypeEnumContentsRecordStringRecordStringConfigIndexTypeEnumValue;
|
|
8830
|
+
};
|
|
8844
8831
|
}
|
|
8845
8832
|
/**
|
|
8846
8833
|
*
|
|
@@ -9064,6 +9051,243 @@ export interface IUniquePagesResponse {
|
|
|
9064
9051
|
*/
|
|
9065
9052
|
'data': Array<IUniquePageResponse>;
|
|
9066
9053
|
}
|
|
9054
|
+
/**
|
|
9055
|
+
*
|
|
9056
|
+
* @export
|
|
9057
|
+
* @interface IUrlRedirect
|
|
9058
|
+
*/
|
|
9059
|
+
export interface IUrlRedirect {
|
|
9060
|
+
/**
|
|
9061
|
+
*
|
|
9062
|
+
* @type {string}
|
|
9063
|
+
* @memberof IUrlRedirect
|
|
9064
|
+
*/
|
|
9065
|
+
'_id': string;
|
|
9066
|
+
/**
|
|
9067
|
+
*
|
|
9068
|
+
* @type {number}
|
|
9069
|
+
* @memberof IUrlRedirect
|
|
9070
|
+
*/
|
|
9071
|
+
'__v': number;
|
|
9072
|
+
/**
|
|
9073
|
+
*
|
|
9074
|
+
* @type {string}
|
|
9075
|
+
* @memberof IUrlRedirect
|
|
9076
|
+
*/
|
|
9077
|
+
'createdAt': string;
|
|
9078
|
+
/**
|
|
9079
|
+
*
|
|
9080
|
+
* @type {string}
|
|
9081
|
+
* @memberof IUrlRedirect
|
|
9082
|
+
*/
|
|
9083
|
+
'updatedAt': string;
|
|
9084
|
+
/**
|
|
9085
|
+
*
|
|
9086
|
+
* @type {string}
|
|
9087
|
+
* @memberof IUrlRedirect
|
|
9088
|
+
*/
|
|
9089
|
+
'company': string;
|
|
9090
|
+
/**
|
|
9091
|
+
*
|
|
9092
|
+
* @type {string}
|
|
9093
|
+
* @memberof IUrlRedirect
|
|
9094
|
+
*/
|
|
9095
|
+
'from': string;
|
|
9096
|
+
/**
|
|
9097
|
+
*
|
|
9098
|
+
* @type {string}
|
|
9099
|
+
* @memberof IUrlRedirect
|
|
9100
|
+
*/
|
|
9101
|
+
'to': string;
|
|
9102
|
+
}
|
|
9103
|
+
/**
|
|
9104
|
+
*
|
|
9105
|
+
* @export
|
|
9106
|
+
* @interface IUrlRedirectCollectionQueryParams
|
|
9107
|
+
*/
|
|
9108
|
+
export interface IUrlRedirectCollectionQueryParams {
|
|
9109
|
+
/**
|
|
9110
|
+
*
|
|
9111
|
+
* @type {OrderEnum}
|
|
9112
|
+
* @memberof IUrlRedirectCollectionQueryParams
|
|
9113
|
+
*/
|
|
9114
|
+
'order'?: OrderEnum;
|
|
9115
|
+
/**
|
|
9116
|
+
*
|
|
9117
|
+
* @type {number}
|
|
9118
|
+
* @memberof IUrlRedirectCollectionQueryParams
|
|
9119
|
+
*/
|
|
9120
|
+
'page'?: number;
|
|
9121
|
+
/**
|
|
9122
|
+
*
|
|
9123
|
+
* @type {number}
|
|
9124
|
+
* @memberof IUrlRedirectCollectionQueryParams
|
|
9125
|
+
*/
|
|
9126
|
+
'itemsPerPage'?: number;
|
|
9127
|
+
/**
|
|
9128
|
+
*
|
|
9129
|
+
* @type {string}
|
|
9130
|
+
* @memberof IUrlRedirectCollectionQueryParams
|
|
9131
|
+
*/
|
|
9132
|
+
'search'?: string;
|
|
9133
|
+
/**
|
|
9134
|
+
*
|
|
9135
|
+
* @type {string}
|
|
9136
|
+
* @memberof IUrlRedirectCollectionQueryParams
|
|
9137
|
+
*/
|
|
9138
|
+
'startDate'?: string;
|
|
9139
|
+
/**
|
|
9140
|
+
*
|
|
9141
|
+
* @type {string}
|
|
9142
|
+
* @memberof IUrlRedirectCollectionQueryParams
|
|
9143
|
+
*/
|
|
9144
|
+
'endDate'?: string;
|
|
9145
|
+
/**
|
|
9146
|
+
*
|
|
9147
|
+
* @type {string}
|
|
9148
|
+
* @memberof IUrlRedirectCollectionQueryParams
|
|
9149
|
+
*/
|
|
9150
|
+
'dateField'?: IUrlRedirectCollectionQueryParamsDateFieldEnum;
|
|
9151
|
+
/**
|
|
9152
|
+
*
|
|
9153
|
+
* @type {string}
|
|
9154
|
+
* @memberof IUrlRedirectCollectionQueryParams
|
|
9155
|
+
*/
|
|
9156
|
+
'company': string;
|
|
9157
|
+
/**
|
|
9158
|
+
*
|
|
9159
|
+
* @type {string}
|
|
9160
|
+
* @memberof IUrlRedirectCollectionQueryParams
|
|
9161
|
+
*/
|
|
9162
|
+
'createdAt'?: string;
|
|
9163
|
+
/**
|
|
9164
|
+
*
|
|
9165
|
+
* @type {string}
|
|
9166
|
+
* @memberof IUrlRedirectCollectionQueryParams
|
|
9167
|
+
*/
|
|
9168
|
+
'sort'?: IUrlRedirectCollectionQueryParamsSortEnum;
|
|
9169
|
+
}
|
|
9170
|
+
export declare const IUrlRedirectCollectionQueryParamsDateFieldEnum: {
|
|
9171
|
+
readonly CREATED_AT: "createdAt";
|
|
9172
|
+
readonly UPDATED_AT: "updatedAt";
|
|
9173
|
+
};
|
|
9174
|
+
export type IUrlRedirectCollectionQueryParamsDateFieldEnum = typeof IUrlRedirectCollectionQueryParamsDateFieldEnum[keyof typeof IUrlRedirectCollectionQueryParamsDateFieldEnum];
|
|
9175
|
+
export declare const IUrlRedirectCollectionQueryParamsSortEnum: {
|
|
9176
|
+
readonly CREATED_AT: "createdAt";
|
|
9177
|
+
readonly FROM: "from";
|
|
9178
|
+
};
|
|
9179
|
+
export type IUrlRedirectCollectionQueryParamsSortEnum = typeof IUrlRedirectCollectionQueryParamsSortEnum[keyof typeof IUrlRedirectCollectionQueryParamsSortEnum];
|
|
9180
|
+
/**
|
|
9181
|
+
*
|
|
9182
|
+
* @export
|
|
9183
|
+
* @interface IUrlRedirectPostRequest
|
|
9184
|
+
*/
|
|
9185
|
+
export interface IUrlRedirectPostRequest {
|
|
9186
|
+
/**
|
|
9187
|
+
*
|
|
9188
|
+
* @type {string}
|
|
9189
|
+
* @memberof IUrlRedirectPostRequest
|
|
9190
|
+
*/
|
|
9191
|
+
'company': string;
|
|
9192
|
+
/**
|
|
9193
|
+
*
|
|
9194
|
+
* @type {string}
|
|
9195
|
+
* @memberof IUrlRedirectPostRequest
|
|
9196
|
+
*/
|
|
9197
|
+
'from': string;
|
|
9198
|
+
/**
|
|
9199
|
+
*
|
|
9200
|
+
* @type {string}
|
|
9201
|
+
* @memberof IUrlRedirectPostRequest
|
|
9202
|
+
*/
|
|
9203
|
+
'to': string;
|
|
9204
|
+
}
|
|
9205
|
+
/**
|
|
9206
|
+
*
|
|
9207
|
+
* @export
|
|
9208
|
+
* @interface IUrlRedirectResponse
|
|
9209
|
+
*/
|
|
9210
|
+
export interface IUrlRedirectResponse {
|
|
9211
|
+
/**
|
|
9212
|
+
*
|
|
9213
|
+
* @type {string}
|
|
9214
|
+
* @memberof IUrlRedirectResponse
|
|
9215
|
+
*/
|
|
9216
|
+
'_id': string;
|
|
9217
|
+
/**
|
|
9218
|
+
*
|
|
9219
|
+
* @type {number}
|
|
9220
|
+
* @memberof IUrlRedirectResponse
|
|
9221
|
+
*/
|
|
9222
|
+
'__v': number;
|
|
9223
|
+
/**
|
|
9224
|
+
*
|
|
9225
|
+
* @type {string}
|
|
9226
|
+
* @memberof IUrlRedirectResponse
|
|
9227
|
+
*/
|
|
9228
|
+
'createdAt': string;
|
|
9229
|
+
/**
|
|
9230
|
+
*
|
|
9231
|
+
* @type {string}
|
|
9232
|
+
* @memberof IUrlRedirectResponse
|
|
9233
|
+
*/
|
|
9234
|
+
'updatedAt': string;
|
|
9235
|
+
/**
|
|
9236
|
+
*
|
|
9237
|
+
* @type {string}
|
|
9238
|
+
* @memberof IUrlRedirectResponse
|
|
9239
|
+
*/
|
|
9240
|
+
'company': string;
|
|
9241
|
+
/**
|
|
9242
|
+
*
|
|
9243
|
+
* @type {string}
|
|
9244
|
+
* @memberof IUrlRedirectResponse
|
|
9245
|
+
*/
|
|
9246
|
+
'from': string;
|
|
9247
|
+
/**
|
|
9248
|
+
*
|
|
9249
|
+
* @type {string}
|
|
9250
|
+
* @memberof IUrlRedirectResponse
|
|
9251
|
+
*/
|
|
9252
|
+
'to': string;
|
|
9253
|
+
}
|
|
9254
|
+
/**
|
|
9255
|
+
*
|
|
9256
|
+
* @export
|
|
9257
|
+
* @interface IUrlRedirectsResponse
|
|
9258
|
+
*/
|
|
9259
|
+
export interface IUrlRedirectsResponse {
|
|
9260
|
+
/**
|
|
9261
|
+
*
|
|
9262
|
+
* @type {number}
|
|
9263
|
+
* @memberof IUrlRedirectsResponse
|
|
9264
|
+
*/
|
|
9265
|
+
'page': number;
|
|
9266
|
+
/**
|
|
9267
|
+
*
|
|
9268
|
+
* @type {number}
|
|
9269
|
+
* @memberof IUrlRedirectsResponse
|
|
9270
|
+
*/
|
|
9271
|
+
'itemsPerPage': number;
|
|
9272
|
+
/**
|
|
9273
|
+
*
|
|
9274
|
+
* @type {number}
|
|
9275
|
+
* @memberof IUrlRedirectsResponse
|
|
9276
|
+
*/
|
|
9277
|
+
'total': number;
|
|
9278
|
+
/**
|
|
9279
|
+
*
|
|
9280
|
+
* @type {number}
|
|
9281
|
+
* @memberof IUrlRedirectsResponse
|
|
9282
|
+
*/
|
|
9283
|
+
'totalPages': number;
|
|
9284
|
+
/**
|
|
9285
|
+
*
|
|
9286
|
+
* @type {Array<IUrlRedirect>}
|
|
9287
|
+
* @memberof IUrlRedirectsResponse
|
|
9288
|
+
*/
|
|
9289
|
+
'data': Array<IUrlRedirect>;
|
|
9290
|
+
}
|
|
9067
9291
|
/**
|
|
9068
9292
|
*
|
|
9069
9293
|
* @export
|
|
@@ -10189,14 +10413,6 @@ export interface PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys {
|
|
|
10189
10413
|
* @memberof PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys
|
|
10190
10414
|
*/
|
|
10191
10415
|
'customPaymentMethods': RecordCustomPaymentMethodEnumExtraFeeNumberInfoPartialRecordLanguageEnumStringActiveBoolean;
|
|
10192
|
-
/**
|
|
10193
|
-
*
|
|
10194
|
-
* @type {{ [key: string]: string; }}
|
|
10195
|
-
* @memberof PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys
|
|
10196
|
-
*/
|
|
10197
|
-
'socials'?: {
|
|
10198
|
-
[key: string]: string;
|
|
10199
|
-
};
|
|
10200
10416
|
/**
|
|
10201
10417
|
*
|
|
10202
10418
|
* @type {string}
|
|
@@ -11774,6 +11990,14 @@ export interface PickIThemeResponseExcludeKeyofIThemeResponseKeyofMongoResponseO
|
|
|
11774
11990
|
* @memberof PickIThemeResponseExcludeKeyofIThemeResponseKeyofMongoResponseOrMainOrCompanyOrCreatorOrFiles
|
|
11775
11991
|
*/
|
|
11776
11992
|
'assetVersion': number;
|
|
11993
|
+
/**
|
|
11994
|
+
* Construct a type with a set of properties K of type T
|
|
11995
|
+
* @type {{ [key: string]: RecordStringConfigRecordStringConfigIndexTypeEnumContentsRecordStringRecordStringConfigIndexTypeEnumValue; }}
|
|
11996
|
+
* @memberof PickIThemeResponseExcludeKeyofIThemeResponseKeyofMongoResponseOrMainOrCompanyOrCreatorOrFiles
|
|
11997
|
+
*/
|
|
11998
|
+
'componentConfigIndex': {
|
|
11999
|
+
[key: string]: RecordStringConfigRecordStringConfigIndexTypeEnumContentsRecordStringRecordStringConfigIndexTypeEnumValue;
|
|
12000
|
+
};
|
|
11777
12001
|
}
|
|
11778
12002
|
/**
|
|
11779
12003
|
* From T, pick a set of properties whose keys are in the union K
|
|
@@ -12333,6 +12557,25 @@ export interface RecordPlanTypeEnumMonthlyBandwidthNumberStandardB2c {
|
|
|
12333
12557
|
*/
|
|
12334
12558
|
'monthlyBandwidth': number;
|
|
12335
12559
|
}
|
|
12560
|
+
/**
|
|
12561
|
+
*
|
|
12562
|
+
* @export
|
|
12563
|
+
* @interface RecordStringConfigRecordStringConfigIndexTypeEnumContentsRecordStringRecordStringConfigIndexTypeEnumValue
|
|
12564
|
+
*/
|
|
12565
|
+
export interface RecordStringConfigRecordStringConfigIndexTypeEnumContentsRecordStringRecordStringConfigIndexTypeEnumValue {
|
|
12566
|
+
/**
|
|
12567
|
+
* Construct a type with a set of properties K of type T
|
|
12568
|
+
* @type {object}
|
|
12569
|
+
* @memberof RecordStringConfigRecordStringConfigIndexTypeEnumContentsRecordStringRecordStringConfigIndexTypeEnumValue
|
|
12570
|
+
*/
|
|
12571
|
+
'contents': object;
|
|
12572
|
+
/**
|
|
12573
|
+
* Construct a type with a set of properties K of type T
|
|
12574
|
+
* @type {object}
|
|
12575
|
+
* @memberof RecordStringConfigRecordStringConfigIndexTypeEnumContentsRecordStringRecordStringConfigIndexTypeEnumValue
|
|
12576
|
+
*/
|
|
12577
|
+
'config': object;
|
|
12578
|
+
}
|
|
12336
12579
|
/**
|
|
12337
12580
|
*
|
|
12338
12581
|
* @export
|
|
@@ -15323,6 +15566,82 @@ export declare class UniquePageApi extends BaseAPI {
|
|
|
15323
15566
|
*/
|
|
15324
15567
|
getUniquePageByType(requestParameters: UniquePageApiGetUniquePageByTypeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IUniquePageResponse, any>>;
|
|
15325
15568
|
}
|
|
15569
|
+
/**
|
|
15570
|
+
* UrlRedirectApi - axios parameter creator
|
|
15571
|
+
* @export
|
|
15572
|
+
*/
|
|
15573
|
+
export declare const UrlRedirectApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
15574
|
+
/**
|
|
15575
|
+
*
|
|
15576
|
+
* @param {string} from
|
|
15577
|
+
* @param {string} companyId
|
|
15578
|
+
* @param {*} [options] Override http request option.
|
|
15579
|
+
* @throws {RequiredError}
|
|
15580
|
+
*/
|
|
15581
|
+
getUrlRedirectBySource: (from: string, companyId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
15582
|
+
};
|
|
15583
|
+
/**
|
|
15584
|
+
* UrlRedirectApi - functional programming interface
|
|
15585
|
+
* @export
|
|
15586
|
+
*/
|
|
15587
|
+
export declare const UrlRedirectApiFp: (configuration?: Configuration) => {
|
|
15588
|
+
/**
|
|
15589
|
+
*
|
|
15590
|
+
* @param {string} from
|
|
15591
|
+
* @param {string} companyId
|
|
15592
|
+
* @param {*} [options] Override http request option.
|
|
15593
|
+
* @throws {RequiredError}
|
|
15594
|
+
*/
|
|
15595
|
+
getUrlRedirectBySource(from: string, companyId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IUrlRedirectResponse>>;
|
|
15596
|
+
};
|
|
15597
|
+
/**
|
|
15598
|
+
* UrlRedirectApi - factory interface
|
|
15599
|
+
* @export
|
|
15600
|
+
*/
|
|
15601
|
+
export declare const UrlRedirectApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
15602
|
+
/**
|
|
15603
|
+
*
|
|
15604
|
+
* @param {UrlRedirectApiGetUrlRedirectBySourceRequest} requestParameters Request parameters.
|
|
15605
|
+
* @param {*} [options] Override http request option.
|
|
15606
|
+
* @throws {RequiredError}
|
|
15607
|
+
*/
|
|
15608
|
+
getUrlRedirectBySource(requestParameters: UrlRedirectApiGetUrlRedirectBySourceRequest, options?: RawAxiosRequestConfig): AxiosPromise<IUrlRedirectResponse>;
|
|
15609
|
+
};
|
|
15610
|
+
/**
|
|
15611
|
+
* Request parameters for getUrlRedirectBySource operation in UrlRedirectApi.
|
|
15612
|
+
* @export
|
|
15613
|
+
* @interface UrlRedirectApiGetUrlRedirectBySourceRequest
|
|
15614
|
+
*/
|
|
15615
|
+
export interface UrlRedirectApiGetUrlRedirectBySourceRequest {
|
|
15616
|
+
/**
|
|
15617
|
+
*
|
|
15618
|
+
* @type {string}
|
|
15619
|
+
* @memberof UrlRedirectApiGetUrlRedirectBySource
|
|
15620
|
+
*/
|
|
15621
|
+
readonly from: string;
|
|
15622
|
+
/**
|
|
15623
|
+
*
|
|
15624
|
+
* @type {string}
|
|
15625
|
+
* @memberof UrlRedirectApiGetUrlRedirectBySource
|
|
15626
|
+
*/
|
|
15627
|
+
readonly companyId: string;
|
|
15628
|
+
}
|
|
15629
|
+
/**
|
|
15630
|
+
* UrlRedirectApi - object-oriented interface
|
|
15631
|
+
* @export
|
|
15632
|
+
* @class UrlRedirectApi
|
|
15633
|
+
* @extends {BaseAPI}
|
|
15634
|
+
*/
|
|
15635
|
+
export declare class UrlRedirectApi extends BaseAPI {
|
|
15636
|
+
/**
|
|
15637
|
+
*
|
|
15638
|
+
* @param {UrlRedirectApiGetUrlRedirectBySourceRequest} requestParameters Request parameters.
|
|
15639
|
+
* @param {*} [options] Override http request option.
|
|
15640
|
+
* @throws {RequiredError}
|
|
15641
|
+
* @memberof UrlRedirectApi
|
|
15642
|
+
*/
|
|
15643
|
+
getUrlRedirectBySource(requestParameters: UrlRedirectApiGetUrlRedirectBySourceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IUrlRedirectResponse, any>>;
|
|
15644
|
+
}
|
|
15326
15645
|
/**
|
|
15327
15646
|
* UserApi - axios parameter creator
|
|
15328
15647
|
* @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 = exports.UserApiAxiosParamCreator = exports.UniquePageApi = exports.UniquePageApiFactory = exports.UniquePageApiFp = exports.UniquePageApiAxiosParamCreator = exports.TemplateApi = exports.TemplateApiFactory = exports.TemplateApiFp = exports.TemplateApiAxiosParamCreator = exports.SitemapApi = exports.SitemapApiFactory = exports.SitemapApiFp = void 0;
|
|
19
|
+
exports.PlanCurrencyEnum = exports.PickICollectionQueryParamsExcludeKeyofICollectionQueryParamsSortDateFieldEnum = exports.PaymentStatusEnum = exports.PaymentMethodEnum = exports.PaymentGatewayEnum = exports.OrderStatusEnum = exports.OrderShippedStatusEnum = exports.OrderReturnStatusEnumWAITINGRETURN = exports.OrderReturnStatusEnumRETURNED = exports.OrderReturnStatusEnum = exports.OrderPaymentStatusEnum = exports.OrderEnum = exports.OperationStatusEnum = exports.NotificationStatusEnum = exports.NotificationMessageEnum = exports.NavigationUrlTargetEnum = exports.NavigationLinkTypeEnum = exports.LanguageEnum = exports.IUserCollectionQueryParamsDateFieldEnum = exports.IUrlRedirectCollectionQueryParamsSortEnum = exports.IUrlRedirectCollectionQueryParamsDateFieldEnum = exports.IUniqueCollectionQueryParamsDateFieldEnum = exports.IProductCollectionQueryParamsSortEnum = exports.IProductCollectionQueryParamsDateFieldEnum = exports.IPlanCollectionQueryParamsDateFieldEnum = exports.IPaymentPostRequestPeriodEnum = exports.IPageCollectionQueryParamsDateFieldEnum = exports.IOrderCollectionQueryParamsDateFieldEnum = exports.IOperationCollectionQueryParamsDateFieldEnum = exports.INotificationCollectionQueryParamsDateFieldEnum = exports.INavigationCollectionQueryParamsDateFieldEnum = exports.IMyOrderCollectionQueryParamsDateFieldEnum = exports.IFileCollectionQueryParamsDateFieldEnum = exports.IContactFormCollectionQueryParamsDateFieldEnum = exports.ICompanyUsersCollectionQueryParamsDateFieldEnum = exports.ICompanyDashboardResponsePeriodEnum = exports.ICompanyCollectionQueryParamsDateFieldEnum = exports.ICollectionCollectionsQueryParamsDateFieldEnum = exports.ICategoryCollectionQueryParamsDateFieldEnum = exports.IBrandCollectionQueryParamsDateFieldEnum = exports.FileTypeEnum = exports.FileStatusEnum = exports.FileKeywordEnum = exports.EmailConfigDnsRecordTypeEnum = exports.CurrencyRateTypeEnum = exports.CurrencyEnum = exports.CountryEnum = exports.ContentStatusEnum = exports.CompanyUserStatusEnum = exports.CompanyStatusEnum = void 0;
|
|
20
|
+
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.StoreLocationEnum = exports.SitemapTypeEnum = exports.ShippingPricingTypeEnum = exports.ReviewStatusEnum = exports.PlanTypeEnum = exports.PlanStatusEnum = void 0;
|
|
21
|
+
exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.UrlRedirectApi = exports.UrlRedirectApiFactory = exports.UrlRedirectApiFp = exports.UrlRedirectApiAxiosParamCreator = exports.UniquePageApi = exports.UniquePageApiFactory = exports.UniquePageApiFp = exports.UniquePageApiAxiosParamCreator = exports.TemplateApi = exports.TemplateApiFactory = exports.TemplateApiFp = exports.TemplateApiAxiosParamCreator = exports.SitemapApi = exports.SitemapApiFactory = exports.SitemapApiFp = exports.SitemapApiAxiosParamCreator = exports.GetProductsSortEnum = void 0;
|
|
22
22
|
const axios_1 = __importDefault(require("axios"));
|
|
23
23
|
// Some imports not used depending on template conditions
|
|
24
24
|
// @ts-ignore
|
|
@@ -456,6 +456,14 @@ exports.IUniqueCollectionQueryParamsDateFieldEnum = {
|
|
|
456
456
|
CREATED_AT: 'createdAt',
|
|
457
457
|
UPDATED_AT: 'updatedAt'
|
|
458
458
|
};
|
|
459
|
+
exports.IUrlRedirectCollectionQueryParamsDateFieldEnum = {
|
|
460
|
+
CREATED_AT: 'createdAt',
|
|
461
|
+
UPDATED_AT: 'updatedAt'
|
|
462
|
+
};
|
|
463
|
+
exports.IUrlRedirectCollectionQueryParamsSortEnum = {
|
|
464
|
+
CREATED_AT: 'createdAt',
|
|
465
|
+
FROM: 'from'
|
|
466
|
+
};
|
|
459
467
|
exports.IUserCollectionQueryParamsDateFieldEnum = {
|
|
460
468
|
CREATED_AT: 'createdAt',
|
|
461
469
|
UPDATED_AT: 'updatedAt'
|
|
@@ -4082,6 +4090,112 @@ class UniquePageApi extends base_1.BaseAPI {
|
|
|
4082
4090
|
}
|
|
4083
4091
|
}
|
|
4084
4092
|
exports.UniquePageApi = UniquePageApi;
|
|
4093
|
+
/**
|
|
4094
|
+
* UrlRedirectApi - axios parameter creator
|
|
4095
|
+
* @export
|
|
4096
|
+
*/
|
|
4097
|
+
const UrlRedirectApiAxiosParamCreator = function (configuration) {
|
|
4098
|
+
return {
|
|
4099
|
+
/**
|
|
4100
|
+
*
|
|
4101
|
+
* @param {string} from
|
|
4102
|
+
* @param {string} companyId
|
|
4103
|
+
* @param {*} [options] Override http request option.
|
|
4104
|
+
* @throws {RequiredError}
|
|
4105
|
+
*/
|
|
4106
|
+
getUrlRedirectBySource: async (from, companyId, options = {}) => {
|
|
4107
|
+
// verify required parameter 'from' is not null or undefined
|
|
4108
|
+
(0, common_1.assertParamExists)('getUrlRedirectBySource', 'from', from);
|
|
4109
|
+
// verify required parameter 'companyId' is not null or undefined
|
|
4110
|
+
(0, common_1.assertParamExists)('getUrlRedirectBySource', 'companyId', companyId);
|
|
4111
|
+
const localVarPath = `/api/url-redirects/from`;
|
|
4112
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4113
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4114
|
+
let baseOptions;
|
|
4115
|
+
if (configuration) {
|
|
4116
|
+
baseOptions = configuration.baseOptions;
|
|
4117
|
+
}
|
|
4118
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
4119
|
+
const localVarHeaderParameter = {};
|
|
4120
|
+
const localVarQueryParameter = {};
|
|
4121
|
+
if (from !== undefined) {
|
|
4122
|
+
localVarQueryParameter['from'] = from;
|
|
4123
|
+
}
|
|
4124
|
+
if (companyId !== undefined) {
|
|
4125
|
+
localVarQueryParameter['companyId'] = companyId;
|
|
4126
|
+
}
|
|
4127
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4128
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4129
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4130
|
+
return {
|
|
4131
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4132
|
+
options: localVarRequestOptions,
|
|
4133
|
+
};
|
|
4134
|
+
},
|
|
4135
|
+
};
|
|
4136
|
+
};
|
|
4137
|
+
exports.UrlRedirectApiAxiosParamCreator = UrlRedirectApiAxiosParamCreator;
|
|
4138
|
+
/**
|
|
4139
|
+
* UrlRedirectApi - functional programming interface
|
|
4140
|
+
* @export
|
|
4141
|
+
*/
|
|
4142
|
+
const UrlRedirectApiFp = function (configuration) {
|
|
4143
|
+
const localVarAxiosParamCreator = (0, exports.UrlRedirectApiAxiosParamCreator)(configuration);
|
|
4144
|
+
return {
|
|
4145
|
+
/**
|
|
4146
|
+
*
|
|
4147
|
+
* @param {string} from
|
|
4148
|
+
* @param {string} companyId
|
|
4149
|
+
* @param {*} [options] Override http request option.
|
|
4150
|
+
* @throws {RequiredError}
|
|
4151
|
+
*/
|
|
4152
|
+
async getUrlRedirectBySource(from, companyId, options) {
|
|
4153
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getUrlRedirectBySource(from, companyId, options);
|
|
4154
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4155
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['UrlRedirectApi.getUrlRedirectBySource']?.[localVarOperationServerIndex]?.url;
|
|
4156
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4157
|
+
},
|
|
4158
|
+
};
|
|
4159
|
+
};
|
|
4160
|
+
exports.UrlRedirectApiFp = UrlRedirectApiFp;
|
|
4161
|
+
/**
|
|
4162
|
+
* UrlRedirectApi - factory interface
|
|
4163
|
+
* @export
|
|
4164
|
+
*/
|
|
4165
|
+
const UrlRedirectApiFactory = function (configuration, basePath, axios) {
|
|
4166
|
+
const localVarFp = (0, exports.UrlRedirectApiFp)(configuration);
|
|
4167
|
+
return {
|
|
4168
|
+
/**
|
|
4169
|
+
*
|
|
4170
|
+
* @param {UrlRedirectApiGetUrlRedirectBySourceRequest} requestParameters Request parameters.
|
|
4171
|
+
* @param {*} [options] Override http request option.
|
|
4172
|
+
* @throws {RequiredError}
|
|
4173
|
+
*/
|
|
4174
|
+
getUrlRedirectBySource(requestParameters, options) {
|
|
4175
|
+
return localVarFp.getUrlRedirectBySource(requestParameters.from, requestParameters.companyId, options).then((request) => request(axios, basePath));
|
|
4176
|
+
},
|
|
4177
|
+
};
|
|
4178
|
+
};
|
|
4179
|
+
exports.UrlRedirectApiFactory = UrlRedirectApiFactory;
|
|
4180
|
+
/**
|
|
4181
|
+
* UrlRedirectApi - object-oriented interface
|
|
4182
|
+
* @export
|
|
4183
|
+
* @class UrlRedirectApi
|
|
4184
|
+
* @extends {BaseAPI}
|
|
4185
|
+
*/
|
|
4186
|
+
class UrlRedirectApi extends base_1.BaseAPI {
|
|
4187
|
+
/**
|
|
4188
|
+
*
|
|
4189
|
+
* @param {UrlRedirectApiGetUrlRedirectBySourceRequest} requestParameters Request parameters.
|
|
4190
|
+
* @param {*} [options] Override http request option.
|
|
4191
|
+
* @throws {RequiredError}
|
|
4192
|
+
* @memberof UrlRedirectApi
|
|
4193
|
+
*/
|
|
4194
|
+
getUrlRedirectBySource(requestParameters, options) {
|
|
4195
|
+
return (0, exports.UrlRedirectApiFp)(this.configuration).getUrlRedirectBySource(requestParameters.from, requestParameters.companyId, options).then((request) => request(this.axios, this.basePath));
|
|
4196
|
+
}
|
|
4197
|
+
}
|
|
4198
|
+
exports.UrlRedirectApi = UrlRedirectApi;
|
|
4085
4199
|
/**
|
|
4086
4200
|
* UserApi - axios parameter creator
|
|
4087
4201
|
* @export
|
package/dist/api/api.mjs
CHANGED
|
@@ -445,6 +445,14 @@ export const IUniqueCollectionQueryParamsDateFieldEnum = {
|
|
|
445
445
|
CREATED_AT: 'createdAt',
|
|
446
446
|
UPDATED_AT: 'updatedAt'
|
|
447
447
|
};
|
|
448
|
+
export const IUrlRedirectCollectionQueryParamsDateFieldEnum = {
|
|
449
|
+
CREATED_AT: 'createdAt',
|
|
450
|
+
UPDATED_AT: 'updatedAt'
|
|
451
|
+
};
|
|
452
|
+
export const IUrlRedirectCollectionQueryParamsSortEnum = {
|
|
453
|
+
CREATED_AT: 'createdAt',
|
|
454
|
+
FROM: 'from'
|
|
455
|
+
};
|
|
448
456
|
export const IUserCollectionQueryParamsDateFieldEnum = {
|
|
449
457
|
CREATED_AT: 'createdAt',
|
|
450
458
|
UPDATED_AT: 'updatedAt'
|
|
@@ -4023,6 +4031,108 @@ export class UniquePageApi extends BaseAPI {
|
|
|
4023
4031
|
return UniquePageApiFp(this.configuration).getUniquePageByType(requestParameters.type, requestParameters.companyId, requestParameters.domain, requestParameters.template, options).then((request) => request(this.axios, this.basePath));
|
|
4024
4032
|
}
|
|
4025
4033
|
}
|
|
4034
|
+
/**
|
|
4035
|
+
* UrlRedirectApi - axios parameter creator
|
|
4036
|
+
* @export
|
|
4037
|
+
*/
|
|
4038
|
+
export const UrlRedirectApiAxiosParamCreator = function (configuration) {
|
|
4039
|
+
return {
|
|
4040
|
+
/**
|
|
4041
|
+
*
|
|
4042
|
+
* @param {string} from
|
|
4043
|
+
* @param {string} companyId
|
|
4044
|
+
* @param {*} [options] Override http request option.
|
|
4045
|
+
* @throws {RequiredError}
|
|
4046
|
+
*/
|
|
4047
|
+
getUrlRedirectBySource: async (from, companyId, options = {}) => {
|
|
4048
|
+
// verify required parameter 'from' is not null or undefined
|
|
4049
|
+
assertParamExists('getUrlRedirectBySource', 'from', from);
|
|
4050
|
+
// verify required parameter 'companyId' is not null or undefined
|
|
4051
|
+
assertParamExists('getUrlRedirectBySource', 'companyId', companyId);
|
|
4052
|
+
const localVarPath = `/api/url-redirects/from`;
|
|
4053
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4054
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4055
|
+
let baseOptions;
|
|
4056
|
+
if (configuration) {
|
|
4057
|
+
baseOptions = configuration.baseOptions;
|
|
4058
|
+
}
|
|
4059
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
4060
|
+
const localVarHeaderParameter = {};
|
|
4061
|
+
const localVarQueryParameter = {};
|
|
4062
|
+
if (from !== undefined) {
|
|
4063
|
+
localVarQueryParameter['from'] = from;
|
|
4064
|
+
}
|
|
4065
|
+
if (companyId !== undefined) {
|
|
4066
|
+
localVarQueryParameter['companyId'] = companyId;
|
|
4067
|
+
}
|
|
4068
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4069
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4070
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4071
|
+
return {
|
|
4072
|
+
url: toPathString(localVarUrlObj),
|
|
4073
|
+
options: localVarRequestOptions,
|
|
4074
|
+
};
|
|
4075
|
+
},
|
|
4076
|
+
};
|
|
4077
|
+
};
|
|
4078
|
+
/**
|
|
4079
|
+
* UrlRedirectApi - functional programming interface
|
|
4080
|
+
* @export
|
|
4081
|
+
*/
|
|
4082
|
+
export const UrlRedirectApiFp = function (configuration) {
|
|
4083
|
+
const localVarAxiosParamCreator = UrlRedirectApiAxiosParamCreator(configuration);
|
|
4084
|
+
return {
|
|
4085
|
+
/**
|
|
4086
|
+
*
|
|
4087
|
+
* @param {string} from
|
|
4088
|
+
* @param {string} companyId
|
|
4089
|
+
* @param {*} [options] Override http request option.
|
|
4090
|
+
* @throws {RequiredError}
|
|
4091
|
+
*/
|
|
4092
|
+
async getUrlRedirectBySource(from, companyId, options) {
|
|
4093
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getUrlRedirectBySource(from, companyId, options);
|
|
4094
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4095
|
+
const localVarOperationServerBasePath = operationServerMap['UrlRedirectApi.getUrlRedirectBySource']?.[localVarOperationServerIndex]?.url;
|
|
4096
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4097
|
+
},
|
|
4098
|
+
};
|
|
4099
|
+
};
|
|
4100
|
+
/**
|
|
4101
|
+
* UrlRedirectApi - factory interface
|
|
4102
|
+
* @export
|
|
4103
|
+
*/
|
|
4104
|
+
export const UrlRedirectApiFactory = function (configuration, basePath, axios) {
|
|
4105
|
+
const localVarFp = UrlRedirectApiFp(configuration);
|
|
4106
|
+
return {
|
|
4107
|
+
/**
|
|
4108
|
+
*
|
|
4109
|
+
* @param {UrlRedirectApiGetUrlRedirectBySourceRequest} requestParameters Request parameters.
|
|
4110
|
+
* @param {*} [options] Override http request option.
|
|
4111
|
+
* @throws {RequiredError}
|
|
4112
|
+
*/
|
|
4113
|
+
getUrlRedirectBySource(requestParameters, options) {
|
|
4114
|
+
return localVarFp.getUrlRedirectBySource(requestParameters.from, requestParameters.companyId, options).then((request) => request(axios, basePath));
|
|
4115
|
+
},
|
|
4116
|
+
};
|
|
4117
|
+
};
|
|
4118
|
+
/**
|
|
4119
|
+
* UrlRedirectApi - object-oriented interface
|
|
4120
|
+
* @export
|
|
4121
|
+
* @class UrlRedirectApi
|
|
4122
|
+
* @extends {BaseAPI}
|
|
4123
|
+
*/
|
|
4124
|
+
export class UrlRedirectApi extends BaseAPI {
|
|
4125
|
+
/**
|
|
4126
|
+
*
|
|
4127
|
+
* @param {UrlRedirectApiGetUrlRedirectBySourceRequest} requestParameters Request parameters.
|
|
4128
|
+
* @param {*} [options] Override http request option.
|
|
4129
|
+
* @throws {RequiredError}
|
|
4130
|
+
* @memberof UrlRedirectApi
|
|
4131
|
+
*/
|
|
4132
|
+
getUrlRedirectBySource(requestParameters, options) {
|
|
4133
|
+
return UrlRedirectApiFp(this.configuration).getUrlRedirectBySource(requestParameters.from, requestParameters.companyId, options).then((request) => request(this.axios, this.basePath));
|
|
4134
|
+
}
|
|
4135
|
+
}
|
|
4026
4136
|
/**
|
|
4027
4137
|
* UserApi - axios parameter creator
|
|
4028
4138
|
* @export
|
package/dist/index.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ interface IApiClient {
|
|
|
15
15
|
OrderApi: doc.OrderApi;
|
|
16
16
|
UniquePageApi: doc.UniquePageApi;
|
|
17
17
|
TemplateApi: doc.TemplateApi;
|
|
18
|
+
UrlRedirectApi: doc.UrlRedirectApi;
|
|
18
19
|
interceptors: {
|
|
19
20
|
request: AxiosInterceptorManager<InternalAxiosRequestConfig>;
|
|
20
21
|
response: AxiosInterceptorManager<AxiosResponse>;
|
|
@@ -39,6 +40,7 @@ export declare class ApiClient implements IApiClient {
|
|
|
39
40
|
OrderApi: doc.OrderApi;
|
|
40
41
|
UniquePageApi: doc.UniquePageApi;
|
|
41
42
|
TemplateApi: doc.TemplateApi;
|
|
43
|
+
UrlRedirectApi: doc.UrlRedirectApi;
|
|
42
44
|
interceptors: {
|
|
43
45
|
request: AxiosInterceptorManager<InternalAxiosRequestConfig>;
|
|
44
46
|
response: AxiosInterceptorManager<AxiosResponse>;
|
package/dist/index.js
CHANGED
|
@@ -69,6 +69,7 @@ class ApiClient {
|
|
|
69
69
|
this.OrderApi = new doc.OrderApi(undefined, this.baseURL, this.api);
|
|
70
70
|
this.UniquePageApi = new doc.UniquePageApi(undefined, this.baseURL, this.api);
|
|
71
71
|
this.TemplateApi = new doc.TemplateApi(undefined, this.baseURL, this.api);
|
|
72
|
+
this.UrlRedirectApi = new doc.UrlRedirectApi(undefined, this.baseURL, this.api);
|
|
72
73
|
this.interceptors = {
|
|
73
74
|
request: this.api.interceptors.request,
|
|
74
75
|
response: this.api.interceptors.response,
|
package/dist/index.mjs
CHANGED
|
@@ -27,6 +27,7 @@ export class ApiClient {
|
|
|
27
27
|
this.OrderApi = new doc.OrderApi(undefined, this.baseURL, this.api);
|
|
28
28
|
this.UniquePageApi = new doc.UniquePageApi(undefined, this.baseURL, this.api);
|
|
29
29
|
this.TemplateApi = new doc.TemplateApi(undefined, this.baseURL, this.api);
|
|
30
|
+
this.UrlRedirectApi = new doc.UrlRedirectApi(undefined, this.baseURL, this.api);
|
|
30
31
|
this.interceptors = {
|
|
31
32
|
request: this.api.interceptors.request,
|
|
32
33
|
response: this.api.interceptors.response,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infisale-client/api-client",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.27",
|
|
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": "a8a17a0c80ff35af4b2b6b21bddf512b8f0c24b0"
|
|
41
41
|
}
|