@munchi_oy/core 1.9.46 → 1.9.48
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/generated/api.d.ts +640 -0
- package/dist/generated/api.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/src/version.d.ts +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/generated/api.ts +913 -0
- package/package.json +1 -1
- package/src/version.ts +1 -1
package/dist/generated/api.d.ts
CHANGED
|
@@ -437,6 +437,19 @@ export declare const AutonomousVehicleType: {
|
|
|
437
437
|
readonly FlyingDrone: "VEHICLE_TYPE_FLYING_DRONE";
|
|
438
438
|
};
|
|
439
439
|
export type AutonomousVehicleType = typeof AutonomousVehicleType[keyof typeof AutonomousVehicleType];
|
|
440
|
+
/**
|
|
441
|
+
*
|
|
442
|
+
* @export
|
|
443
|
+
* @interface BulkRankDto
|
|
444
|
+
*/
|
|
445
|
+
export interface BulkRankDto {
|
|
446
|
+
/**
|
|
447
|
+
* Only the items whose position changed (zero-based ranks).
|
|
448
|
+
* @type {Array<RankItemDto>}
|
|
449
|
+
* @memberof BulkRankDto
|
|
450
|
+
*/
|
|
451
|
+
'items': Array<RankItemDto>;
|
|
452
|
+
}
|
|
440
453
|
/**
|
|
441
454
|
*
|
|
442
455
|
* @export
|
|
@@ -3004,6 +3017,19 @@ export interface CoordinateDto {
|
|
|
3004
3017
|
*/
|
|
3005
3018
|
'lon': number;
|
|
3006
3019
|
}
|
|
3020
|
+
/**
|
|
3021
|
+
*
|
|
3022
|
+
* @export
|
|
3023
|
+
* @interface CourseConfigDto
|
|
3024
|
+
*/
|
|
3025
|
+
export interface CourseConfigDto {
|
|
3026
|
+
/**
|
|
3027
|
+
* Rank assigned to uncoursed items
|
|
3028
|
+
* @type {number}
|
|
3029
|
+
* @memberof CourseConfigDto
|
|
3030
|
+
*/
|
|
3031
|
+
'uncoursedRank': number;
|
|
3032
|
+
}
|
|
3007
3033
|
/**
|
|
3008
3034
|
*
|
|
3009
3035
|
* @export
|
|
@@ -3022,6 +3048,12 @@ export interface CourseDto {
|
|
|
3022
3048
|
* @memberof CourseDto
|
|
3023
3049
|
*/
|
|
3024
3050
|
'name': string;
|
|
3051
|
+
/**
|
|
3052
|
+
* Course rank used for ordering
|
|
3053
|
+
* @type {number}
|
|
3054
|
+
* @memberof CourseDto
|
|
3055
|
+
*/
|
|
3056
|
+
'rank': number;
|
|
3025
3057
|
/**
|
|
3026
3058
|
* Whether the course fires automatically to the kitchen
|
|
3027
3059
|
* @type {boolean}
|
|
@@ -3029,6 +3061,16 @@ export interface CourseDto {
|
|
|
3029
3061
|
*/
|
|
3030
3062
|
'autoFire'?: boolean;
|
|
3031
3063
|
}
|
|
3064
|
+
/**
|
|
3065
|
+
*
|
|
3066
|
+
* @export
|
|
3067
|
+
* @enum {string}
|
|
3068
|
+
*/
|
|
3069
|
+
export declare const CreatablePaymentType: {
|
|
3070
|
+
readonly Manual: "MANUAL";
|
|
3071
|
+
readonly Voucher: "VOUCHER";
|
|
3072
|
+
};
|
|
3073
|
+
export type CreatablePaymentType = typeof CreatablePaymentType[keyof typeof CreatablePaymentType];
|
|
3032
3074
|
/**
|
|
3033
3075
|
*
|
|
3034
3076
|
* @export
|
|
@@ -3829,6 +3871,73 @@ export interface CreateNetsTerminalPaymentDto {
|
|
|
3829
3871
|
*/
|
|
3830
3872
|
'options'?: NetsTerminalPaymentOptionsDto;
|
|
3831
3873
|
}
|
|
3874
|
+
/**
|
|
3875
|
+
*
|
|
3876
|
+
* @export
|
|
3877
|
+
* @interface CreatePaymentMethodDto
|
|
3878
|
+
*/
|
|
3879
|
+
export interface CreatePaymentMethodDto {
|
|
3880
|
+
/**
|
|
3881
|
+
* Attach an existing catalog method by its code (mutually exclusive with name+type).
|
|
3882
|
+
* @type {string}
|
|
3883
|
+
* @memberof CreatePaymentMethodDto
|
|
3884
|
+
*/
|
|
3885
|
+
'code'?: string;
|
|
3886
|
+
/**
|
|
3887
|
+
* Display name for a new custom method; required with type when code is absent.
|
|
3888
|
+
* @type {string}
|
|
3889
|
+
* @memberof CreatePaymentMethodDto
|
|
3890
|
+
*/
|
|
3891
|
+
'name'?: string;
|
|
3892
|
+
/**
|
|
3893
|
+
*
|
|
3894
|
+
* @type {CreatablePaymentType}
|
|
3895
|
+
* @memberof CreatePaymentMethodDto
|
|
3896
|
+
*/
|
|
3897
|
+
'type'?: CreatablePaymentType;
|
|
3898
|
+
/**
|
|
3899
|
+
* Per-business name override.
|
|
3900
|
+
* @type {string}
|
|
3901
|
+
* @memberof CreatePaymentMethodDto
|
|
3902
|
+
*/
|
|
3903
|
+
'customName'?: string;
|
|
3904
|
+
/**
|
|
3905
|
+
* Per-business logo URL.
|
|
3906
|
+
* @type {string}
|
|
3907
|
+
* @memberof CreatePaymentMethodDto
|
|
3908
|
+
*/
|
|
3909
|
+
'logo'?: string;
|
|
3910
|
+
/**
|
|
3911
|
+
* Per-business description.
|
|
3912
|
+
* @type {string}
|
|
3913
|
+
* @memberof CreatePaymentMethodDto
|
|
3914
|
+
*/
|
|
3915
|
+
'description'?: string;
|
|
3916
|
+
/**
|
|
3917
|
+
* Parent method code for grouped vouchers.
|
|
3918
|
+
* @type {string}
|
|
3919
|
+
* @memberof CreatePaymentMethodDto
|
|
3920
|
+
*/
|
|
3921
|
+
'parentCode'?: string;
|
|
3922
|
+
/**
|
|
3923
|
+
* Preset amounts/denominations (vouchers).
|
|
3924
|
+
* @type {Array<number>}
|
|
3925
|
+
* @memberof CreatePaymentMethodDto
|
|
3926
|
+
*/
|
|
3927
|
+
'amounts'?: Array<number>;
|
|
3928
|
+
/**
|
|
3929
|
+
* Minimum order amount required to use this method.
|
|
3930
|
+
* @type {number}
|
|
3931
|
+
* @memberof CreatePaymentMethodDto
|
|
3932
|
+
*/
|
|
3933
|
+
'minimumCheckoutAmount'?: number;
|
|
3934
|
+
/**
|
|
3935
|
+
* Whether the method is enabled (defaults to true).
|
|
3936
|
+
* @type {boolean}
|
|
3937
|
+
* @memberof CreatePaymentMethodDto
|
|
3938
|
+
*/
|
|
3939
|
+
'enable'?: boolean;
|
|
3940
|
+
}
|
|
3832
3941
|
/**
|
|
3833
3942
|
*
|
|
3834
3943
|
* @export
|
|
@@ -11689,6 +11798,37 @@ export declare const PaymentMethod: {
|
|
|
11689
11798
|
readonly LoyaltyPoints: "LoyaltyPoints";
|
|
11690
11799
|
};
|
|
11691
11800
|
export type PaymentMethod = typeof PaymentMethod[keyof typeof PaymentMethod];
|
|
11801
|
+
/**
|
|
11802
|
+
*
|
|
11803
|
+
* @export
|
|
11804
|
+
* @interface PaymentMethodCapabilitiesDto
|
|
11805
|
+
*/
|
|
11806
|
+
export interface PaymentMethodCapabilitiesDto {
|
|
11807
|
+
/**
|
|
11808
|
+
* Whether this method can be refunded at all.
|
|
11809
|
+
* @type {boolean}
|
|
11810
|
+
* @memberof PaymentMethodCapabilitiesDto
|
|
11811
|
+
*/
|
|
11812
|
+
'refundable': boolean;
|
|
11813
|
+
/**
|
|
11814
|
+
* Whether a refund can be split across this method and others.
|
|
11815
|
+
* @type {boolean}
|
|
11816
|
+
* @memberof PaymentMethodCapabilitiesDto
|
|
11817
|
+
*/
|
|
11818
|
+
'refundSplittable': boolean;
|
|
11819
|
+
/**
|
|
11820
|
+
* Whether the customer may choose this method as a refund target.
|
|
11821
|
+
* @type {boolean}
|
|
11822
|
+
* @memberof PaymentMethodCapabilitiesDto
|
|
11823
|
+
*/
|
|
11824
|
+
'refundChoiceEligible': boolean;
|
|
11825
|
+
/**
|
|
11826
|
+
* Refund allocation order (lower = refunded first); null when not refundable.
|
|
11827
|
+
* @type {number}
|
|
11828
|
+
* @memberof PaymentMethodCapabilitiesDto
|
|
11829
|
+
*/
|
|
11830
|
+
'refundPriorityTier': number | null;
|
|
11831
|
+
}
|
|
11692
11832
|
/**
|
|
11693
11833
|
*
|
|
11694
11834
|
* @export
|
|
@@ -12006,6 +12146,122 @@ export interface PaymentMethodDetailsDtoWechatPayDetails {
|
|
|
12006
12146
|
*/
|
|
12007
12147
|
'transactionId'?: string | null;
|
|
12008
12148
|
}
|
|
12149
|
+
/**
|
|
12150
|
+
*
|
|
12151
|
+
* @export
|
|
12152
|
+
* @interface PaymentMethodDto
|
|
12153
|
+
*/
|
|
12154
|
+
export interface PaymentMethodDto {
|
|
12155
|
+
/**
|
|
12156
|
+
* PaymentMethodOption id; use it for update/delete/reorder.
|
|
12157
|
+
* @type {string}
|
|
12158
|
+
* @memberof PaymentMethodDto
|
|
12159
|
+
*/
|
|
12160
|
+
'id': string;
|
|
12161
|
+
/**
|
|
12162
|
+
* Stable, immutable method code (catalog identity).
|
|
12163
|
+
* @type {string}
|
|
12164
|
+
* @memberof PaymentMethodDto
|
|
12165
|
+
*/
|
|
12166
|
+
'code': string;
|
|
12167
|
+
/**
|
|
12168
|
+
* Catalog type that drives this method\'s policy/behavior.
|
|
12169
|
+
* @type {string}
|
|
12170
|
+
* @memberof PaymentMethodDto
|
|
12171
|
+
*/
|
|
12172
|
+
'typeCode': string;
|
|
12173
|
+
/**
|
|
12174
|
+
* Display name: per-business customName, else catalog translation, else code.
|
|
12175
|
+
* @type {string}
|
|
12176
|
+
* @memberof PaymentMethodDto
|
|
12177
|
+
*/
|
|
12178
|
+
'label': string;
|
|
12179
|
+
/**
|
|
12180
|
+
* Per-business name override; null means inherit the catalog label.
|
|
12181
|
+
* @type {string}
|
|
12182
|
+
* @memberof PaymentMethodDto
|
|
12183
|
+
*/
|
|
12184
|
+
'customName': string | null;
|
|
12185
|
+
/**
|
|
12186
|
+
* Per-business logo URL.
|
|
12187
|
+
* @type {string}
|
|
12188
|
+
* @memberof PaymentMethodDto
|
|
12189
|
+
*/
|
|
12190
|
+
'logo': string | null;
|
|
12191
|
+
/**
|
|
12192
|
+
* Per-business description.
|
|
12193
|
+
* @type {string}
|
|
12194
|
+
* @memberof PaymentMethodDto
|
|
12195
|
+
*/
|
|
12196
|
+
'description': string | null;
|
|
12197
|
+
/**
|
|
12198
|
+
* Parent method code for grouped vouchers; null when standalone.
|
|
12199
|
+
* @type {string}
|
|
12200
|
+
* @memberof PaymentMethodDto
|
|
12201
|
+
*/
|
|
12202
|
+
'parentCode': string | null;
|
|
12203
|
+
/**
|
|
12204
|
+
* Sort order within the business (ascending).
|
|
12205
|
+
* @type {number}
|
|
12206
|
+
* @memberof PaymentMethodDto
|
|
12207
|
+
*/
|
|
12208
|
+
'position': number;
|
|
12209
|
+
/**
|
|
12210
|
+
* Whether the method is shown/usable (off = hidden, not deleted).
|
|
12211
|
+
* @type {boolean}
|
|
12212
|
+
* @memberof PaymentMethodDto
|
|
12213
|
+
*/
|
|
12214
|
+
'enable': boolean;
|
|
12215
|
+
/**
|
|
12216
|
+
* Preset amounts/denominations (vouchers).
|
|
12217
|
+
* @type {Array<number>}
|
|
12218
|
+
* @memberof PaymentMethodDto
|
|
12219
|
+
*/
|
|
12220
|
+
'amounts': Array<number>;
|
|
12221
|
+
/**
|
|
12222
|
+
* Minimum order amount required to use this method (decimal as string).
|
|
12223
|
+
* @type {string}
|
|
12224
|
+
* @memberof PaymentMethodDto
|
|
12225
|
+
*/
|
|
12226
|
+
'minimumCheckoutAmount': string | null;
|
|
12227
|
+
/**
|
|
12228
|
+
*
|
|
12229
|
+
* @type {PaymentMethodDtoCapabilities}
|
|
12230
|
+
* @memberof PaymentMethodDto
|
|
12231
|
+
*/
|
|
12232
|
+
'capabilities': PaymentMethodDtoCapabilities;
|
|
12233
|
+
}
|
|
12234
|
+
/**
|
|
12235
|
+
* Refund behavior resolved from the catalog type + per-method overrides.
|
|
12236
|
+
* @export
|
|
12237
|
+
* @interface PaymentMethodDtoCapabilities
|
|
12238
|
+
*/
|
|
12239
|
+
export interface PaymentMethodDtoCapabilities {
|
|
12240
|
+
/**
|
|
12241
|
+
* Whether this method can be refunded at all.
|
|
12242
|
+
* @type {boolean}
|
|
12243
|
+
* @memberof PaymentMethodDtoCapabilities
|
|
12244
|
+
*/
|
|
12245
|
+
'refundable': boolean;
|
|
12246
|
+
/**
|
|
12247
|
+
* Whether a refund can be split across this method and others.
|
|
12248
|
+
* @type {boolean}
|
|
12249
|
+
* @memberof PaymentMethodDtoCapabilities
|
|
12250
|
+
*/
|
|
12251
|
+
'refundSplittable': boolean;
|
|
12252
|
+
/**
|
|
12253
|
+
* Whether the customer may choose this method as a refund target.
|
|
12254
|
+
* @type {boolean}
|
|
12255
|
+
* @memberof PaymentMethodDtoCapabilities
|
|
12256
|
+
*/
|
|
12257
|
+
'refundChoiceEligible': boolean;
|
|
12258
|
+
/**
|
|
12259
|
+
* Refund allocation order (lower = refunded first); null when not refundable.
|
|
12260
|
+
* @type {number}
|
|
12261
|
+
* @memberof PaymentMethodDtoCapabilities
|
|
12262
|
+
*/
|
|
12263
|
+
'refundPriorityTier': number | null;
|
|
12264
|
+
}
|
|
12009
12265
|
/**
|
|
12010
12266
|
*
|
|
12011
12267
|
* @export
|
|
@@ -12358,6 +12614,7 @@ export interface PaymentRefundLineAllocationDto {
|
|
|
12358
12614
|
*/
|
|
12359
12615
|
export declare const PaymentSessionStatus: {
|
|
12360
12616
|
readonly Initiated: "INITIATED";
|
|
12617
|
+
readonly Dispatched: "DISPATCHED";
|
|
12361
12618
|
readonly Processing: "PROCESSING";
|
|
12362
12619
|
readonly Success: "SUCCESS";
|
|
12363
12620
|
readonly Failed: "FAILED";
|
|
@@ -15922,6 +16179,25 @@ export declare const PubSubTarget: {
|
|
|
15922
16179
|
readonly Kds: "KDS";
|
|
15923
16180
|
};
|
|
15924
16181
|
export type PubSubTarget = typeof PubSubTarget[keyof typeof PubSubTarget];
|
|
16182
|
+
/**
|
|
16183
|
+
*
|
|
16184
|
+
* @export
|
|
16185
|
+
* @interface RankItemDto
|
|
16186
|
+
*/
|
|
16187
|
+
export interface RankItemDto {
|
|
16188
|
+
/**
|
|
16189
|
+
* PaymentMethodOption id to position.
|
|
16190
|
+
* @type {string}
|
|
16191
|
+
* @memberof RankItemDto
|
|
16192
|
+
*/
|
|
16193
|
+
'id': string;
|
|
16194
|
+
/**
|
|
16195
|
+
* New zero-based sort position.
|
|
16196
|
+
* @type {number}
|
|
16197
|
+
* @memberof RankItemDto
|
|
16198
|
+
*/
|
|
16199
|
+
'rank': number;
|
|
16200
|
+
}
|
|
15925
16201
|
/**
|
|
15926
16202
|
*
|
|
15927
16203
|
* @export
|
|
@@ -20166,6 +20442,55 @@ export interface UpdateInvoiceCompanyDto {
|
|
|
20166
20442
|
*/
|
|
20167
20443
|
'address'?: string;
|
|
20168
20444
|
}
|
|
20445
|
+
/**
|
|
20446
|
+
*
|
|
20447
|
+
* @export
|
|
20448
|
+
* @interface UpdatePaymentMethodOptionDto
|
|
20449
|
+
*/
|
|
20450
|
+
export interface UpdatePaymentMethodOptionDto {
|
|
20451
|
+
/**
|
|
20452
|
+
* Per-business name override.
|
|
20453
|
+
* @type {string}
|
|
20454
|
+
* @memberof UpdatePaymentMethodOptionDto
|
|
20455
|
+
*/
|
|
20456
|
+
'customName'?: string;
|
|
20457
|
+
/**
|
|
20458
|
+
* Per-business logo URL.
|
|
20459
|
+
* @type {string}
|
|
20460
|
+
* @memberof UpdatePaymentMethodOptionDto
|
|
20461
|
+
*/
|
|
20462
|
+
'logo'?: string;
|
|
20463
|
+
/**
|
|
20464
|
+
* Per-business description.
|
|
20465
|
+
* @type {string}
|
|
20466
|
+
* @memberof UpdatePaymentMethodOptionDto
|
|
20467
|
+
*/
|
|
20468
|
+
'description'?: string;
|
|
20469
|
+
/**
|
|
20470
|
+
* Parent method code for grouped vouchers.
|
|
20471
|
+
* @type {string}
|
|
20472
|
+
* @memberof UpdatePaymentMethodOptionDto
|
|
20473
|
+
*/
|
|
20474
|
+
'parentCode'?: string;
|
|
20475
|
+
/**
|
|
20476
|
+
* Preset amounts/denominations (vouchers).
|
|
20477
|
+
* @type {Array<number>}
|
|
20478
|
+
* @memberof UpdatePaymentMethodOptionDto
|
|
20479
|
+
*/
|
|
20480
|
+
'amounts'?: Array<number>;
|
|
20481
|
+
/**
|
|
20482
|
+
* Minimum order amount required to use this method.
|
|
20483
|
+
* @type {number}
|
|
20484
|
+
* @memberof UpdatePaymentMethodOptionDto
|
|
20485
|
+
*/
|
|
20486
|
+
'minimumCheckoutAmount'?: number;
|
|
20487
|
+
/**
|
|
20488
|
+
* Whether the method is enabled.
|
|
20489
|
+
* @type {boolean}
|
|
20490
|
+
* @memberof UpdatePaymentMethodOptionDto
|
|
20491
|
+
*/
|
|
20492
|
+
'enable'?: boolean;
|
|
20493
|
+
}
|
|
20169
20494
|
/**
|
|
20170
20495
|
*
|
|
20171
20496
|
* @export
|
|
@@ -25494,6 +25819,14 @@ export declare class ConfigManagementApi extends BaseAPI implements ConfigManage
|
|
|
25494
25819
|
* @export
|
|
25495
25820
|
*/
|
|
25496
25821
|
export declare const CoursesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
25822
|
+
/**
|
|
25823
|
+
*
|
|
25824
|
+
* @summary Get course config for a business
|
|
25825
|
+
* @param {number} businessId Business ID
|
|
25826
|
+
* @param {*} [options] Override http request option.
|
|
25827
|
+
* @throws {RequiredError}
|
|
25828
|
+
*/
|
|
25829
|
+
getCourseConfig: (businessId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
25497
25830
|
/**
|
|
25498
25831
|
*
|
|
25499
25832
|
* @summary Get courses for a business
|
|
@@ -25508,6 +25841,14 @@ export declare const CoursesApiAxiosParamCreator: (configuration?: Configuration
|
|
|
25508
25841
|
* @export
|
|
25509
25842
|
*/
|
|
25510
25843
|
export declare const CoursesApiFp: (configuration?: Configuration) => {
|
|
25844
|
+
/**
|
|
25845
|
+
*
|
|
25846
|
+
* @summary Get course config for a business
|
|
25847
|
+
* @param {number} businessId Business ID
|
|
25848
|
+
* @param {*} [options] Override http request option.
|
|
25849
|
+
* @throws {RequiredError}
|
|
25850
|
+
*/
|
|
25851
|
+
getCourseConfig(businessId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CourseConfigDto>>;
|
|
25511
25852
|
/**
|
|
25512
25853
|
*
|
|
25513
25854
|
* @summary Get courses for a business
|
|
@@ -25522,6 +25863,14 @@ export declare const CoursesApiFp: (configuration?: Configuration) => {
|
|
|
25522
25863
|
* @export
|
|
25523
25864
|
*/
|
|
25524
25865
|
export declare const CoursesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
25866
|
+
/**
|
|
25867
|
+
*
|
|
25868
|
+
* @summary Get course config for a business
|
|
25869
|
+
* @param {number} businessId Business ID
|
|
25870
|
+
* @param {*} [options] Override http request option.
|
|
25871
|
+
* @throws {RequiredError}
|
|
25872
|
+
*/
|
|
25873
|
+
getCourseConfig(businessId: number, options?: any): AxiosPromise<CourseConfigDto>;
|
|
25525
25874
|
/**
|
|
25526
25875
|
*
|
|
25527
25876
|
* @summary Get courses for a business
|
|
@@ -25537,6 +25886,15 @@ export declare const CoursesApiFactory: (configuration?: Configuration, basePath
|
|
|
25537
25886
|
* @interface CoursesApi
|
|
25538
25887
|
*/
|
|
25539
25888
|
export interface CoursesApiInterface {
|
|
25889
|
+
/**
|
|
25890
|
+
*
|
|
25891
|
+
* @summary Get course config for a business
|
|
25892
|
+
* @param {number} businessId Business ID
|
|
25893
|
+
* @param {*} [options] Override http request option.
|
|
25894
|
+
* @throws {RequiredError}
|
|
25895
|
+
* @memberof CoursesApiInterface
|
|
25896
|
+
*/
|
|
25897
|
+
getCourseConfig(businessId: number, options?: AxiosRequestConfig): AxiosPromise<CourseConfigDto>;
|
|
25540
25898
|
/**
|
|
25541
25899
|
*
|
|
25542
25900
|
* @summary Get courses for a business
|
|
@@ -25554,6 +25912,15 @@ export interface CoursesApiInterface {
|
|
|
25554
25912
|
* @extends {BaseAPI}
|
|
25555
25913
|
*/
|
|
25556
25914
|
export declare class CoursesApi extends BaseAPI implements CoursesApiInterface {
|
|
25915
|
+
/**
|
|
25916
|
+
*
|
|
25917
|
+
* @summary Get course config for a business
|
|
25918
|
+
* @param {number} businessId Business ID
|
|
25919
|
+
* @param {*} [options] Override http request option.
|
|
25920
|
+
* @throws {RequiredError}
|
|
25921
|
+
* @memberof CoursesApi
|
|
25922
|
+
*/
|
|
25923
|
+
getCourseConfig(businessId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CourseConfigDto, any, {}>>;
|
|
25557
25924
|
/**
|
|
25558
25925
|
*
|
|
25559
25926
|
* @summary Get courses for a business
|
|
@@ -30142,6 +30509,279 @@ export declare class PaymentApi extends BaseAPI implements PaymentApiInterface {
|
|
|
30142
30509
|
*/
|
|
30143
30510
|
refundVivaTransactionV4(refundPayloadDtoV4: RefundPayloadDtoV4, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<VivaPaymentResultDto, any, {}>>;
|
|
30144
30511
|
}
|
|
30512
|
+
/**
|
|
30513
|
+
* PaymentMethodsApi - axios parameter creator
|
|
30514
|
+
* @export
|
|
30515
|
+
*/
|
|
30516
|
+
export declare const PaymentMethodsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
30517
|
+
/**
|
|
30518
|
+
*
|
|
30519
|
+
* @param {number} businessId
|
|
30520
|
+
* @param {ProviderEnum} channel
|
|
30521
|
+
* @param {CreatePaymentMethodDto} createPaymentMethodDto
|
|
30522
|
+
* @param {*} [options] Override http request option.
|
|
30523
|
+
* @throws {RequiredError}
|
|
30524
|
+
*/
|
|
30525
|
+
createPaymentMethod: (businessId: number, channel: ProviderEnum, createPaymentMethodDto: CreatePaymentMethodDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
30526
|
+
/**
|
|
30527
|
+
*
|
|
30528
|
+
* @param {number} businessId
|
|
30529
|
+
* @param {ProviderEnum} channel
|
|
30530
|
+
* @param {string} id
|
|
30531
|
+
* @param {*} [options] Override http request option.
|
|
30532
|
+
* @throws {RequiredError}
|
|
30533
|
+
*/
|
|
30534
|
+
deletePaymentMethodOption: (businessId: number, channel: ProviderEnum, id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
30535
|
+
/**
|
|
30536
|
+
*
|
|
30537
|
+
* @param {number} businessId
|
|
30538
|
+
* @param {ProviderEnum} channel
|
|
30539
|
+
* @param {any} [locale]
|
|
30540
|
+
* @param {*} [options] Override http request option.
|
|
30541
|
+
* @throws {RequiredError}
|
|
30542
|
+
*/
|
|
30543
|
+
getPaymentMethods: (businessId: number, channel: ProviderEnum, locale?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
30544
|
+
/**
|
|
30545
|
+
*
|
|
30546
|
+
* @param {number} businessId
|
|
30547
|
+
* @param {ProviderEnum} channel
|
|
30548
|
+
* @param {BulkRankDto} bulkRankDto
|
|
30549
|
+
* @param {*} [options] Override http request option.
|
|
30550
|
+
* @throws {RequiredError}
|
|
30551
|
+
*/
|
|
30552
|
+
reorder: (businessId: number, channel: ProviderEnum, bulkRankDto: BulkRankDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
30553
|
+
/**
|
|
30554
|
+
*
|
|
30555
|
+
* @param {number} businessId
|
|
30556
|
+
* @param {ProviderEnum} channel
|
|
30557
|
+
* @param {string} id
|
|
30558
|
+
* @param {UpdatePaymentMethodOptionDto} updatePaymentMethodOptionDto
|
|
30559
|
+
* @param {*} [options] Override http request option.
|
|
30560
|
+
* @throws {RequiredError}
|
|
30561
|
+
*/
|
|
30562
|
+
updatePaymentMethodOption: (businessId: number, channel: ProviderEnum, id: string, updatePaymentMethodOptionDto: UpdatePaymentMethodOptionDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
30563
|
+
};
|
|
30564
|
+
/**
|
|
30565
|
+
* PaymentMethodsApi - functional programming interface
|
|
30566
|
+
* @export
|
|
30567
|
+
*/
|
|
30568
|
+
export declare const PaymentMethodsApiFp: (configuration?: Configuration) => {
|
|
30569
|
+
/**
|
|
30570
|
+
*
|
|
30571
|
+
* @param {number} businessId
|
|
30572
|
+
* @param {ProviderEnum} channel
|
|
30573
|
+
* @param {CreatePaymentMethodDto} createPaymentMethodDto
|
|
30574
|
+
* @param {*} [options] Override http request option.
|
|
30575
|
+
* @throws {RequiredError}
|
|
30576
|
+
*/
|
|
30577
|
+
createPaymentMethod(businessId: number, channel: ProviderEnum, createPaymentMethodDto: CreatePaymentMethodDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentMethodDto>>;
|
|
30578
|
+
/**
|
|
30579
|
+
*
|
|
30580
|
+
* @param {number} businessId
|
|
30581
|
+
* @param {ProviderEnum} channel
|
|
30582
|
+
* @param {string} id
|
|
30583
|
+
* @param {*} [options] Override http request option.
|
|
30584
|
+
* @throws {RequiredError}
|
|
30585
|
+
*/
|
|
30586
|
+
deletePaymentMethodOption(businessId: number, channel: ProviderEnum, id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
30587
|
+
/**
|
|
30588
|
+
*
|
|
30589
|
+
* @param {number} businessId
|
|
30590
|
+
* @param {ProviderEnum} channel
|
|
30591
|
+
* @param {any} [locale]
|
|
30592
|
+
* @param {*} [options] Override http request option.
|
|
30593
|
+
* @throws {RequiredError}
|
|
30594
|
+
*/
|
|
30595
|
+
getPaymentMethods(businessId: number, channel: ProviderEnum, locale?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PaymentMethodDto>>>;
|
|
30596
|
+
/**
|
|
30597
|
+
*
|
|
30598
|
+
* @param {number} businessId
|
|
30599
|
+
* @param {ProviderEnum} channel
|
|
30600
|
+
* @param {BulkRankDto} bulkRankDto
|
|
30601
|
+
* @param {*} [options] Override http request option.
|
|
30602
|
+
* @throws {RequiredError}
|
|
30603
|
+
*/
|
|
30604
|
+
reorder(businessId: number, channel: ProviderEnum, bulkRankDto: BulkRankDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
30605
|
+
/**
|
|
30606
|
+
*
|
|
30607
|
+
* @param {number} businessId
|
|
30608
|
+
* @param {ProviderEnum} channel
|
|
30609
|
+
* @param {string} id
|
|
30610
|
+
* @param {UpdatePaymentMethodOptionDto} updatePaymentMethodOptionDto
|
|
30611
|
+
* @param {*} [options] Override http request option.
|
|
30612
|
+
* @throws {RequiredError}
|
|
30613
|
+
*/
|
|
30614
|
+
updatePaymentMethodOption(businessId: number, channel: ProviderEnum, id: string, updatePaymentMethodOptionDto: UpdatePaymentMethodOptionDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentMethodDto>>;
|
|
30615
|
+
};
|
|
30616
|
+
/**
|
|
30617
|
+
* PaymentMethodsApi - factory interface
|
|
30618
|
+
* @export
|
|
30619
|
+
*/
|
|
30620
|
+
export declare const PaymentMethodsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
30621
|
+
/**
|
|
30622
|
+
*
|
|
30623
|
+
* @param {number} businessId
|
|
30624
|
+
* @param {ProviderEnum} channel
|
|
30625
|
+
* @param {CreatePaymentMethodDto} createPaymentMethodDto
|
|
30626
|
+
* @param {*} [options] Override http request option.
|
|
30627
|
+
* @throws {RequiredError}
|
|
30628
|
+
*/
|
|
30629
|
+
createPaymentMethod(businessId: number, channel: ProviderEnum, createPaymentMethodDto: CreatePaymentMethodDto, options?: any): AxiosPromise<PaymentMethodDto>;
|
|
30630
|
+
/**
|
|
30631
|
+
*
|
|
30632
|
+
* @param {number} businessId
|
|
30633
|
+
* @param {ProviderEnum} channel
|
|
30634
|
+
* @param {string} id
|
|
30635
|
+
* @param {*} [options] Override http request option.
|
|
30636
|
+
* @throws {RequiredError}
|
|
30637
|
+
*/
|
|
30638
|
+
deletePaymentMethodOption(businessId: number, channel: ProviderEnum, id: string, options?: any): AxiosPromise<void>;
|
|
30639
|
+
/**
|
|
30640
|
+
*
|
|
30641
|
+
* @param {number} businessId
|
|
30642
|
+
* @param {ProviderEnum} channel
|
|
30643
|
+
* @param {any} [locale]
|
|
30644
|
+
* @param {*} [options] Override http request option.
|
|
30645
|
+
* @throws {RequiredError}
|
|
30646
|
+
*/
|
|
30647
|
+
getPaymentMethods(businessId: number, channel: ProviderEnum, locale?: any, options?: any): AxiosPromise<Array<PaymentMethodDto>>;
|
|
30648
|
+
/**
|
|
30649
|
+
*
|
|
30650
|
+
* @param {number} businessId
|
|
30651
|
+
* @param {ProviderEnum} channel
|
|
30652
|
+
* @param {BulkRankDto} bulkRankDto
|
|
30653
|
+
* @param {*} [options] Override http request option.
|
|
30654
|
+
* @throws {RequiredError}
|
|
30655
|
+
*/
|
|
30656
|
+
reorder(businessId: number, channel: ProviderEnum, bulkRankDto: BulkRankDto, options?: any): AxiosPromise<void>;
|
|
30657
|
+
/**
|
|
30658
|
+
*
|
|
30659
|
+
* @param {number} businessId
|
|
30660
|
+
* @param {ProviderEnum} channel
|
|
30661
|
+
* @param {string} id
|
|
30662
|
+
* @param {UpdatePaymentMethodOptionDto} updatePaymentMethodOptionDto
|
|
30663
|
+
* @param {*} [options] Override http request option.
|
|
30664
|
+
* @throws {RequiredError}
|
|
30665
|
+
*/
|
|
30666
|
+
updatePaymentMethodOption(businessId: number, channel: ProviderEnum, id: string, updatePaymentMethodOptionDto: UpdatePaymentMethodOptionDto, options?: any): AxiosPromise<PaymentMethodDto>;
|
|
30667
|
+
};
|
|
30668
|
+
/**
|
|
30669
|
+
* PaymentMethodsApi - interface
|
|
30670
|
+
* @export
|
|
30671
|
+
* @interface PaymentMethodsApi
|
|
30672
|
+
*/
|
|
30673
|
+
export interface PaymentMethodsApiInterface {
|
|
30674
|
+
/**
|
|
30675
|
+
*
|
|
30676
|
+
* @param {number} businessId
|
|
30677
|
+
* @param {ProviderEnum} channel
|
|
30678
|
+
* @param {CreatePaymentMethodDto} createPaymentMethodDto
|
|
30679
|
+
* @param {*} [options] Override http request option.
|
|
30680
|
+
* @throws {RequiredError}
|
|
30681
|
+
* @memberof PaymentMethodsApiInterface
|
|
30682
|
+
*/
|
|
30683
|
+
createPaymentMethod(businessId: number, channel: ProviderEnum, createPaymentMethodDto: CreatePaymentMethodDto, options?: AxiosRequestConfig): AxiosPromise<PaymentMethodDto>;
|
|
30684
|
+
/**
|
|
30685
|
+
*
|
|
30686
|
+
* @param {number} businessId
|
|
30687
|
+
* @param {ProviderEnum} channel
|
|
30688
|
+
* @param {string} id
|
|
30689
|
+
* @param {*} [options] Override http request option.
|
|
30690
|
+
* @throws {RequiredError}
|
|
30691
|
+
* @memberof PaymentMethodsApiInterface
|
|
30692
|
+
*/
|
|
30693
|
+
deletePaymentMethodOption(businessId: number, channel: ProviderEnum, id: string, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
30694
|
+
/**
|
|
30695
|
+
*
|
|
30696
|
+
* @param {number} businessId
|
|
30697
|
+
* @param {ProviderEnum} channel
|
|
30698
|
+
* @param {any} [locale]
|
|
30699
|
+
* @param {*} [options] Override http request option.
|
|
30700
|
+
* @throws {RequiredError}
|
|
30701
|
+
* @memberof PaymentMethodsApiInterface
|
|
30702
|
+
*/
|
|
30703
|
+
getPaymentMethods(businessId: number, channel: ProviderEnum, locale?: any, options?: AxiosRequestConfig): AxiosPromise<Array<PaymentMethodDto>>;
|
|
30704
|
+
/**
|
|
30705
|
+
*
|
|
30706
|
+
* @param {number} businessId
|
|
30707
|
+
* @param {ProviderEnum} channel
|
|
30708
|
+
* @param {BulkRankDto} bulkRankDto
|
|
30709
|
+
* @param {*} [options] Override http request option.
|
|
30710
|
+
* @throws {RequiredError}
|
|
30711
|
+
* @memberof PaymentMethodsApiInterface
|
|
30712
|
+
*/
|
|
30713
|
+
reorder(businessId: number, channel: ProviderEnum, bulkRankDto: BulkRankDto, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
30714
|
+
/**
|
|
30715
|
+
*
|
|
30716
|
+
* @param {number} businessId
|
|
30717
|
+
* @param {ProviderEnum} channel
|
|
30718
|
+
* @param {string} id
|
|
30719
|
+
* @param {UpdatePaymentMethodOptionDto} updatePaymentMethodOptionDto
|
|
30720
|
+
* @param {*} [options] Override http request option.
|
|
30721
|
+
* @throws {RequiredError}
|
|
30722
|
+
* @memberof PaymentMethodsApiInterface
|
|
30723
|
+
*/
|
|
30724
|
+
updatePaymentMethodOption(businessId: number, channel: ProviderEnum, id: string, updatePaymentMethodOptionDto: UpdatePaymentMethodOptionDto, options?: AxiosRequestConfig): AxiosPromise<PaymentMethodDto>;
|
|
30725
|
+
}
|
|
30726
|
+
/**
|
|
30727
|
+
* PaymentMethodsApi - object-oriented interface
|
|
30728
|
+
* @export
|
|
30729
|
+
* @class PaymentMethodsApi
|
|
30730
|
+
* @extends {BaseAPI}
|
|
30731
|
+
*/
|
|
30732
|
+
export declare class PaymentMethodsApi extends BaseAPI implements PaymentMethodsApiInterface {
|
|
30733
|
+
/**
|
|
30734
|
+
*
|
|
30735
|
+
* @param {number} businessId
|
|
30736
|
+
* @param {ProviderEnum} channel
|
|
30737
|
+
* @param {CreatePaymentMethodDto} createPaymentMethodDto
|
|
30738
|
+
* @param {*} [options] Override http request option.
|
|
30739
|
+
* @throws {RequiredError}
|
|
30740
|
+
* @memberof PaymentMethodsApi
|
|
30741
|
+
*/
|
|
30742
|
+
createPaymentMethod(businessId: number, channel: ProviderEnum, createPaymentMethodDto: CreatePaymentMethodDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentMethodDto, any, {}>>;
|
|
30743
|
+
/**
|
|
30744
|
+
*
|
|
30745
|
+
* @param {number} businessId
|
|
30746
|
+
* @param {ProviderEnum} channel
|
|
30747
|
+
* @param {string} id
|
|
30748
|
+
* @param {*} [options] Override http request option.
|
|
30749
|
+
* @throws {RequiredError}
|
|
30750
|
+
* @memberof PaymentMethodsApi
|
|
30751
|
+
*/
|
|
30752
|
+
deletePaymentMethodOption(businessId: number, channel: ProviderEnum, id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
30753
|
+
/**
|
|
30754
|
+
*
|
|
30755
|
+
* @param {number} businessId
|
|
30756
|
+
* @param {ProviderEnum} channel
|
|
30757
|
+
* @param {any} [locale]
|
|
30758
|
+
* @param {*} [options] Override http request option.
|
|
30759
|
+
* @throws {RequiredError}
|
|
30760
|
+
* @memberof PaymentMethodsApi
|
|
30761
|
+
*/
|
|
30762
|
+
getPaymentMethods(businessId: number, channel: ProviderEnum, locale?: any, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentMethodDto[], any, {}>>;
|
|
30763
|
+
/**
|
|
30764
|
+
*
|
|
30765
|
+
* @param {number} businessId
|
|
30766
|
+
* @param {ProviderEnum} channel
|
|
30767
|
+
* @param {BulkRankDto} bulkRankDto
|
|
30768
|
+
* @param {*} [options] Override http request option.
|
|
30769
|
+
* @throws {RequiredError}
|
|
30770
|
+
* @memberof PaymentMethodsApi
|
|
30771
|
+
*/
|
|
30772
|
+
reorder(businessId: number, channel: ProviderEnum, bulkRankDto: BulkRankDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
30773
|
+
/**
|
|
30774
|
+
*
|
|
30775
|
+
* @param {number} businessId
|
|
30776
|
+
* @param {ProviderEnum} channel
|
|
30777
|
+
* @param {string} id
|
|
30778
|
+
* @param {UpdatePaymentMethodOptionDto} updatePaymentMethodOptionDto
|
|
30779
|
+
* @param {*} [options] Override http request option.
|
|
30780
|
+
* @throws {RequiredError}
|
|
30781
|
+
* @memberof PaymentMethodsApi
|
|
30782
|
+
*/
|
|
30783
|
+
updatePaymentMethodOption(businessId: number, channel: ProviderEnum, id: string, updatePaymentMethodOptionDto: UpdatePaymentMethodOptionDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentMethodDto, any, {}>>;
|
|
30784
|
+
}
|
|
30145
30785
|
/**
|
|
30146
30786
|
* PaymentSessionApi - axios parameter creator
|
|
30147
30787
|
* @export
|