flexinet-api 0.0.2239-prerelease0-dev → 0.0.2242-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 +146 -0
- package/dist/api.d.ts +148 -0
- package/dist/esm/api.d.ts +148 -0
- package/package.json +1 -1
package/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
## flexinet-api@0.0.
|
1
|
+
## flexinet-api@0.0.2242-prerelease0-dev
|
2
2
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
4
4
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
36
36
|
_published:_
|
37
37
|
|
38
38
|
```
|
39
|
-
npm install flexinet-api@0.0.
|
39
|
+
npm install flexinet-api@0.0.2242-prerelease0-dev --save
|
40
40
|
```
|
41
41
|
|
42
42
|
_unPublished (not recommended):_
|
package/api.ts
CHANGED
@@ -182,6 +182,91 @@ export const AuditLogObjectType = {
|
|
182
182
|
export type AuditLogObjectType = typeof AuditLogObjectType[keyof typeof AuditLogObjectType];
|
183
183
|
|
184
184
|
|
185
|
+
/**
|
186
|
+
*
|
187
|
+
* @export
|
188
|
+
* @interface AuthorizationConfig
|
189
|
+
*/
|
190
|
+
export interface AuthorizationConfig {
|
191
|
+
/**
|
192
|
+
*
|
193
|
+
* @type {string}
|
194
|
+
* @memberof AuthorizationConfig
|
195
|
+
*/
|
196
|
+
'adminKeyConfig': string;
|
197
|
+
/**
|
198
|
+
*
|
199
|
+
* @type {string}
|
200
|
+
* @memberof AuthorizationConfig
|
201
|
+
*/
|
202
|
+
'adminIssuer': string;
|
203
|
+
/**
|
204
|
+
*
|
205
|
+
* @type {string}
|
206
|
+
* @memberof AuthorizationConfig
|
207
|
+
*/
|
208
|
+
'adminAudience': string;
|
209
|
+
/**
|
210
|
+
*
|
211
|
+
* @type {string}
|
212
|
+
* @memberof AuthorizationConfig
|
213
|
+
*/
|
214
|
+
'customerAudience': string;
|
215
|
+
/**
|
216
|
+
*
|
217
|
+
* @type {string}
|
218
|
+
* @memberof AuthorizationConfig
|
219
|
+
*/
|
220
|
+
'customerOpenIDKeyConfig': string;
|
221
|
+
/**
|
222
|
+
*
|
223
|
+
* @type {string}
|
224
|
+
* @memberof AuthorizationConfig
|
225
|
+
*/
|
226
|
+
'customerOpenIDIssuer': string;
|
227
|
+
/**
|
228
|
+
*
|
229
|
+
* @type {string}
|
230
|
+
* @memberof AuthorizationConfig
|
231
|
+
*/
|
232
|
+
'customerOpenIDClientID': string;
|
233
|
+
/**
|
234
|
+
*
|
235
|
+
* @type {string}
|
236
|
+
* @memberof AuthorizationConfig
|
237
|
+
*/
|
238
|
+
'customerOpenIDSecret': string;
|
239
|
+
/**
|
240
|
+
*
|
241
|
+
* @type {string}
|
242
|
+
* @memberof AuthorizationConfig
|
243
|
+
*/
|
244
|
+
'customerOpenIDMetadataURL': string;
|
245
|
+
/**
|
246
|
+
*
|
247
|
+
* @type {{ [key: string]: string; }}
|
248
|
+
* @memberof AuthorizationConfig
|
249
|
+
*/
|
250
|
+
'customerOpenIDParameters': { [key: string]: string; };
|
251
|
+
/**
|
252
|
+
*
|
253
|
+
* @type {string}
|
254
|
+
* @memberof AuthorizationConfig
|
255
|
+
*/
|
256
|
+
'azureEntraTenantID': string;
|
257
|
+
/**
|
258
|
+
*
|
259
|
+
* @type {string}
|
260
|
+
* @memberof AuthorizationConfig
|
261
|
+
*/
|
262
|
+
'azureEntraClientID': string;
|
263
|
+
/**
|
264
|
+
*
|
265
|
+
* @type {string}
|
266
|
+
* @memberof AuthorizationConfig
|
267
|
+
*/
|
268
|
+
'customerLoginUrl': string;
|
269
|
+
}
|
185
270
|
/**
|
186
271
|
*
|
187
272
|
* @export
|
@@ -584,6 +669,37 @@ export interface BonusValue {
|
|
584
669
|
}
|
585
670
|
|
586
671
|
|
672
|
+
/**
|
673
|
+
*
|
674
|
+
* @export
|
675
|
+
* @interface BrandingConfig
|
676
|
+
*/
|
677
|
+
export interface BrandingConfig {
|
678
|
+
/**
|
679
|
+
*
|
680
|
+
* @type {string}
|
681
|
+
* @memberof BrandingConfig
|
682
|
+
*/
|
683
|
+
'logoURL': string;
|
684
|
+
/**
|
685
|
+
*
|
686
|
+
* @type {string}
|
687
|
+
* @memberof BrandingConfig
|
688
|
+
*/
|
689
|
+
'mainColor': string;
|
690
|
+
/**
|
691
|
+
*
|
692
|
+
* @type {string}
|
693
|
+
* @memberof BrandingConfig
|
694
|
+
*/
|
695
|
+
'coinName': string;
|
696
|
+
/**
|
697
|
+
*
|
698
|
+
* @type {string}
|
699
|
+
* @memberof BrandingConfig
|
700
|
+
*/
|
701
|
+
'coinLogoURL': string;
|
702
|
+
}
|
587
703
|
/**
|
588
704
|
*
|
589
705
|
* @export
|
@@ -1218,6 +1334,12 @@ export interface IntegrationsConfig {
|
|
1218
1334
|
* @memberof IntegrationsConfig
|
1219
1335
|
*/
|
1220
1336
|
'authClientSecretName': string;
|
1337
|
+
/**
|
1338
|
+
*
|
1339
|
+
* @type {boolean}
|
1340
|
+
* @memberof IntegrationsConfig
|
1341
|
+
*/
|
1342
|
+
'externalUserServiceEnabled': boolean;
|
1221
1343
|
}
|
1222
1344
|
/**
|
1223
1345
|
*
|
@@ -1256,6 +1378,12 @@ export interface LedgerConfig {
|
|
1256
1378
|
* @memberof LedgerConfig
|
1257
1379
|
*/
|
1258
1380
|
'maxManagerOrderValue': number;
|
1381
|
+
/**
|
1382
|
+
*
|
1383
|
+
* @type {boolean}
|
1384
|
+
* @memberof LedgerConfig
|
1385
|
+
*/
|
1386
|
+
'allowNegativeBalance': boolean;
|
1259
1387
|
/**
|
1260
1388
|
*
|
1261
1389
|
* @type {{ [key: string]: string; }}
|
@@ -2947,6 +3075,12 @@ export interface PromotionConfig {
|
|
2947
3075
|
* @memberof PromotionConfig
|
2948
3076
|
*/
|
2949
3077
|
'customDealRefundWindow'?: number;
|
3078
|
+
/**
|
3079
|
+
*
|
3080
|
+
* @type {boolean}
|
3081
|
+
* @memberof PromotionConfig
|
3082
|
+
*/
|
3083
|
+
'allowRunningPromotionsUpdate': boolean;
|
2950
3084
|
}
|
2951
3085
|
/**
|
2952
3086
|
*
|
@@ -4271,6 +4405,18 @@ export interface TenantConfing {
|
|
4271
4405
|
* @memberof TenantConfing
|
4272
4406
|
*/
|
4273
4407
|
'integrations': IntegrationsConfig;
|
4408
|
+
/**
|
4409
|
+
*
|
4410
|
+
* @type {BrandingConfig}
|
4411
|
+
* @memberof TenantConfing
|
4412
|
+
*/
|
4413
|
+
'branding': BrandingConfig;
|
4414
|
+
/**
|
4415
|
+
*
|
4416
|
+
* @type {AuthorizationConfig}
|
4417
|
+
* @memberof TenantConfing
|
4418
|
+
*/
|
4419
|
+
'auth': AuthorizationConfig;
|
4274
4420
|
}
|
4275
4421
|
|
4276
4422
|
|
package/dist/api.d.ts
CHANGED
@@ -157,6 +157,93 @@ export declare const AuditLogObjectType: {
|
|
157
157
|
readonly ApiKey: "api_key";
|
158
158
|
};
|
159
159
|
export type AuditLogObjectType = typeof AuditLogObjectType[keyof typeof AuditLogObjectType];
|
160
|
+
/**
|
161
|
+
*
|
162
|
+
* @export
|
163
|
+
* @interface AuthorizationConfig
|
164
|
+
*/
|
165
|
+
export interface AuthorizationConfig {
|
166
|
+
/**
|
167
|
+
*
|
168
|
+
* @type {string}
|
169
|
+
* @memberof AuthorizationConfig
|
170
|
+
*/
|
171
|
+
'adminKeyConfig': string;
|
172
|
+
/**
|
173
|
+
*
|
174
|
+
* @type {string}
|
175
|
+
* @memberof AuthorizationConfig
|
176
|
+
*/
|
177
|
+
'adminIssuer': string;
|
178
|
+
/**
|
179
|
+
*
|
180
|
+
* @type {string}
|
181
|
+
* @memberof AuthorizationConfig
|
182
|
+
*/
|
183
|
+
'adminAudience': string;
|
184
|
+
/**
|
185
|
+
*
|
186
|
+
* @type {string}
|
187
|
+
* @memberof AuthorizationConfig
|
188
|
+
*/
|
189
|
+
'customerAudience': string;
|
190
|
+
/**
|
191
|
+
*
|
192
|
+
* @type {string}
|
193
|
+
* @memberof AuthorizationConfig
|
194
|
+
*/
|
195
|
+
'customerOpenIDKeyConfig': string;
|
196
|
+
/**
|
197
|
+
*
|
198
|
+
* @type {string}
|
199
|
+
* @memberof AuthorizationConfig
|
200
|
+
*/
|
201
|
+
'customerOpenIDIssuer': string;
|
202
|
+
/**
|
203
|
+
*
|
204
|
+
* @type {string}
|
205
|
+
* @memberof AuthorizationConfig
|
206
|
+
*/
|
207
|
+
'customerOpenIDClientID': string;
|
208
|
+
/**
|
209
|
+
*
|
210
|
+
* @type {string}
|
211
|
+
* @memberof AuthorizationConfig
|
212
|
+
*/
|
213
|
+
'customerOpenIDSecret': string;
|
214
|
+
/**
|
215
|
+
*
|
216
|
+
* @type {string}
|
217
|
+
* @memberof AuthorizationConfig
|
218
|
+
*/
|
219
|
+
'customerOpenIDMetadataURL': string;
|
220
|
+
/**
|
221
|
+
*
|
222
|
+
* @type {{ [key: string]: string; }}
|
223
|
+
* @memberof AuthorizationConfig
|
224
|
+
*/
|
225
|
+
'customerOpenIDParameters': {
|
226
|
+
[key: string]: string;
|
227
|
+
};
|
228
|
+
/**
|
229
|
+
*
|
230
|
+
* @type {string}
|
231
|
+
* @memberof AuthorizationConfig
|
232
|
+
*/
|
233
|
+
'azureEntraTenantID': string;
|
234
|
+
/**
|
235
|
+
*
|
236
|
+
* @type {string}
|
237
|
+
* @memberof AuthorizationConfig
|
238
|
+
*/
|
239
|
+
'azureEntraClientID': string;
|
240
|
+
/**
|
241
|
+
*
|
242
|
+
* @type {string}
|
243
|
+
* @memberof AuthorizationConfig
|
244
|
+
*/
|
245
|
+
'customerLoginUrl': string;
|
246
|
+
}
|
160
247
|
/**
|
161
248
|
*
|
162
249
|
* @export
|
@@ -532,6 +619,37 @@ export interface BonusValue {
|
|
532
619
|
*/
|
533
620
|
'ref'?: string;
|
534
621
|
}
|
622
|
+
/**
|
623
|
+
*
|
624
|
+
* @export
|
625
|
+
* @interface BrandingConfig
|
626
|
+
*/
|
627
|
+
export interface BrandingConfig {
|
628
|
+
/**
|
629
|
+
*
|
630
|
+
* @type {string}
|
631
|
+
* @memberof BrandingConfig
|
632
|
+
*/
|
633
|
+
'logoURL': string;
|
634
|
+
/**
|
635
|
+
*
|
636
|
+
* @type {string}
|
637
|
+
* @memberof BrandingConfig
|
638
|
+
*/
|
639
|
+
'mainColor': string;
|
640
|
+
/**
|
641
|
+
*
|
642
|
+
* @type {string}
|
643
|
+
* @memberof BrandingConfig
|
644
|
+
*/
|
645
|
+
'coinName': string;
|
646
|
+
/**
|
647
|
+
*
|
648
|
+
* @type {string}
|
649
|
+
* @memberof BrandingConfig
|
650
|
+
*/
|
651
|
+
'coinLogoURL': string;
|
652
|
+
}
|
535
653
|
/**
|
536
654
|
*
|
537
655
|
* @export
|
@@ -1150,6 +1268,12 @@ export interface IntegrationsConfig {
|
|
1150
1268
|
* @memberof IntegrationsConfig
|
1151
1269
|
*/
|
1152
1270
|
'authClientSecretName': string;
|
1271
|
+
/**
|
1272
|
+
*
|
1273
|
+
* @type {boolean}
|
1274
|
+
* @memberof IntegrationsConfig
|
1275
|
+
*/
|
1276
|
+
'externalUserServiceEnabled': boolean;
|
1153
1277
|
}
|
1154
1278
|
/**
|
1155
1279
|
*
|
@@ -1188,6 +1312,12 @@ export interface LedgerConfig {
|
|
1188
1312
|
* @memberof LedgerConfig
|
1189
1313
|
*/
|
1190
1314
|
'maxManagerOrderValue': number;
|
1315
|
+
/**
|
1316
|
+
*
|
1317
|
+
* @type {boolean}
|
1318
|
+
* @memberof LedgerConfig
|
1319
|
+
*/
|
1320
|
+
'allowNegativeBalance': boolean;
|
1191
1321
|
/**
|
1192
1322
|
*
|
1193
1323
|
* @type {{ [key: string]: string; }}
|
@@ -2806,6 +2936,12 @@ export interface PromotionConfig {
|
|
2806
2936
|
* @memberof PromotionConfig
|
2807
2937
|
*/
|
2808
2938
|
'customDealRefundWindow'?: number;
|
2939
|
+
/**
|
2940
|
+
*
|
2941
|
+
* @type {boolean}
|
2942
|
+
* @memberof PromotionConfig
|
2943
|
+
*/
|
2944
|
+
'allowRunningPromotionsUpdate': boolean;
|
2809
2945
|
}
|
2810
2946
|
/**
|
2811
2947
|
*
|
@@ -4077,6 +4213,18 @@ export interface TenantConfing {
|
|
4077
4213
|
* @memberof TenantConfing
|
4078
4214
|
*/
|
4079
4215
|
'integrations': IntegrationsConfig;
|
4216
|
+
/**
|
4217
|
+
*
|
4218
|
+
* @type {BrandingConfig}
|
4219
|
+
* @memberof TenantConfing
|
4220
|
+
*/
|
4221
|
+
'branding': BrandingConfig;
|
4222
|
+
/**
|
4223
|
+
*
|
4224
|
+
* @type {AuthorizationConfig}
|
4225
|
+
* @memberof TenantConfing
|
4226
|
+
*/
|
4227
|
+
'auth': AuthorizationConfig;
|
4080
4228
|
}
|
4081
4229
|
/**
|
4082
4230
|
*
|
package/dist/esm/api.d.ts
CHANGED
@@ -157,6 +157,93 @@ export declare const AuditLogObjectType: {
|
|
157
157
|
readonly ApiKey: "api_key";
|
158
158
|
};
|
159
159
|
export type AuditLogObjectType = typeof AuditLogObjectType[keyof typeof AuditLogObjectType];
|
160
|
+
/**
|
161
|
+
*
|
162
|
+
* @export
|
163
|
+
* @interface AuthorizationConfig
|
164
|
+
*/
|
165
|
+
export interface AuthorizationConfig {
|
166
|
+
/**
|
167
|
+
*
|
168
|
+
* @type {string}
|
169
|
+
* @memberof AuthorizationConfig
|
170
|
+
*/
|
171
|
+
'adminKeyConfig': string;
|
172
|
+
/**
|
173
|
+
*
|
174
|
+
* @type {string}
|
175
|
+
* @memberof AuthorizationConfig
|
176
|
+
*/
|
177
|
+
'adminIssuer': string;
|
178
|
+
/**
|
179
|
+
*
|
180
|
+
* @type {string}
|
181
|
+
* @memberof AuthorizationConfig
|
182
|
+
*/
|
183
|
+
'adminAudience': string;
|
184
|
+
/**
|
185
|
+
*
|
186
|
+
* @type {string}
|
187
|
+
* @memberof AuthorizationConfig
|
188
|
+
*/
|
189
|
+
'customerAudience': string;
|
190
|
+
/**
|
191
|
+
*
|
192
|
+
* @type {string}
|
193
|
+
* @memberof AuthorizationConfig
|
194
|
+
*/
|
195
|
+
'customerOpenIDKeyConfig': string;
|
196
|
+
/**
|
197
|
+
*
|
198
|
+
* @type {string}
|
199
|
+
* @memberof AuthorizationConfig
|
200
|
+
*/
|
201
|
+
'customerOpenIDIssuer': string;
|
202
|
+
/**
|
203
|
+
*
|
204
|
+
* @type {string}
|
205
|
+
* @memberof AuthorizationConfig
|
206
|
+
*/
|
207
|
+
'customerOpenIDClientID': string;
|
208
|
+
/**
|
209
|
+
*
|
210
|
+
* @type {string}
|
211
|
+
* @memberof AuthorizationConfig
|
212
|
+
*/
|
213
|
+
'customerOpenIDSecret': string;
|
214
|
+
/**
|
215
|
+
*
|
216
|
+
* @type {string}
|
217
|
+
* @memberof AuthorizationConfig
|
218
|
+
*/
|
219
|
+
'customerOpenIDMetadataURL': string;
|
220
|
+
/**
|
221
|
+
*
|
222
|
+
* @type {{ [key: string]: string; }}
|
223
|
+
* @memberof AuthorizationConfig
|
224
|
+
*/
|
225
|
+
'customerOpenIDParameters': {
|
226
|
+
[key: string]: string;
|
227
|
+
};
|
228
|
+
/**
|
229
|
+
*
|
230
|
+
* @type {string}
|
231
|
+
* @memberof AuthorizationConfig
|
232
|
+
*/
|
233
|
+
'azureEntraTenantID': string;
|
234
|
+
/**
|
235
|
+
*
|
236
|
+
* @type {string}
|
237
|
+
* @memberof AuthorizationConfig
|
238
|
+
*/
|
239
|
+
'azureEntraClientID': string;
|
240
|
+
/**
|
241
|
+
*
|
242
|
+
* @type {string}
|
243
|
+
* @memberof AuthorizationConfig
|
244
|
+
*/
|
245
|
+
'customerLoginUrl': string;
|
246
|
+
}
|
160
247
|
/**
|
161
248
|
*
|
162
249
|
* @export
|
@@ -532,6 +619,37 @@ export interface BonusValue {
|
|
532
619
|
*/
|
533
620
|
'ref'?: string;
|
534
621
|
}
|
622
|
+
/**
|
623
|
+
*
|
624
|
+
* @export
|
625
|
+
* @interface BrandingConfig
|
626
|
+
*/
|
627
|
+
export interface BrandingConfig {
|
628
|
+
/**
|
629
|
+
*
|
630
|
+
* @type {string}
|
631
|
+
* @memberof BrandingConfig
|
632
|
+
*/
|
633
|
+
'logoURL': string;
|
634
|
+
/**
|
635
|
+
*
|
636
|
+
* @type {string}
|
637
|
+
* @memberof BrandingConfig
|
638
|
+
*/
|
639
|
+
'mainColor': string;
|
640
|
+
/**
|
641
|
+
*
|
642
|
+
* @type {string}
|
643
|
+
* @memberof BrandingConfig
|
644
|
+
*/
|
645
|
+
'coinName': string;
|
646
|
+
/**
|
647
|
+
*
|
648
|
+
* @type {string}
|
649
|
+
* @memberof BrandingConfig
|
650
|
+
*/
|
651
|
+
'coinLogoURL': string;
|
652
|
+
}
|
535
653
|
/**
|
536
654
|
*
|
537
655
|
* @export
|
@@ -1150,6 +1268,12 @@ export interface IntegrationsConfig {
|
|
1150
1268
|
* @memberof IntegrationsConfig
|
1151
1269
|
*/
|
1152
1270
|
'authClientSecretName': string;
|
1271
|
+
/**
|
1272
|
+
*
|
1273
|
+
* @type {boolean}
|
1274
|
+
* @memberof IntegrationsConfig
|
1275
|
+
*/
|
1276
|
+
'externalUserServiceEnabled': boolean;
|
1153
1277
|
}
|
1154
1278
|
/**
|
1155
1279
|
*
|
@@ -1188,6 +1312,12 @@ export interface LedgerConfig {
|
|
1188
1312
|
* @memberof LedgerConfig
|
1189
1313
|
*/
|
1190
1314
|
'maxManagerOrderValue': number;
|
1315
|
+
/**
|
1316
|
+
*
|
1317
|
+
* @type {boolean}
|
1318
|
+
* @memberof LedgerConfig
|
1319
|
+
*/
|
1320
|
+
'allowNegativeBalance': boolean;
|
1191
1321
|
/**
|
1192
1322
|
*
|
1193
1323
|
* @type {{ [key: string]: string; }}
|
@@ -2806,6 +2936,12 @@ export interface PromotionConfig {
|
|
2806
2936
|
* @memberof PromotionConfig
|
2807
2937
|
*/
|
2808
2938
|
'customDealRefundWindow'?: number;
|
2939
|
+
/**
|
2940
|
+
*
|
2941
|
+
* @type {boolean}
|
2942
|
+
* @memberof PromotionConfig
|
2943
|
+
*/
|
2944
|
+
'allowRunningPromotionsUpdate': boolean;
|
2809
2945
|
}
|
2810
2946
|
/**
|
2811
2947
|
*
|
@@ -4077,6 +4213,18 @@ export interface TenantConfing {
|
|
4077
4213
|
* @memberof TenantConfing
|
4078
4214
|
*/
|
4079
4215
|
'integrations': IntegrationsConfig;
|
4216
|
+
/**
|
4217
|
+
*
|
4218
|
+
* @type {BrandingConfig}
|
4219
|
+
* @memberof TenantConfing
|
4220
|
+
*/
|
4221
|
+
'branding': BrandingConfig;
|
4222
|
+
/**
|
4223
|
+
*
|
4224
|
+
* @type {AuthorizationConfig}
|
4225
|
+
* @memberof TenantConfing
|
4226
|
+
*/
|
4227
|
+
'auth': AuthorizationConfig;
|
4080
4228
|
}
|
4081
4229
|
/**
|
4082
4230
|
*
|