flexinet-api 0.0.2223-prerelease0-dev → 0.0.2224-prerelease0-dev
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/README.md +2 -2
- package/api.ts +788 -71
- package/dist/api.d.ts +566 -10
- package/dist/api.js +318 -17
- package/dist/esm/api.d.ts +566 -10
- package/dist/esm/api.js +311 -14
- package/package.json +1 -1
package/api.ts
CHANGED
@@ -202,10 +202,54 @@ export interface BackofficeConfig {
|
|
202
202
|
'notificationPreferences'?: Array<NotificationPreference>;
|
203
203
|
/**
|
204
204
|
*
|
205
|
-
* @type {
|
205
|
+
* @type {BackofficeConfigPromotionConfig}
|
206
206
|
* @memberof BackofficeConfig
|
207
207
|
*/
|
208
|
-
'promotionConfig'?:
|
208
|
+
'promotionConfig'?: BackofficeConfigPromotionConfig;
|
209
|
+
}
|
210
|
+
/**
|
211
|
+
*
|
212
|
+
* @export
|
213
|
+
* @interface BackofficeConfigPromotionConfig
|
214
|
+
*/
|
215
|
+
export interface BackofficeConfigPromotionConfig {
|
216
|
+
/**
|
217
|
+
*
|
218
|
+
* @type {number}
|
219
|
+
* @memberof BackofficeConfigPromotionConfig
|
220
|
+
*/
|
221
|
+
'adminClaimGracePeriod'?: number;
|
222
|
+
/**
|
223
|
+
*
|
224
|
+
* @type {number}
|
225
|
+
* @memberof BackofficeConfigPromotionConfig
|
226
|
+
*/
|
227
|
+
'userClaimGracePeriod'?: number;
|
228
|
+
/**
|
229
|
+
*
|
230
|
+
* @type {number}
|
231
|
+
* @memberof BackofficeConfigPromotionConfig
|
232
|
+
*/
|
233
|
+
'refundLapsePeriod'?: number;
|
234
|
+
}
|
235
|
+
/**
|
236
|
+
*
|
237
|
+
* @export
|
238
|
+
* @interface BackofficeConfigUpdateRequest
|
239
|
+
*/
|
240
|
+
export interface BackofficeConfigUpdateRequest {
|
241
|
+
/**
|
242
|
+
*
|
243
|
+
* @type {NotificationEmailAddress}
|
244
|
+
* @memberof BackofficeConfigUpdateRequest
|
245
|
+
*/
|
246
|
+
'notificationEmailConfig'?: NotificationEmailAddress;
|
247
|
+
/**
|
248
|
+
*
|
249
|
+
* @type {Array<NotificationPreference>}
|
250
|
+
* @memberof BackofficeConfigUpdateRequest
|
251
|
+
*/
|
252
|
+
'notificationPreferences'?: Array<NotificationPreference>;
|
209
253
|
}
|
210
254
|
/**
|
211
255
|
*
|
@@ -911,6 +955,22 @@ export const Condition = {
|
|
911
955
|
export type Condition = typeof Condition[keyof typeof Condition];
|
912
956
|
|
913
957
|
|
958
|
+
/**
|
959
|
+
*
|
960
|
+
* @export
|
961
|
+
* @enum {string}
|
962
|
+
*/
|
963
|
+
|
964
|
+
export const Currency = {
|
965
|
+
Eur: 'EUR',
|
966
|
+
Huf: 'HUF',
|
967
|
+
Ron: 'RON',
|
968
|
+
Usd: 'USD'
|
969
|
+
} as const;
|
970
|
+
|
971
|
+
export type Currency = typeof Currency[keyof typeof Currency];
|
972
|
+
|
973
|
+
|
914
974
|
/**
|
915
975
|
*
|
916
976
|
* @export
|
@@ -1066,6 +1126,25 @@ export const Feature = {
|
|
1066
1126
|
export type Feature = typeof Feature[keyof typeof Feature];
|
1067
1127
|
|
1068
1128
|
|
1129
|
+
/**
|
1130
|
+
*
|
1131
|
+
* @export
|
1132
|
+
* @interface FeatureFlags
|
1133
|
+
*/
|
1134
|
+
export interface FeatureFlags {
|
1135
|
+
/**
|
1136
|
+
*
|
1137
|
+
* @type {boolean}
|
1138
|
+
* @memberof FeatureFlags
|
1139
|
+
*/
|
1140
|
+
'enforce': boolean;
|
1141
|
+
/**
|
1142
|
+
*
|
1143
|
+
* @type {{ [key: string]: boolean; }}
|
1144
|
+
* @memberof FeatureFlags
|
1145
|
+
*/
|
1146
|
+
'features': { [key: string]: boolean; };
|
1147
|
+
}
|
1069
1148
|
/**
|
1070
1149
|
*
|
1071
1150
|
* @export
|
@@ -1079,6 +1158,67 @@ export interface FeaturesResponse {
|
|
1079
1158
|
*/
|
1080
1159
|
'features': Array<Feature>;
|
1081
1160
|
}
|
1161
|
+
/**
|
1162
|
+
*
|
1163
|
+
* @export
|
1164
|
+
* @interface IntegrationsConfig
|
1165
|
+
*/
|
1166
|
+
export interface IntegrationsConfig {
|
1167
|
+
/**
|
1168
|
+
*
|
1169
|
+
* @type {string}
|
1170
|
+
* @memberof IntegrationsConfig
|
1171
|
+
*/
|
1172
|
+
'userInfoURL': string;
|
1173
|
+
/**
|
1174
|
+
*
|
1175
|
+
* @type {string}
|
1176
|
+
* @memberof IntegrationsConfig
|
1177
|
+
*/
|
1178
|
+
'productInventoryURL': string;
|
1179
|
+
/**
|
1180
|
+
*
|
1181
|
+
* @type {string}
|
1182
|
+
* @memberof IntegrationsConfig
|
1183
|
+
*/
|
1184
|
+
'orderStatusURL': string;
|
1185
|
+
/**
|
1186
|
+
*
|
1187
|
+
* @type {boolean}
|
1188
|
+
* @memberof IntegrationsConfig
|
1189
|
+
*/
|
1190
|
+
'useOrderEventsExternalID': boolean;
|
1191
|
+
/**
|
1192
|
+
*
|
1193
|
+
* @type {string}
|
1194
|
+
* @memberof IntegrationsConfig
|
1195
|
+
*/
|
1196
|
+
'smsURL': string;
|
1197
|
+
/**
|
1198
|
+
*
|
1199
|
+
* @type {string}
|
1200
|
+
* @memberof IntegrationsConfig
|
1201
|
+
*/
|
1202
|
+
'smsKey': string;
|
1203
|
+
/**
|
1204
|
+
*
|
1205
|
+
* @type {string}
|
1206
|
+
* @memberof IntegrationsConfig
|
1207
|
+
*/
|
1208
|
+
'authEndpoint': string;
|
1209
|
+
/**
|
1210
|
+
*
|
1211
|
+
* @type {string}
|
1212
|
+
* @memberof IntegrationsConfig
|
1213
|
+
*/
|
1214
|
+
'authClientID': string;
|
1215
|
+
/**
|
1216
|
+
*
|
1217
|
+
* @type {string}
|
1218
|
+
* @memberof IntegrationsConfig
|
1219
|
+
*/
|
1220
|
+
'authClientSecretName': string;
|
1221
|
+
}
|
1082
1222
|
/**
|
1083
1223
|
*
|
1084
1224
|
* @export
|
@@ -1098,6 +1238,31 @@ export interface Item {
|
|
1098
1238
|
*/
|
1099
1239
|
'product': Product;
|
1100
1240
|
}
|
1241
|
+
/**
|
1242
|
+
*
|
1243
|
+
* @export
|
1244
|
+
* @interface LedgerConfig
|
1245
|
+
*/
|
1246
|
+
export interface LedgerConfig {
|
1247
|
+
/**
|
1248
|
+
*
|
1249
|
+
* @type {number}
|
1250
|
+
* @memberof LedgerConfig
|
1251
|
+
*/
|
1252
|
+
'balanceGracePeriod'?: number;
|
1253
|
+
/**
|
1254
|
+
*
|
1255
|
+
* @type {number}
|
1256
|
+
* @memberof LedgerConfig
|
1257
|
+
*/
|
1258
|
+
'maxManagerOrderValue': number;
|
1259
|
+
/**
|
1260
|
+
*
|
1261
|
+
* @type {{ [key: string]: string; }}
|
1262
|
+
* @memberof LedgerConfig
|
1263
|
+
*/
|
1264
|
+
'expiry': { [key: string]: string; };
|
1265
|
+
}
|
1101
1266
|
/**
|
1102
1267
|
*
|
1103
1268
|
* @export
|
@@ -1395,6 +1560,49 @@ export const NotificationChannel = {
|
|
1395
1560
|
export type NotificationChannel = typeof NotificationChannel[keyof typeof NotificationChannel];
|
1396
1561
|
|
1397
1562
|
|
1563
|
+
/**
|
1564
|
+
*
|
1565
|
+
* @export
|
1566
|
+
* @interface NotificationConfig
|
1567
|
+
*/
|
1568
|
+
export interface NotificationConfig {
|
1569
|
+
/**
|
1570
|
+
*
|
1571
|
+
* @type {Array<string>}
|
1572
|
+
* @memberof NotificationConfig
|
1573
|
+
*/
|
1574
|
+
'emails': Array<string>;
|
1575
|
+
/**
|
1576
|
+
*
|
1577
|
+
* @type {Array<NotificationPreference>}
|
1578
|
+
* @memberof NotificationConfig
|
1579
|
+
*/
|
1580
|
+
'preferences'?: Array<NotificationPreference>;
|
1581
|
+
/**
|
1582
|
+
*
|
1583
|
+
* @type {{ [key: string]: NotificationTemplateConfig; }}
|
1584
|
+
* @memberof NotificationConfig
|
1585
|
+
*/
|
1586
|
+
'templates': { [key: string]: NotificationTemplateConfig; };
|
1587
|
+
/**
|
1588
|
+
*
|
1589
|
+
* @type {string}
|
1590
|
+
* @memberof NotificationConfig
|
1591
|
+
*/
|
1592
|
+
'customerWebappHostname'?: string;
|
1593
|
+
/**
|
1594
|
+
*
|
1595
|
+
* @type {string}
|
1596
|
+
* @memberof NotificationConfig
|
1597
|
+
*/
|
1598
|
+
'adminWebappHostname'?: string;
|
1599
|
+
/**
|
1600
|
+
*
|
1601
|
+
* @type {string}
|
1602
|
+
* @memberof NotificationConfig
|
1603
|
+
*/
|
1604
|
+
'templateDir'?: string;
|
1605
|
+
}
|
1398
1606
|
/**
|
1399
1607
|
*
|
1400
1608
|
* @export
|
@@ -1512,6 +1720,25 @@ export const NotificationStatus = {
|
|
1512
1720
|
export type NotificationStatus = typeof NotificationStatus[keyof typeof NotificationStatus];
|
1513
1721
|
|
1514
1722
|
|
1723
|
+
/**
|
1724
|
+
*
|
1725
|
+
* @export
|
1726
|
+
* @interface NotificationTemplateConfig
|
1727
|
+
*/
|
1728
|
+
export interface NotificationTemplateConfig {
|
1729
|
+
/**
|
1730
|
+
*
|
1731
|
+
* @type {string}
|
1732
|
+
* @memberof NotificationTemplateConfig
|
1733
|
+
*/
|
1734
|
+
'plainTextFile': string;
|
1735
|
+
/**
|
1736
|
+
*
|
1737
|
+
* @type {string}
|
1738
|
+
* @memberof NotificationTemplateConfig
|
1739
|
+
*/
|
1740
|
+
'htmlFile': string;
|
1741
|
+
}
|
1515
1742
|
/**
|
1516
1743
|
*
|
1517
1744
|
* @export
|
@@ -2702,6 +2929,24 @@ export interface PromotionConfig {
|
|
2702
2929
|
* @memberof PromotionConfig
|
2703
2930
|
*/
|
2704
2931
|
'refundLapsePeriod'?: number;
|
2932
|
+
/**
|
2933
|
+
*
|
2934
|
+
* @type {number}
|
2935
|
+
* @memberof PromotionConfig
|
2936
|
+
*/
|
2937
|
+
'customDealMinDuration'?: number;
|
2938
|
+
/**
|
2939
|
+
*
|
2940
|
+
* @type {number}
|
2941
|
+
* @memberof PromotionConfig
|
2942
|
+
*/
|
2943
|
+
'customDealMinTargetValue'?: number;
|
2944
|
+
/**
|
2945
|
+
*
|
2946
|
+
* @type {number}
|
2947
|
+
* @memberof PromotionConfig
|
2948
|
+
*/
|
2949
|
+
'customDealRefundWindow'?: number;
|
2705
2950
|
}
|
2706
2951
|
/**
|
2707
2952
|
*
|
@@ -3783,6 +4028,12 @@ export interface Tenant {
|
|
3783
4028
|
* @memberof Tenant
|
3784
4029
|
*/
|
3785
4030
|
'id': string;
|
4031
|
+
/**
|
4032
|
+
*
|
4033
|
+
* @type {string}
|
4034
|
+
* @memberof Tenant
|
4035
|
+
*/
|
4036
|
+
'name': string;
|
3786
4037
|
/**
|
3787
4038
|
*
|
3788
4039
|
* @type {string}
|
@@ -3867,105 +4118,258 @@ export interface Tenant {
|
|
3867
4118
|
* @memberof Tenant
|
3868
4119
|
*/
|
3869
4120
|
'announcement'?: string;
|
4121
|
+
/**
|
4122
|
+
*
|
4123
|
+
* @type {Currency}
|
4124
|
+
* @memberof Tenant
|
4125
|
+
*/
|
4126
|
+
'currency': Currency;
|
3870
4127
|
}
|
3871
4128
|
|
3872
4129
|
|
3873
4130
|
/**
|
3874
4131
|
*
|
3875
4132
|
* @export
|
3876
|
-
* @interface
|
4133
|
+
* @interface TenantConfing
|
3877
4134
|
*/
|
3878
|
-
export interface
|
4135
|
+
export interface TenantConfing {
|
3879
4136
|
/**
|
3880
4137
|
*
|
3881
|
-
* @type {
|
3882
|
-
* @memberof
|
4138
|
+
* @type {string}
|
4139
|
+
* @memberof TenantConfing
|
3883
4140
|
*/
|
3884
|
-
'
|
4141
|
+
'id': string;
|
3885
4142
|
/**
|
3886
4143
|
*
|
3887
|
-
* @type {
|
3888
|
-
* @memberof
|
4144
|
+
* @type {string}
|
4145
|
+
* @memberof TenantConfing
|
3889
4146
|
*/
|
3890
|
-
'
|
4147
|
+
'name': string;
|
3891
4148
|
/**
|
3892
4149
|
*
|
3893
|
-
* @type {
|
3894
|
-
* @memberof
|
4150
|
+
* @type {string}
|
4151
|
+
* @memberof TenantConfing
|
3895
4152
|
*/
|
3896
|
-
'
|
4153
|
+
'adminKeyConfig': string;
|
3897
4154
|
/**
|
3898
4155
|
*
|
3899
|
-
* @type {
|
3900
|
-
* @memberof
|
4156
|
+
* @type {string}
|
4157
|
+
* @memberof TenantConfing
|
3901
4158
|
*/
|
3902
|
-
'
|
4159
|
+
'adminIssuer': string;
|
3903
4160
|
/**
|
3904
4161
|
*
|
3905
|
-
* @type {
|
3906
|
-
* @memberof
|
4162
|
+
* @type {string}
|
4163
|
+
* @memberof TenantConfing
|
3907
4164
|
*/
|
3908
|
-
'
|
4165
|
+
'customerOpenIDKeyConfig': string;
|
3909
4166
|
/**
|
3910
4167
|
*
|
3911
4168
|
* @type {string}
|
3912
|
-
* @memberof
|
4169
|
+
* @memberof TenantConfing
|
3913
4170
|
*/
|
3914
|
-
'
|
4171
|
+
'customerOpenIDIssuer': string;
|
3915
4172
|
/**
|
3916
4173
|
*
|
3917
|
-
* @type {
|
3918
|
-
* @memberof
|
4174
|
+
* @type {string}
|
4175
|
+
* @memberof TenantConfing
|
3919
4176
|
*/
|
3920
|
-
'
|
4177
|
+
'customerOpenIDClientID': string;
|
3921
4178
|
/**
|
3922
4179
|
*
|
3923
4180
|
* @type {string}
|
3924
|
-
* @memberof
|
4181
|
+
* @memberof TenantConfing
|
3925
4182
|
*/
|
3926
|
-
'
|
3927
|
-
}
|
3928
|
-
|
3929
|
-
|
3930
|
-
/**
|
3931
|
-
*
|
3932
|
-
* @export
|
3933
|
-
* @enum {string}
|
3934
|
-
*/
|
3935
|
-
|
3936
|
-
export const TransactionCurrencyKind = {
|
3937
|
-
Points: 'points',
|
3938
|
-
CustomDealBudget: 'customDealBudget',
|
3939
|
-
SalesBudget: 'salesBudget'
|
3940
|
-
} as const;
|
3941
|
-
|
3942
|
-
export type TransactionCurrencyKind = typeof TransactionCurrencyKind[keyof typeof TransactionCurrencyKind];
|
3943
|
-
|
3944
|
-
|
3945
|
-
/**
|
3946
|
-
*
|
3947
|
-
* @export
|
3948
|
-
* @interface TransactionEventDetails
|
3949
|
-
*/
|
3950
|
-
export interface TransactionEventDetails {
|
4183
|
+
'customerOpenIDMetadataURL': string;
|
3951
4184
|
/**
|
3952
4185
|
*
|
3953
|
-
* @type {string}
|
3954
|
-
* @memberof
|
4186
|
+
* @type {{ [key: string]: string; }}
|
4187
|
+
* @memberof TenantConfing
|
3955
4188
|
*/
|
3956
|
-
'
|
4189
|
+
'customerOpenIDParameters'?: { [key: string]: string; };
|
3957
4190
|
/**
|
3958
4191
|
*
|
3959
4192
|
* @type {string}
|
3960
|
-
* @memberof
|
4193
|
+
* @memberof TenantConfing
|
3961
4194
|
*/
|
3962
|
-
'
|
4195
|
+
'ppURL': string;
|
3963
4196
|
/**
|
3964
4197
|
*
|
3965
4198
|
* @type {string}
|
3966
|
-
* @memberof
|
4199
|
+
* @memberof TenantConfing
|
3967
4200
|
*/
|
3968
|
-
'
|
4201
|
+
'tcURL': string;
|
4202
|
+
/**
|
4203
|
+
*
|
4204
|
+
* @type {string}
|
4205
|
+
* @memberof TenantConfing
|
4206
|
+
*/
|
4207
|
+
'cookiesURL'?: string;
|
4208
|
+
/**
|
4209
|
+
*
|
4210
|
+
* @type {string}
|
4211
|
+
* @memberof TenantConfing
|
4212
|
+
*/
|
4213
|
+
'azureEntraTenantID': string;
|
4214
|
+
/**
|
4215
|
+
*
|
4216
|
+
* @type {string}
|
4217
|
+
* @memberof TenantConfing
|
4218
|
+
*/
|
4219
|
+
'azureEntraClientID': string;
|
4220
|
+
/**
|
4221
|
+
*
|
4222
|
+
* @type {Locale}
|
4223
|
+
* @memberof TenantConfing
|
4224
|
+
*/
|
4225
|
+
'locale': Locale;
|
4226
|
+
/**
|
4227
|
+
*
|
4228
|
+
* @type {string}
|
4229
|
+
* @memberof TenantConfing
|
4230
|
+
*/
|
4231
|
+
'announcement'?: string;
|
4232
|
+
/**
|
4233
|
+
*
|
4234
|
+
* @type {Currency}
|
4235
|
+
* @memberof TenantConfing
|
4236
|
+
*/
|
4237
|
+
'currency': Currency;
|
4238
|
+
/**
|
4239
|
+
*
|
4240
|
+
* @type {boolean}
|
4241
|
+
* @memberof TenantConfing
|
4242
|
+
*/
|
4243
|
+
'customDealAutoClaim': boolean;
|
4244
|
+
/**
|
4245
|
+
*
|
4246
|
+
* @type {LedgerConfig}
|
4247
|
+
* @memberof TenantConfing
|
4248
|
+
*/
|
4249
|
+
'ledger': LedgerConfig;
|
4250
|
+
/**
|
4251
|
+
*
|
4252
|
+
* @type {PromotionConfig}
|
4253
|
+
* @memberof TenantConfing
|
4254
|
+
*/
|
4255
|
+
'promotion': PromotionConfig;
|
4256
|
+
/**
|
4257
|
+
*
|
4258
|
+
* @type {FeatureFlags}
|
4259
|
+
* @memberof TenantConfing
|
4260
|
+
*/
|
4261
|
+
'featureFlags': FeatureFlags;
|
4262
|
+
/**
|
4263
|
+
*
|
4264
|
+
* @type {NotificationConfig}
|
4265
|
+
* @memberof TenantConfing
|
4266
|
+
*/
|
4267
|
+
'notifications': NotificationConfig;
|
4268
|
+
/**
|
4269
|
+
*
|
4270
|
+
* @type {IntegrationsConfig}
|
4271
|
+
* @memberof TenantConfing
|
4272
|
+
*/
|
4273
|
+
'integrations': IntegrationsConfig;
|
4274
|
+
}
|
4275
|
+
|
4276
|
+
|
4277
|
+
/**
|
4278
|
+
*
|
4279
|
+
* @export
|
4280
|
+
* @interface Transaction
|
4281
|
+
*/
|
4282
|
+
export interface Transaction {
|
4283
|
+
/**
|
4284
|
+
*
|
4285
|
+
* @type {TransactionKind}
|
4286
|
+
* @memberof Transaction
|
4287
|
+
*/
|
4288
|
+
'kind': TransactionKind;
|
4289
|
+
/**
|
4290
|
+
*
|
4291
|
+
* @type {TransactionSource}
|
4292
|
+
* @memberof Transaction
|
4293
|
+
*/
|
4294
|
+
'source': TransactionSource;
|
4295
|
+
/**
|
4296
|
+
*
|
4297
|
+
* @type {TransactionSourceReference}
|
4298
|
+
* @memberof Transaction
|
4299
|
+
*/
|
4300
|
+
'sourceReference'?: TransactionSourceReference;
|
4301
|
+
/**
|
4302
|
+
*
|
4303
|
+
* @type {number}
|
4304
|
+
* @memberof Transaction
|
4305
|
+
*/
|
4306
|
+
'amount': number;
|
4307
|
+
/**
|
4308
|
+
*
|
4309
|
+
* @type {Beneficiary}
|
4310
|
+
* @memberof Transaction
|
4311
|
+
*/
|
4312
|
+
'beneficiary': Beneficiary;
|
4313
|
+
/**
|
4314
|
+
*
|
4315
|
+
* @type {string}
|
4316
|
+
* @memberof Transaction
|
4317
|
+
*/
|
4318
|
+
'createdAt': string;
|
4319
|
+
/**
|
4320
|
+
*
|
4321
|
+
* @type {TransactionCurrencyKind}
|
4322
|
+
* @memberof Transaction
|
4323
|
+
*/
|
4324
|
+
'currency': TransactionCurrencyKind;
|
4325
|
+
/**
|
4326
|
+
*
|
4327
|
+
* @type {string}
|
4328
|
+
* @memberof Transaction
|
4329
|
+
*/
|
4330
|
+
'description'?: string;
|
4331
|
+
}
|
4332
|
+
|
4333
|
+
|
4334
|
+
/**
|
4335
|
+
*
|
4336
|
+
* @export
|
4337
|
+
* @enum {string}
|
4338
|
+
*/
|
4339
|
+
|
4340
|
+
export const TransactionCurrencyKind = {
|
4341
|
+
Points: 'points',
|
4342
|
+
CustomDealBudget: 'customDealBudget',
|
4343
|
+
SalesBudget: 'salesBudget'
|
4344
|
+
} as const;
|
4345
|
+
|
4346
|
+
export type TransactionCurrencyKind = typeof TransactionCurrencyKind[keyof typeof TransactionCurrencyKind];
|
4347
|
+
|
4348
|
+
|
4349
|
+
/**
|
4350
|
+
*
|
4351
|
+
* @export
|
4352
|
+
* @interface TransactionEventDetails
|
4353
|
+
*/
|
4354
|
+
export interface TransactionEventDetails {
|
4355
|
+
/**
|
4356
|
+
*
|
4357
|
+
* @type {string}
|
4358
|
+
* @memberof TransactionEventDetails
|
4359
|
+
*/
|
4360
|
+
'clientRef': string;
|
4361
|
+
/**
|
4362
|
+
*
|
4363
|
+
* @type {string}
|
4364
|
+
* @memberof TransactionEventDetails
|
4365
|
+
*/
|
4366
|
+
'userRef'?: string;
|
4367
|
+
/**
|
4368
|
+
*
|
4369
|
+
* @type {string}
|
4370
|
+
* @memberof TransactionEventDetails
|
4371
|
+
*/
|
4372
|
+
'reference': string;
|
3969
4373
|
/**
|
3970
4374
|
*
|
3971
4375
|
* @type {TransactionEventKind}
|
@@ -6270,13 +6674,13 @@ export const ConfigurationsApiAxiosParamCreator = function (configuration?: Conf
|
|
6270
6674
|
/**
|
6271
6675
|
* Create or update backoffice configuration for the current tenant
|
6272
6676
|
* @summary Create configuration
|
6273
|
-
* @param {
|
6677
|
+
* @param {BackofficeConfigUpdateRequest} backofficeConfigUpdateRequest Configuration data
|
6274
6678
|
* @param {*} [options] Override http request option.
|
6275
6679
|
* @throws {RequiredError}
|
6276
6680
|
*/
|
6277
|
-
createConfiguration: async (
|
6278
|
-
// verify required parameter '
|
6279
|
-
assertParamExists('createConfiguration', '
|
6681
|
+
createConfiguration: async (backofficeConfigUpdateRequest: BackofficeConfigUpdateRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
6682
|
+
// verify required parameter 'backofficeConfigUpdateRequest' is not null or undefined
|
6683
|
+
assertParamExists('createConfiguration', 'backofficeConfigUpdateRequest', backofficeConfigUpdateRequest)
|
6280
6684
|
const localVarPath = `/admins/configurations`;
|
6281
6685
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
6282
6686
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
@@ -6300,7 +6704,47 @@ export const ConfigurationsApiAxiosParamCreator = function (configuration?: Conf
|
|
6300
6704
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
6301
6705
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
6302
6706
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
6303
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
6707
|
+
localVarRequestOptions.data = serializeDataIfNeeded(backofficeConfigUpdateRequest, localVarRequestOptions, configuration)
|
6708
|
+
|
6709
|
+
return {
|
6710
|
+
url: toPathString(localVarUrlObj),
|
6711
|
+
options: localVarRequestOptions,
|
6712
|
+
};
|
6713
|
+
},
|
6714
|
+
/**
|
6715
|
+
* Create or update backoffice configuration for the current tenant
|
6716
|
+
* @summary Create configuration
|
6717
|
+
* @param {TenantConfing} tenantConfing Configuration data
|
6718
|
+
* @param {*} [options] Override http request option.
|
6719
|
+
* @throws {RequiredError}
|
6720
|
+
*/
|
6721
|
+
createV2Configuration: async (tenantConfing: TenantConfing, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
6722
|
+
// verify required parameter 'tenantConfing' is not null or undefined
|
6723
|
+
assertParamExists('createV2Configuration', 'tenantConfing', tenantConfing)
|
6724
|
+
const localVarPath = `/v2/admins/configurations`;
|
6725
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
6726
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
6727
|
+
let baseOptions;
|
6728
|
+
if (configuration) {
|
6729
|
+
baseOptions = configuration.baseOptions;
|
6730
|
+
}
|
6731
|
+
|
6732
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
6733
|
+
const localVarHeaderParameter = {} as any;
|
6734
|
+
const localVarQueryParameter = {} as any;
|
6735
|
+
|
6736
|
+
// authentication systemJWT required
|
6737
|
+
// http bearer authentication required
|
6738
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
6739
|
+
|
6740
|
+
|
6741
|
+
|
6742
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
6743
|
+
|
6744
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
6745
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
6746
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
6747
|
+
localVarRequestOptions.data = serializeDataIfNeeded(tenantConfing, localVarRequestOptions, configuration)
|
6304
6748
|
|
6305
6749
|
return {
|
6306
6750
|
url: toPathString(localVarUrlObj),
|
@@ -6437,6 +6881,40 @@ export const ConfigurationsApiAxiosParamCreator = function (configuration?: Conf
|
|
6437
6881
|
|
6438
6882
|
|
6439
6883
|
|
6884
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
6885
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
6886
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
6887
|
+
|
6888
|
+
return {
|
6889
|
+
url: toPathString(localVarUrlObj),
|
6890
|
+
options: localVarRequestOptions,
|
6891
|
+
};
|
6892
|
+
},
|
6893
|
+
/**
|
6894
|
+
* List backoffice configurations for the current tenant
|
6895
|
+
* @summary List configurations
|
6896
|
+
* @param {*} [options] Override http request option.
|
6897
|
+
* @throws {RequiredError}
|
6898
|
+
*/
|
6899
|
+
listV2Configurations: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
6900
|
+
const localVarPath = `/v2/admins/configurations`;
|
6901
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
6902
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
6903
|
+
let baseOptions;
|
6904
|
+
if (configuration) {
|
6905
|
+
baseOptions = configuration.baseOptions;
|
6906
|
+
}
|
6907
|
+
|
6908
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
6909
|
+
const localVarHeaderParameter = {} as any;
|
6910
|
+
const localVarQueryParameter = {} as any;
|
6911
|
+
|
6912
|
+
// authentication systemJWT required
|
6913
|
+
// http bearer authentication required
|
6914
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
6915
|
+
|
6916
|
+
|
6917
|
+
|
6440
6918
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
6441
6919
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
6442
6920
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
@@ -6459,12 +6937,23 @@ export const ConfigurationsApiFp = function(configuration?: Configuration) {
|
|
6459
6937
|
/**
|
6460
6938
|
* Create or update backoffice configuration for the current tenant
|
6461
6939
|
* @summary Create configuration
|
6462
|
-
* @param {
|
6940
|
+
* @param {BackofficeConfigUpdateRequest} backofficeConfigUpdateRequest Configuration data
|
6941
|
+
* @param {*} [options] Override http request option.
|
6942
|
+
* @throws {RequiredError}
|
6943
|
+
*/
|
6944
|
+
async createConfiguration(backofficeConfigUpdateRequest: BackofficeConfigUpdateRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
6945
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createConfiguration(backofficeConfigUpdateRequest, options);
|
6946
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
6947
|
+
},
|
6948
|
+
/**
|
6949
|
+
* Create or update backoffice configuration for the current tenant
|
6950
|
+
* @summary Create configuration
|
6951
|
+
* @param {TenantConfing} tenantConfing Configuration data
|
6463
6952
|
* @param {*} [options] Override http request option.
|
6464
6953
|
* @throws {RequiredError}
|
6465
6954
|
*/
|
6466
|
-
async
|
6467
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
6955
|
+
async createV2Configuration(tenantConfing: TenantConfing, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
6956
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createV2Configuration(tenantConfing, options);
|
6468
6957
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
6469
6958
|
},
|
6470
6959
|
/**
|
@@ -6508,6 +6997,16 @@ export const ConfigurationsApiFp = function(configuration?: Configuration) {
|
|
6508
6997
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listUserFeatures(options);
|
6509
6998
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
6510
6999
|
},
|
7000
|
+
/**
|
7001
|
+
* List backoffice configurations for the current tenant
|
7002
|
+
* @summary List configurations
|
7003
|
+
* @param {*} [options] Override http request option.
|
7004
|
+
* @throws {RequiredError}
|
7005
|
+
*/
|
7006
|
+
async listV2Configurations(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TenantConfing>> {
|
7007
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listV2Configurations(options);
|
7008
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
7009
|
+
},
|
6511
7010
|
}
|
6512
7011
|
};
|
6513
7012
|
|
@@ -6521,12 +7020,22 @@ export const ConfigurationsApiFactory = function (configuration?: Configuration,
|
|
6521
7020
|
/**
|
6522
7021
|
* Create or update backoffice configuration for the current tenant
|
6523
7022
|
* @summary Create configuration
|
6524
|
-
* @param {
|
7023
|
+
* @param {BackofficeConfigUpdateRequest} backofficeConfigUpdateRequest Configuration data
|
7024
|
+
* @param {*} [options] Override http request option.
|
7025
|
+
* @throws {RequiredError}
|
7026
|
+
*/
|
7027
|
+
createConfiguration(backofficeConfigUpdateRequest: BackofficeConfigUpdateRequest, options?: any): AxiosPromise<void> {
|
7028
|
+
return localVarFp.createConfiguration(backofficeConfigUpdateRequest, options).then((request) => request(axios, basePath));
|
7029
|
+
},
|
7030
|
+
/**
|
7031
|
+
* Create or update backoffice configuration for the current tenant
|
7032
|
+
* @summary Create configuration
|
7033
|
+
* @param {TenantConfing} tenantConfing Configuration data
|
6525
7034
|
* @param {*} [options] Override http request option.
|
6526
7035
|
* @throws {RequiredError}
|
6527
7036
|
*/
|
6528
|
-
|
6529
|
-
return localVarFp.
|
7037
|
+
createV2Configuration(tenantConfing: TenantConfing, options?: any): AxiosPromise<void> {
|
7038
|
+
return localVarFp.createV2Configuration(tenantConfing, options).then((request) => request(axios, basePath));
|
6530
7039
|
},
|
6531
7040
|
/**
|
6532
7041
|
* List backoffice configurations for the current tenant
|
@@ -6565,6 +7074,15 @@ export const ConfigurationsApiFactory = function (configuration?: Configuration,
|
|
6565
7074
|
listUserFeatures(options?: any): AxiosPromise<FeaturesResponse> {
|
6566
7075
|
return localVarFp.listUserFeatures(options).then((request) => request(axios, basePath));
|
6567
7076
|
},
|
7077
|
+
/**
|
7078
|
+
* List backoffice configurations for the current tenant
|
7079
|
+
* @summary List configurations
|
7080
|
+
* @param {*} [options] Override http request option.
|
7081
|
+
* @throws {RequiredError}
|
7082
|
+
*/
|
7083
|
+
listV2Configurations(options?: any): AxiosPromise<TenantConfing> {
|
7084
|
+
return localVarFp.listV2Configurations(options).then((request) => request(axios, basePath));
|
7085
|
+
},
|
6568
7086
|
};
|
6569
7087
|
};
|
6570
7088
|
|
@@ -6578,13 +7096,25 @@ export class ConfigurationsApi extends BaseAPI {
|
|
6578
7096
|
/**
|
6579
7097
|
* Create or update backoffice configuration for the current tenant
|
6580
7098
|
* @summary Create configuration
|
6581
|
-
* @param {
|
7099
|
+
* @param {BackofficeConfigUpdateRequest} backofficeConfigUpdateRequest Configuration data
|
7100
|
+
* @param {*} [options] Override http request option.
|
7101
|
+
* @throws {RequiredError}
|
7102
|
+
* @memberof ConfigurationsApi
|
7103
|
+
*/
|
7104
|
+
public createConfiguration(backofficeConfigUpdateRequest: BackofficeConfigUpdateRequest, options?: AxiosRequestConfig) {
|
7105
|
+
return ConfigurationsApiFp(this.configuration).createConfiguration(backofficeConfigUpdateRequest, options).then((request) => request(this.axios, this.basePath));
|
7106
|
+
}
|
7107
|
+
|
7108
|
+
/**
|
7109
|
+
* Create or update backoffice configuration for the current tenant
|
7110
|
+
* @summary Create configuration
|
7111
|
+
* @param {TenantConfing} tenantConfing Configuration data
|
6582
7112
|
* @param {*} [options] Override http request option.
|
6583
7113
|
* @throws {RequiredError}
|
6584
7114
|
* @memberof ConfigurationsApi
|
6585
7115
|
*/
|
6586
|
-
public
|
6587
|
-
return ConfigurationsApiFp(this.configuration).
|
7116
|
+
public createV2Configuration(tenantConfing: TenantConfing, options?: AxiosRequestConfig) {
|
7117
|
+
return ConfigurationsApiFp(this.configuration).createV2Configuration(tenantConfing, options).then((request) => request(this.axios, this.basePath));
|
6588
7118
|
}
|
6589
7119
|
|
6590
7120
|
/**
|
@@ -6631,6 +7161,17 @@ export class ConfigurationsApi extends BaseAPI {
|
|
6631
7161
|
public listUserFeatures(options?: AxiosRequestConfig) {
|
6632
7162
|
return ConfigurationsApiFp(this.configuration).listUserFeatures(options).then((request) => request(this.axios, this.basePath));
|
6633
7163
|
}
|
7164
|
+
|
7165
|
+
/**
|
7166
|
+
* List backoffice configurations for the current tenant
|
7167
|
+
* @summary List configurations
|
7168
|
+
* @param {*} [options] Override http request option.
|
7169
|
+
* @throws {RequiredError}
|
7170
|
+
* @memberof ConfigurationsApi
|
7171
|
+
*/
|
7172
|
+
public listV2Configurations(options?: AxiosRequestConfig) {
|
7173
|
+
return ConfigurationsApiFp(this.configuration).listV2Configurations(options).then((request) => request(this.axios, this.basePath));
|
7174
|
+
}
|
6634
7175
|
}
|
6635
7176
|
|
6636
7177
|
|
@@ -7353,6 +7894,182 @@ export class IntegrationsApi extends BaseAPI {
|
|
7353
7894
|
|
7354
7895
|
|
7355
7896
|
|
7897
|
+
/**
|
7898
|
+
* NotificationApi - axios parameter creator
|
7899
|
+
* @export
|
7900
|
+
*/
|
7901
|
+
export const NotificationApiAxiosParamCreator = function (configuration?: Configuration) {
|
7902
|
+
return {
|
7903
|
+
/**
|
7904
|
+
* Get preferences for the authenticated user
|
7905
|
+
* @summary Get preferences
|
7906
|
+
* @param {*} [options] Override http request option.
|
7907
|
+
* @throws {RequiredError}
|
7908
|
+
*/
|
7909
|
+
getSystemPreferences: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
7910
|
+
const localVarPath = `/admins/preferences/system`;
|
7911
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
7912
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
7913
|
+
let baseOptions;
|
7914
|
+
if (configuration) {
|
7915
|
+
baseOptions = configuration.baseOptions;
|
7916
|
+
}
|
7917
|
+
|
7918
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
7919
|
+
const localVarHeaderParameter = {} as any;
|
7920
|
+
const localVarQueryParameter = {} as any;
|
7921
|
+
|
7922
|
+
// authentication customerJWT required
|
7923
|
+
// http bearer authentication required
|
7924
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
7925
|
+
|
7926
|
+
|
7927
|
+
|
7928
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
7929
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
7930
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
7931
|
+
|
7932
|
+
return {
|
7933
|
+
url: toPathString(localVarUrlObj),
|
7934
|
+
options: localVarRequestOptions,
|
7935
|
+
};
|
7936
|
+
},
|
7937
|
+
/**
|
7938
|
+
* Update preferences for the authenticated user
|
7939
|
+
* @summary Update preferences
|
7940
|
+
* @param {Array<NotificationPreference>} notificationPreference notification preferences
|
7941
|
+
* @param {*} [options] Override http request option.
|
7942
|
+
* @throws {RequiredError}
|
7943
|
+
*/
|
7944
|
+
updateSystemPreferences: async (notificationPreference: Array<NotificationPreference>, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
7945
|
+
// verify required parameter 'notificationPreference' is not null or undefined
|
7946
|
+
assertParamExists('updateSystemPreferences', 'notificationPreference', notificationPreference)
|
7947
|
+
const localVarPath = `/admins/preferences/system`;
|
7948
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
7949
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
7950
|
+
let baseOptions;
|
7951
|
+
if (configuration) {
|
7952
|
+
baseOptions = configuration.baseOptions;
|
7953
|
+
}
|
7954
|
+
|
7955
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
7956
|
+
const localVarHeaderParameter = {} as any;
|
7957
|
+
const localVarQueryParameter = {} as any;
|
7958
|
+
|
7959
|
+
// authentication customerJWT required
|
7960
|
+
// http bearer authentication required
|
7961
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
7962
|
+
|
7963
|
+
|
7964
|
+
|
7965
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
7966
|
+
|
7967
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
7968
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
7969
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
7970
|
+
localVarRequestOptions.data = serializeDataIfNeeded(notificationPreference, localVarRequestOptions, configuration)
|
7971
|
+
|
7972
|
+
return {
|
7973
|
+
url: toPathString(localVarUrlObj),
|
7974
|
+
options: localVarRequestOptions,
|
7975
|
+
};
|
7976
|
+
},
|
7977
|
+
}
|
7978
|
+
};
|
7979
|
+
|
7980
|
+
/**
|
7981
|
+
* NotificationApi - functional programming interface
|
7982
|
+
* @export
|
7983
|
+
*/
|
7984
|
+
export const NotificationApiFp = function(configuration?: Configuration) {
|
7985
|
+
const localVarAxiosParamCreator = NotificationApiAxiosParamCreator(configuration)
|
7986
|
+
return {
|
7987
|
+
/**
|
7988
|
+
* Get preferences for the authenticated user
|
7989
|
+
* @summary Get preferences
|
7990
|
+
* @param {*} [options] Override http request option.
|
7991
|
+
* @throws {RequiredError}
|
7992
|
+
*/
|
7993
|
+
async getSystemPreferences(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<NotificationPreference>>> {
|
7994
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSystemPreferences(options);
|
7995
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
7996
|
+
},
|
7997
|
+
/**
|
7998
|
+
* Update preferences for the authenticated user
|
7999
|
+
* @summary Update preferences
|
8000
|
+
* @param {Array<NotificationPreference>} notificationPreference notification preferences
|
8001
|
+
* @param {*} [options] Override http request option.
|
8002
|
+
* @throws {RequiredError}
|
8003
|
+
*/
|
8004
|
+
async updateSystemPreferences(notificationPreference: Array<NotificationPreference>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
8005
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateSystemPreferences(notificationPreference, options);
|
8006
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
8007
|
+
},
|
8008
|
+
}
|
8009
|
+
};
|
8010
|
+
|
8011
|
+
/**
|
8012
|
+
* NotificationApi - factory interface
|
8013
|
+
* @export
|
8014
|
+
*/
|
8015
|
+
export const NotificationApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
8016
|
+
const localVarFp = NotificationApiFp(configuration)
|
8017
|
+
return {
|
8018
|
+
/**
|
8019
|
+
* Get preferences for the authenticated user
|
8020
|
+
* @summary Get preferences
|
8021
|
+
* @param {*} [options] Override http request option.
|
8022
|
+
* @throws {RequiredError}
|
8023
|
+
*/
|
8024
|
+
getSystemPreferences(options?: any): AxiosPromise<Array<NotificationPreference>> {
|
8025
|
+
return localVarFp.getSystemPreferences(options).then((request) => request(axios, basePath));
|
8026
|
+
},
|
8027
|
+
/**
|
8028
|
+
* Update preferences for the authenticated user
|
8029
|
+
* @summary Update preferences
|
8030
|
+
* @param {Array<NotificationPreference>} notificationPreference notification preferences
|
8031
|
+
* @param {*} [options] Override http request option.
|
8032
|
+
* @throws {RequiredError}
|
8033
|
+
*/
|
8034
|
+
updateSystemPreferences(notificationPreference: Array<NotificationPreference>, options?: any): AxiosPromise<void> {
|
8035
|
+
return localVarFp.updateSystemPreferences(notificationPreference, options).then((request) => request(axios, basePath));
|
8036
|
+
},
|
8037
|
+
};
|
8038
|
+
};
|
8039
|
+
|
8040
|
+
/**
|
8041
|
+
* NotificationApi - object-oriented interface
|
8042
|
+
* @export
|
8043
|
+
* @class NotificationApi
|
8044
|
+
* @extends {BaseAPI}
|
8045
|
+
*/
|
8046
|
+
export class NotificationApi extends BaseAPI {
|
8047
|
+
/**
|
8048
|
+
* Get preferences for the authenticated user
|
8049
|
+
* @summary Get preferences
|
8050
|
+
* @param {*} [options] Override http request option.
|
8051
|
+
* @throws {RequiredError}
|
8052
|
+
* @memberof NotificationApi
|
8053
|
+
*/
|
8054
|
+
public getSystemPreferences(options?: AxiosRequestConfig) {
|
8055
|
+
return NotificationApiFp(this.configuration).getSystemPreferences(options).then((request) => request(this.axios, this.basePath));
|
8056
|
+
}
|
8057
|
+
|
8058
|
+
/**
|
8059
|
+
* Update preferences for the authenticated user
|
8060
|
+
* @summary Update preferences
|
8061
|
+
* @param {Array<NotificationPreference>} notificationPreference notification preferences
|
8062
|
+
* @param {*} [options] Override http request option.
|
8063
|
+
* @throws {RequiredError}
|
8064
|
+
* @memberof NotificationApi
|
8065
|
+
*/
|
8066
|
+
public updateSystemPreferences(notificationPreference: Array<NotificationPreference>, options?: AxiosRequestConfig) {
|
8067
|
+
return NotificationApiFp(this.configuration).updateSystemPreferences(notificationPreference, options).then((request) => request(this.axios, this.basePath));
|
8068
|
+
}
|
8069
|
+
}
|
8070
|
+
|
8071
|
+
|
8072
|
+
|
7356
8073
|
/**
|
7357
8074
|
* NotificationsApi - axios parameter creator
|
7358
8075
|
* @export
|