@infisale-client/api-client 1.3.8 → 1.3.10
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 +122 -29
- package/dist/api/api.js +4 -3
- package/dist/api/api.mjs +4 -3
- package/package.json +2 -2
package/dist/api/api.d.ts
CHANGED
|
@@ -2084,6 +2084,12 @@ export interface ICompany {
|
|
|
2084
2084
|
* @memberof ICompany
|
|
2085
2085
|
*/
|
|
2086
2086
|
'dnsZoneDomain'?: string;
|
|
2087
|
+
/**
|
|
2088
|
+
*
|
|
2089
|
+
* @type {RecordCustomPaymentMethodEnumExtraFeeNumberInfoStringActiveBoolean}
|
|
2090
|
+
* @memberof ICompany
|
|
2091
|
+
*/
|
|
2092
|
+
'customPaymentMethods': RecordCustomPaymentMethodEnumExtraFeeNumberInfoStringActiveBoolean;
|
|
2087
2093
|
/**
|
|
2088
2094
|
*
|
|
2089
2095
|
* @type {Array<PickICompanyNameOrDomainsOrIdOrUsersOrLanguageOrOwnerOrRolesUsersInner>}
|
|
@@ -2405,6 +2411,12 @@ export interface ICompanyAdminResponse {
|
|
|
2405
2411
|
* @memberof ICompanyAdminResponse
|
|
2406
2412
|
*/
|
|
2407
2413
|
'dnsZoneDomain'?: string;
|
|
2414
|
+
/**
|
|
2415
|
+
*
|
|
2416
|
+
* @type {RecordCustomPaymentMethodEnumExtraFeeNumberInfoStringActiveBoolean}
|
|
2417
|
+
* @memberof ICompanyAdminResponse
|
|
2418
|
+
*/
|
|
2419
|
+
'customPaymentMethods': RecordCustomPaymentMethodEnumExtraFeeNumberInfoStringActiveBoolean;
|
|
2408
2420
|
/**
|
|
2409
2421
|
*
|
|
2410
2422
|
* @type {{ [key: string]: string; }}
|
|
@@ -2705,6 +2717,12 @@ export interface ICompanyAvailablePaymentGatewaysResponse {
|
|
|
2705
2717
|
* @interface ICompanyAvailablePaymentGatewaysResponseDataInner
|
|
2706
2718
|
*/
|
|
2707
2719
|
export interface ICompanyAvailablePaymentGatewaysResponseDataInner {
|
|
2720
|
+
/**
|
|
2721
|
+
*
|
|
2722
|
+
* @type {string}
|
|
2723
|
+
* @memberof ICompanyAvailablePaymentGatewaysResponseDataInner
|
|
2724
|
+
*/
|
|
2725
|
+
'info'?: string;
|
|
2708
2726
|
/**
|
|
2709
2727
|
*
|
|
2710
2728
|
* @type {number}
|
|
@@ -3105,6 +3123,12 @@ export interface ICompanyPatchRequest {
|
|
|
3105
3123
|
* @memberof ICompanyPatchRequest
|
|
3106
3124
|
*/
|
|
3107
3125
|
'dnsZoneDomain'?: string;
|
|
3126
|
+
/**
|
|
3127
|
+
*
|
|
3128
|
+
* @type {RecordCustomPaymentMethodEnumExtraFeeNumberInfoStringActiveBoolean}
|
|
3129
|
+
* @memberof ICompanyPatchRequest
|
|
3130
|
+
*/
|
|
3131
|
+
'customPaymentMethods'?: RecordCustomPaymentMethodEnumExtraFeeNumberInfoStringActiveBoolean;
|
|
3108
3132
|
/**
|
|
3109
3133
|
*
|
|
3110
3134
|
* @type {{ [key: string]: string; }}
|
|
@@ -3444,6 +3468,12 @@ export interface ICompanyResponse {
|
|
|
3444
3468
|
* @memberof ICompanyResponse
|
|
3445
3469
|
*/
|
|
3446
3470
|
'dnsZoneDomain'?: string;
|
|
3471
|
+
/**
|
|
3472
|
+
*
|
|
3473
|
+
* @type {RecordCustomPaymentMethodEnumExtraFeeNumberInfoStringActiveBoolean}
|
|
3474
|
+
* @memberof ICompanyResponse
|
|
3475
|
+
*/
|
|
3476
|
+
'customPaymentMethods': RecordCustomPaymentMethodEnumExtraFeeNumberInfoStringActiveBoolean;
|
|
3447
3477
|
/**
|
|
3448
3478
|
*
|
|
3449
3479
|
* @type {{ [key: string]: string; }}
|
|
@@ -5563,6 +5593,12 @@ export interface IOrderCreateResponse {
|
|
|
5563
5593
|
* @memberof IOrderCreateResponse
|
|
5564
5594
|
*/
|
|
5565
5595
|
'redirectUrl'?: string;
|
|
5596
|
+
/**
|
|
5597
|
+
*
|
|
5598
|
+
* @type {string}
|
|
5599
|
+
* @memberof IOrderCreateResponse
|
|
5600
|
+
*/
|
|
5601
|
+
'orderId'?: string;
|
|
5566
5602
|
}
|
|
5567
5603
|
/**
|
|
5568
5604
|
*
|
|
@@ -5751,7 +5787,7 @@ export interface IOrderResponse {
|
|
|
5751
5787
|
* @type {PaymentGatewayEnum}
|
|
5752
5788
|
* @memberof IOrderResponse
|
|
5753
5789
|
*/
|
|
5754
|
-
'paymentGateway'
|
|
5790
|
+
'paymentGateway'?: PaymentGatewayEnum;
|
|
5755
5791
|
/**
|
|
5756
5792
|
*
|
|
5757
5793
|
* @type {string}
|
|
@@ -8525,12 +8561,12 @@ export interface IThemePatchRequest {
|
|
|
8525
8561
|
[key: string]: any;
|
|
8526
8562
|
};
|
|
8527
8563
|
/**
|
|
8528
|
-
*
|
|
8529
|
-
* @type {{ [key: string]:
|
|
8564
|
+
* Make all properties in T optional
|
|
8565
|
+
* @type {{ [key: string]: PartialRecordStringComponentsPartialRecordLanguageEnumITemplateComponentResponseArrayValue; }}
|
|
8530
8566
|
* @memberof IThemePatchRequest
|
|
8531
8567
|
*/
|
|
8532
8568
|
'groups'?: {
|
|
8533
|
-
[key: string]:
|
|
8569
|
+
[key: string]: PartialRecordStringComponentsPartialRecordLanguageEnumITemplateComponentResponseArrayValue;
|
|
8534
8570
|
};
|
|
8535
8571
|
/**
|
|
8536
8572
|
*
|
|
@@ -8578,12 +8614,12 @@ export interface IThemePostRequest {
|
|
|
8578
8614
|
[key: string]: any;
|
|
8579
8615
|
};
|
|
8580
8616
|
/**
|
|
8581
|
-
*
|
|
8582
|
-
* @type {{ [key: string]:
|
|
8617
|
+
* Make all properties in T optional
|
|
8618
|
+
* @type {{ [key: string]: PartialRecordStringComponentsPartialRecordLanguageEnumITemplateComponentResponseArrayValue; }}
|
|
8583
8619
|
* @memberof IThemePostRequest
|
|
8584
8620
|
*/
|
|
8585
8621
|
'groups': {
|
|
8586
|
-
[key: string]:
|
|
8622
|
+
[key: string]: PartialRecordStringComponentsPartialRecordLanguageEnumITemplateComponentResponseArrayValue;
|
|
8587
8623
|
};
|
|
8588
8624
|
/**
|
|
8589
8625
|
*
|
|
@@ -8679,12 +8715,12 @@ export interface IThemeResponse {
|
|
|
8679
8715
|
*/
|
|
8680
8716
|
'creator'?: string;
|
|
8681
8717
|
/**
|
|
8682
|
-
*
|
|
8683
|
-
* @type {{ [key: string]:
|
|
8718
|
+
* Make all properties in T optional
|
|
8719
|
+
* @type {{ [key: string]: PartialRecordStringComponentsPartialRecordLanguageEnumITemplateComponentResponseArrayValue; }}
|
|
8684
8720
|
* @memberof IThemeResponse
|
|
8685
8721
|
*/
|
|
8686
8722
|
'groups': {
|
|
8687
|
-
[key: string]:
|
|
8723
|
+
[key: string]: PartialRecordStringComponentsPartialRecordLanguageEnumITemplateComponentResponseArrayValue;
|
|
8688
8724
|
};
|
|
8689
8725
|
/**
|
|
8690
8726
|
* Construct a type with a set of properties K of type T
|
|
@@ -9196,7 +9232,7 @@ export declare const PageTypeEnum: {
|
|
|
9196
9232
|
readonly CHECKOUT: "checkout";
|
|
9197
9233
|
readonly SEARCH: "search";
|
|
9198
9234
|
readonly NOT_FOUND: "not-found";
|
|
9199
|
-
readonly
|
|
9235
|
+
readonly BLOGS: "blogs";
|
|
9200
9236
|
};
|
|
9201
9237
|
export type PageTypeEnum = typeof PageTypeEnum[keyof typeof PageTypeEnum];
|
|
9202
9238
|
/**
|
|
@@ -9299,6 +9335,19 @@ export interface PartialRecordLanguageEnumTitleString {
|
|
|
9299
9335
|
*/
|
|
9300
9336
|
'de'?: RecordLanguageEnumTitleStringTr;
|
|
9301
9337
|
}
|
|
9338
|
+
/**
|
|
9339
|
+
*
|
|
9340
|
+
* @export
|
|
9341
|
+
* @interface PartialRecordStringComponentsPartialRecordLanguageEnumITemplateComponentResponseArrayValue
|
|
9342
|
+
*/
|
|
9343
|
+
export interface PartialRecordStringComponentsPartialRecordLanguageEnumITemplateComponentResponseArrayValue {
|
|
9344
|
+
/**
|
|
9345
|
+
*
|
|
9346
|
+
* @type {PartialRecordLanguageEnumITemplateComponentResponseArray}
|
|
9347
|
+
* @memberof PartialRecordStringComponentsPartialRecordLanguageEnumITemplateComponentResponseArrayValue
|
|
9348
|
+
*/
|
|
9349
|
+
'components': PartialRecordLanguageEnumITemplateComponentResponseArray;
|
|
9350
|
+
}
|
|
9302
9351
|
/**
|
|
9303
9352
|
*
|
|
9304
9353
|
* @export
|
|
@@ -9308,6 +9357,7 @@ export declare const PaymentGatewayEnum: {
|
|
|
9308
9357
|
readonly IYZICO: "iyzico";
|
|
9309
9358
|
readonly PAYTR: "paytr";
|
|
9310
9359
|
readonly PAPARA: "papara";
|
|
9360
|
+
readonly STRIPE: "stripe";
|
|
9311
9361
|
};
|
|
9312
9362
|
export type PaymentGatewayEnum = typeof PaymentGatewayEnum[keyof typeof PaymentGatewayEnum];
|
|
9313
9363
|
/**
|
|
@@ -9786,6 +9836,12 @@ export interface PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys {
|
|
|
9786
9836
|
* @memberof PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys
|
|
9787
9837
|
*/
|
|
9788
9838
|
'dnsZoneDomain'?: string;
|
|
9839
|
+
/**
|
|
9840
|
+
*
|
|
9841
|
+
* @type {RecordCustomPaymentMethodEnumExtraFeeNumberInfoStringActiveBoolean}
|
|
9842
|
+
* @memberof PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys
|
|
9843
|
+
*/
|
|
9844
|
+
'customPaymentMethods': RecordCustomPaymentMethodEnumExtraFeeNumberInfoStringActiveBoolean;
|
|
9789
9845
|
/**
|
|
9790
9846
|
*
|
|
9791
9847
|
* @type {{ [key: string]: string; }}
|
|
@@ -10281,7 +10337,7 @@ export interface PickIOrderExcludeKeyofIOrderHtmlOrIframe {
|
|
|
10281
10337
|
* @type {PaymentGatewayEnum}
|
|
10282
10338
|
* @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframe
|
|
10283
10339
|
*/
|
|
10284
|
-
'paymentGateway'
|
|
10340
|
+
'paymentGateway'?: PaymentGatewayEnum;
|
|
10285
10341
|
/**
|
|
10286
10342
|
*
|
|
10287
10343
|
* @type {string}
|
|
@@ -11272,12 +11328,12 @@ export interface PickIThemeResponseExcludeKeyofIThemeResponseKeyofMongoResponseO
|
|
|
11272
11328
|
[key: string]: any;
|
|
11273
11329
|
};
|
|
11274
11330
|
/**
|
|
11275
|
-
*
|
|
11276
|
-
* @type {{ [key: string]:
|
|
11331
|
+
* Make all properties in T optional
|
|
11332
|
+
* @type {{ [key: string]: PartialRecordStringComponentsPartialRecordLanguageEnumITemplateComponentResponseArrayValue; }}
|
|
11277
11333
|
* @memberof PickIThemeResponseExcludeKeyofIThemeResponseKeyofMongoResponseOrMainOrCompanyOrCreatorOrFiles
|
|
11278
11334
|
*/
|
|
11279
11335
|
'groups': {
|
|
11280
|
-
[key: string]:
|
|
11336
|
+
[key: string]: PartialRecordStringComponentsPartialRecordLanguageEnumITemplateComponentResponseArrayValue;
|
|
11281
11337
|
};
|
|
11282
11338
|
/**
|
|
11283
11339
|
*
|
|
@@ -11658,6 +11714,56 @@ export interface RecordCurrencyEnumNumber {
|
|
|
11658
11714
|
*/
|
|
11659
11715
|
'jpy': number;
|
|
11660
11716
|
}
|
|
11717
|
+
/**
|
|
11718
|
+
* Construct a type with a set of properties K of type T
|
|
11719
|
+
* @export
|
|
11720
|
+
* @interface RecordCustomPaymentMethodEnumExtraFeeNumberInfoStringActiveBoolean
|
|
11721
|
+
*/
|
|
11722
|
+
export interface RecordCustomPaymentMethodEnumExtraFeeNumberInfoStringActiveBoolean {
|
|
11723
|
+
/**
|
|
11724
|
+
*
|
|
11725
|
+
* @type {RecordCustomPaymentMethodEnumExtraFeeNumberInfoStringActiveBooleanBankTransfer}
|
|
11726
|
+
* @memberof RecordCustomPaymentMethodEnumExtraFeeNumberInfoStringActiveBoolean
|
|
11727
|
+
*/
|
|
11728
|
+
'bank_transfer': RecordCustomPaymentMethodEnumExtraFeeNumberInfoStringActiveBooleanBankTransfer;
|
|
11729
|
+
/**
|
|
11730
|
+
*
|
|
11731
|
+
* @type {RecordCustomPaymentMethodEnumExtraFeeNumberInfoStringActiveBooleanBankTransfer}
|
|
11732
|
+
* @memberof RecordCustomPaymentMethodEnumExtraFeeNumberInfoStringActiveBoolean
|
|
11733
|
+
*/
|
|
11734
|
+
'cash_on_delivery': RecordCustomPaymentMethodEnumExtraFeeNumberInfoStringActiveBooleanBankTransfer;
|
|
11735
|
+
/**
|
|
11736
|
+
*
|
|
11737
|
+
* @type {RecordCustomPaymentMethodEnumExtraFeeNumberInfoStringActiveBooleanBankTransfer}
|
|
11738
|
+
* @memberof RecordCustomPaymentMethodEnumExtraFeeNumberInfoStringActiveBoolean
|
|
11739
|
+
*/
|
|
11740
|
+
'card_on_delivery': RecordCustomPaymentMethodEnumExtraFeeNumberInfoStringActiveBooleanBankTransfer;
|
|
11741
|
+
}
|
|
11742
|
+
/**
|
|
11743
|
+
*
|
|
11744
|
+
* @export
|
|
11745
|
+
* @interface RecordCustomPaymentMethodEnumExtraFeeNumberInfoStringActiveBooleanBankTransfer
|
|
11746
|
+
*/
|
|
11747
|
+
export interface RecordCustomPaymentMethodEnumExtraFeeNumberInfoStringActiveBooleanBankTransfer {
|
|
11748
|
+
/**
|
|
11749
|
+
*
|
|
11750
|
+
* @type {boolean}
|
|
11751
|
+
* @memberof RecordCustomPaymentMethodEnumExtraFeeNumberInfoStringActiveBooleanBankTransfer
|
|
11752
|
+
*/
|
|
11753
|
+
'active': boolean;
|
|
11754
|
+
/**
|
|
11755
|
+
*
|
|
11756
|
+
* @type {string}
|
|
11757
|
+
* @memberof RecordCustomPaymentMethodEnumExtraFeeNumberInfoStringActiveBooleanBankTransfer
|
|
11758
|
+
*/
|
|
11759
|
+
'info': string;
|
|
11760
|
+
/**
|
|
11761
|
+
*
|
|
11762
|
+
* @type {number}
|
|
11763
|
+
* @memberof RecordCustomPaymentMethodEnumExtraFeeNumberInfoStringActiveBooleanBankTransfer
|
|
11764
|
+
*/
|
|
11765
|
+
'extraFee': number;
|
|
11766
|
+
}
|
|
11661
11767
|
/**
|
|
11662
11768
|
* Construct a type with a set of properties K of type T
|
|
11663
11769
|
* @export
|
|
@@ -11696,19 +11802,6 @@ export interface RecordLanguageEnumTitleStringTr {
|
|
|
11696
11802
|
*/
|
|
11697
11803
|
'title': string;
|
|
11698
11804
|
}
|
|
11699
|
-
/**
|
|
11700
|
-
*
|
|
11701
|
-
* @export
|
|
11702
|
-
* @interface RecordStringComponentsPartialRecordLanguageEnumITemplateComponentResponseArrayValue
|
|
11703
|
-
*/
|
|
11704
|
-
export interface RecordStringComponentsPartialRecordLanguageEnumITemplateComponentResponseArrayValue {
|
|
11705
|
-
/**
|
|
11706
|
-
*
|
|
11707
|
-
* @type {PartialRecordLanguageEnumITemplateComponentResponseArray}
|
|
11708
|
-
* @memberof RecordStringComponentsPartialRecordLanguageEnumITemplateComponentResponseArrayValue
|
|
11709
|
-
*/
|
|
11710
|
-
'components': PartialRecordLanguageEnumITemplateComponentResponseArray;
|
|
11711
|
-
}
|
|
11712
11805
|
/**
|
|
11713
11806
|
*
|
|
11714
11807
|
* @export
|
|
@@ -11899,7 +11992,7 @@ export declare const TemplateTypeEnum: {
|
|
|
11899
11992
|
readonly NOT_FOUND: "not-found";
|
|
11900
11993
|
readonly BLOG: "blog";
|
|
11901
11994
|
readonly SEARCH: "search";
|
|
11902
|
-
readonly
|
|
11995
|
+
readonly BLOGS: "blogs";
|
|
11903
11996
|
};
|
|
11904
11997
|
export type TemplateTypeEnum = typeof TemplateTypeEnum[keyof typeof TemplateTypeEnum];
|
|
11905
11998
|
/**
|
package/dist/api/api.js
CHANGED
|
@@ -611,7 +611,7 @@ exports.PageTypeEnum = {
|
|
|
611
611
|
CHECKOUT: 'checkout',
|
|
612
612
|
SEARCH: 'search',
|
|
613
613
|
NOT_FOUND: 'not-found',
|
|
614
|
-
|
|
614
|
+
BLOGS: 'blogs'
|
|
615
615
|
};
|
|
616
616
|
/**
|
|
617
617
|
*
|
|
@@ -621,7 +621,8 @@ exports.PageTypeEnum = {
|
|
|
621
621
|
exports.PaymentGatewayEnum = {
|
|
622
622
|
IYZICO: 'iyzico',
|
|
623
623
|
PAYTR: 'paytr',
|
|
624
|
-
PAPARA: 'papara'
|
|
624
|
+
PAPARA: 'papara',
|
|
625
|
+
STRIPE: 'stripe'
|
|
625
626
|
};
|
|
626
627
|
/**
|
|
627
628
|
*
|
|
@@ -722,7 +723,7 @@ exports.TemplateTypeEnum = {
|
|
|
722
723
|
NOT_FOUND: 'not-found',
|
|
723
724
|
BLOG: 'blog',
|
|
724
725
|
SEARCH: 'search',
|
|
725
|
-
|
|
726
|
+
BLOGS: 'blogs'
|
|
726
727
|
};
|
|
727
728
|
/**
|
|
728
729
|
*
|
package/dist/api/api.mjs
CHANGED
|
@@ -600,7 +600,7 @@ export const PageTypeEnum = {
|
|
|
600
600
|
CHECKOUT: 'checkout',
|
|
601
601
|
SEARCH: 'search',
|
|
602
602
|
NOT_FOUND: 'not-found',
|
|
603
|
-
|
|
603
|
+
BLOGS: 'blogs'
|
|
604
604
|
};
|
|
605
605
|
/**
|
|
606
606
|
*
|
|
@@ -610,7 +610,8 @@ export const PageTypeEnum = {
|
|
|
610
610
|
export const PaymentGatewayEnum = {
|
|
611
611
|
IYZICO: 'iyzico',
|
|
612
612
|
PAYTR: 'paytr',
|
|
613
|
-
PAPARA: 'papara'
|
|
613
|
+
PAPARA: 'papara',
|
|
614
|
+
STRIPE: 'stripe'
|
|
614
615
|
};
|
|
615
616
|
/**
|
|
616
617
|
*
|
|
@@ -711,7 +712,7 @@ export const TemplateTypeEnum = {
|
|
|
711
712
|
NOT_FOUND: 'not-found',
|
|
712
713
|
BLOG: 'blog',
|
|
713
714
|
SEARCH: 'search',
|
|
714
|
-
|
|
715
|
+
BLOGS: 'blogs'
|
|
715
716
|
};
|
|
716
717
|
/**
|
|
717
718
|
*
|
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.10",
|
|
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": "f10dccf070093a45b610acb9269f81eee362f599"
|
|
41
41
|
}
|