flexinet-api 0.0.259-prerelease0 → 0.0.260-prerelease0
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 +907 -152
- package/dist/api.d.ts +538 -73
- package/dist/api.js +610 -71
- package/dist/esm/api.d.ts +538 -73
- package/dist/esm/api.js +604 -69
- package/package.json +1 -1
package/dist/esm/api.d.ts
CHANGED
|
@@ -127,12 +127,6 @@ export interface Balance {
|
|
|
127
127
|
* @memberof Balance
|
|
128
128
|
*/
|
|
129
129
|
'id': string;
|
|
130
|
-
/**
|
|
131
|
-
*
|
|
132
|
-
* @type {string}
|
|
133
|
-
* @memberof Balance
|
|
134
|
-
*/
|
|
135
|
-
'kind': string;
|
|
136
130
|
/**
|
|
137
131
|
*
|
|
138
132
|
* @type {number}
|
|
@@ -141,10 +135,10 @@ export interface Balance {
|
|
|
141
135
|
'amount': number;
|
|
142
136
|
/**
|
|
143
137
|
*
|
|
144
|
-
* @type {
|
|
138
|
+
* @type {Beneficiary}
|
|
145
139
|
* @memberof Balance
|
|
146
140
|
*/
|
|
147
|
-
'
|
|
141
|
+
'beneficiary': Beneficiary;
|
|
148
142
|
}
|
|
149
143
|
/**
|
|
150
144
|
*
|
|
@@ -160,21 +154,40 @@ export interface BalanceUpdateRequest {
|
|
|
160
154
|
'amount': number;
|
|
161
155
|
/**
|
|
162
156
|
*
|
|
163
|
-
* @type {
|
|
157
|
+
* @type {BeneficiaryKind}
|
|
164
158
|
* @memberof BalanceUpdateRequest
|
|
165
159
|
*/
|
|
166
|
-
'
|
|
160
|
+
'beneficiaryKind': BeneficiaryKind;
|
|
161
|
+
}
|
|
162
|
+
/**
|
|
163
|
+
*
|
|
164
|
+
* @export
|
|
165
|
+
* @interface Beneficiary
|
|
166
|
+
*/
|
|
167
|
+
export interface Beneficiary {
|
|
168
|
+
/**
|
|
169
|
+
*
|
|
170
|
+
* @type {string}
|
|
171
|
+
* @memberof Beneficiary
|
|
172
|
+
*/
|
|
173
|
+
'value': string;
|
|
174
|
+
/**
|
|
175
|
+
*
|
|
176
|
+
* @type {BeneficiaryKind}
|
|
177
|
+
* @memberof Beneficiary
|
|
178
|
+
*/
|
|
179
|
+
'kind': BeneficiaryKind;
|
|
167
180
|
}
|
|
168
181
|
/**
|
|
169
182
|
*
|
|
170
183
|
* @export
|
|
171
184
|
* @enum {string}
|
|
172
185
|
*/
|
|
173
|
-
export declare const
|
|
186
|
+
export declare const BeneficiaryKind: {
|
|
174
187
|
readonly User: "user";
|
|
175
188
|
readonly Client: "client";
|
|
176
189
|
};
|
|
177
|
-
export type
|
|
190
|
+
export type BeneficiaryKind = typeof BeneficiaryKind[keyof typeof BeneficiaryKind];
|
|
178
191
|
/**
|
|
179
192
|
*
|
|
180
193
|
* @export
|
|
@@ -223,6 +236,31 @@ export interface BulkNotificationsReadRequest {
|
|
|
223
236
|
*/
|
|
224
237
|
'notificationIds': Array<string>;
|
|
225
238
|
}
|
|
239
|
+
/**
|
|
240
|
+
*
|
|
241
|
+
* @export
|
|
242
|
+
* @interface CallbackOrder
|
|
243
|
+
*/
|
|
244
|
+
export interface CallbackOrder {
|
|
245
|
+
/**
|
|
246
|
+
*
|
|
247
|
+
* @type {Order}
|
|
248
|
+
* @memberof CallbackOrder
|
|
249
|
+
*/
|
|
250
|
+
'order'?: Order;
|
|
251
|
+
/**
|
|
252
|
+
*
|
|
253
|
+
* @type {string}
|
|
254
|
+
* @memberof CallbackOrder
|
|
255
|
+
*/
|
|
256
|
+
'id'?: string;
|
|
257
|
+
/**
|
|
258
|
+
*
|
|
259
|
+
* @type {string}
|
|
260
|
+
* @memberof CallbackOrder
|
|
261
|
+
*/
|
|
262
|
+
'status'?: string;
|
|
263
|
+
}
|
|
226
264
|
/**
|
|
227
265
|
*
|
|
228
266
|
* @export
|
|
@@ -331,6 +369,19 @@ export declare const Condition: {
|
|
|
331
369
|
readonly Contains: "contains";
|
|
332
370
|
};
|
|
333
371
|
export type Condition = typeof Condition[keyof typeof Condition];
|
|
372
|
+
/**
|
|
373
|
+
*
|
|
374
|
+
* @export
|
|
375
|
+
* @interface CreateOrderRequest
|
|
376
|
+
*/
|
|
377
|
+
export interface CreateOrderRequest {
|
|
378
|
+
/**
|
|
379
|
+
*
|
|
380
|
+
* @type {OrderCreationRequest}
|
|
381
|
+
* @memberof CreateOrderRequest
|
|
382
|
+
*/
|
|
383
|
+
'tag'?: OrderCreationRequest;
|
|
384
|
+
}
|
|
334
385
|
/**
|
|
335
386
|
*
|
|
336
387
|
* @export
|
|
@@ -520,6 +571,25 @@ export type EventCreationRequestKindEnum = typeof EventCreationRequestKindEnum[k
|
|
|
520
571
|
* @export
|
|
521
572
|
*/
|
|
522
573
|
export type EventCreationRequestDetails = object;
|
|
574
|
+
/**
|
|
575
|
+
*
|
|
576
|
+
* @export
|
|
577
|
+
* @interface Item
|
|
578
|
+
*/
|
|
579
|
+
export interface Item {
|
|
580
|
+
/**
|
|
581
|
+
*
|
|
582
|
+
* @type {number}
|
|
583
|
+
* @memberof Item
|
|
584
|
+
*/
|
|
585
|
+
'qty': number;
|
|
586
|
+
/**
|
|
587
|
+
*
|
|
588
|
+
* @type {Product}
|
|
589
|
+
* @memberof Item
|
|
590
|
+
*/
|
|
591
|
+
'product': Product;
|
|
592
|
+
}
|
|
523
593
|
/**
|
|
524
594
|
*
|
|
525
595
|
* @export
|
|
@@ -730,6 +800,111 @@ export declare const NotificationStatus: {
|
|
|
730
800
|
readonly Read: "read";
|
|
731
801
|
};
|
|
732
802
|
export type NotificationStatus = typeof NotificationStatus[keyof typeof NotificationStatus];
|
|
803
|
+
/**
|
|
804
|
+
*
|
|
805
|
+
* @export
|
|
806
|
+
* @interface Order
|
|
807
|
+
*/
|
|
808
|
+
export interface Order {
|
|
809
|
+
/**
|
|
810
|
+
*
|
|
811
|
+
* @type {Balance}
|
|
812
|
+
* @memberof Order
|
|
813
|
+
*/
|
|
814
|
+
'balance': Balance;
|
|
815
|
+
/**
|
|
816
|
+
*
|
|
817
|
+
* @type {Array<Item>}
|
|
818
|
+
* @memberof Order
|
|
819
|
+
*/
|
|
820
|
+
'items': Array<Item>;
|
|
821
|
+
/**
|
|
822
|
+
*
|
|
823
|
+
* @type {string}
|
|
824
|
+
* @memberof Order
|
|
825
|
+
*/
|
|
826
|
+
'id'?: string;
|
|
827
|
+
/**
|
|
828
|
+
*
|
|
829
|
+
* @type {string}
|
|
830
|
+
* @memberof Order
|
|
831
|
+
*/
|
|
832
|
+
'createdAt'?: string;
|
|
833
|
+
/**
|
|
834
|
+
*
|
|
835
|
+
* @type {string}
|
|
836
|
+
* @memberof Order
|
|
837
|
+
*/
|
|
838
|
+
'kind'?: OrderKindEnum;
|
|
839
|
+
/**
|
|
840
|
+
*
|
|
841
|
+
* @type {string}
|
|
842
|
+
* @memberof Order
|
|
843
|
+
*/
|
|
844
|
+
'source'?: string;
|
|
845
|
+
}
|
|
846
|
+
export declare const OrderKindEnum: {
|
|
847
|
+
readonly Webshop: "webshop";
|
|
848
|
+
readonly Promotions: "promotions";
|
|
849
|
+
};
|
|
850
|
+
export type OrderKindEnum = typeof OrderKindEnum[keyof typeof OrderKindEnum];
|
|
851
|
+
/**
|
|
852
|
+
*
|
|
853
|
+
* @export
|
|
854
|
+
* @interface OrderCreationRequest
|
|
855
|
+
*/
|
|
856
|
+
export interface OrderCreationRequest {
|
|
857
|
+
/**
|
|
858
|
+
*
|
|
859
|
+
* @type {string}
|
|
860
|
+
* @memberof OrderCreationRequest
|
|
861
|
+
*/
|
|
862
|
+
'balanceID': string;
|
|
863
|
+
/**
|
|
864
|
+
*
|
|
865
|
+
* @type {Array<OrderItemCreationRequest>}
|
|
866
|
+
* @memberof OrderCreationRequest
|
|
867
|
+
*/
|
|
868
|
+
'items': Array<OrderItemCreationRequest>;
|
|
869
|
+
}
|
|
870
|
+
/**
|
|
871
|
+
*
|
|
872
|
+
* @export
|
|
873
|
+
* @interface OrderItemCreationRequest
|
|
874
|
+
*/
|
|
875
|
+
export interface OrderItemCreationRequest {
|
|
876
|
+
/**
|
|
877
|
+
*
|
|
878
|
+
* @type {number}
|
|
879
|
+
* @memberof OrderItemCreationRequest
|
|
880
|
+
*/
|
|
881
|
+
'qty': number;
|
|
882
|
+
/**
|
|
883
|
+
*
|
|
884
|
+
* @type {string}
|
|
885
|
+
* @memberof OrderItemCreationRequest
|
|
886
|
+
*/
|
|
887
|
+
'productId': string;
|
|
888
|
+
}
|
|
889
|
+
/**
|
|
890
|
+
*
|
|
891
|
+
* @export
|
|
892
|
+
* @interface OrderListResponse
|
|
893
|
+
*/
|
|
894
|
+
export interface OrderListResponse {
|
|
895
|
+
/**
|
|
896
|
+
*
|
|
897
|
+
* @type {Array<Order>}
|
|
898
|
+
* @memberof OrderListResponse
|
|
899
|
+
*/
|
|
900
|
+
'orders': Array<Order>;
|
|
901
|
+
/**
|
|
902
|
+
* This is the pagination token
|
|
903
|
+
* @type {string}
|
|
904
|
+
* @memberof OrderListResponse
|
|
905
|
+
*/
|
|
906
|
+
'nextToken'?: string;
|
|
907
|
+
}
|
|
733
908
|
/**
|
|
734
909
|
*
|
|
735
910
|
* @export
|
|
@@ -817,10 +992,10 @@ export interface Product {
|
|
|
817
992
|
'source': string;
|
|
818
993
|
/**
|
|
819
994
|
*
|
|
820
|
-
* @type {Array<
|
|
995
|
+
* @type {Array<Segment>}
|
|
821
996
|
* @memberof Product
|
|
822
997
|
*/
|
|
823
|
-
'segments': Array<
|
|
998
|
+
'segments': Array<Segment>;
|
|
824
999
|
/**
|
|
825
1000
|
*
|
|
826
1001
|
* @type {ProductKind}
|
|
@@ -943,10 +1118,10 @@ export interface ProductCreationRequest {
|
|
|
943
1118
|
'source': string;
|
|
944
1119
|
/**
|
|
945
1120
|
*
|
|
946
|
-
* @type {Array<
|
|
1121
|
+
* @type {Array<Segment>}
|
|
947
1122
|
* @memberof ProductCreationRequest
|
|
948
1123
|
*/
|
|
949
|
-
'segments': Array<
|
|
1124
|
+
'segments': Array<Segment>;
|
|
950
1125
|
/**
|
|
951
1126
|
*
|
|
952
1127
|
* @type {ProductKind}
|
|
@@ -1208,10 +1383,10 @@ export interface Progress {
|
|
|
1208
1383
|
'state': ProgressState;
|
|
1209
1384
|
/**
|
|
1210
1385
|
*
|
|
1211
|
-
* @type {
|
|
1386
|
+
* @type {Beneficiary}
|
|
1212
1387
|
* @memberof Progress
|
|
1213
1388
|
*/
|
|
1214
|
-
'beneficiary':
|
|
1389
|
+
'beneficiary': Beneficiary;
|
|
1215
1390
|
/**
|
|
1216
1391
|
*
|
|
1217
1392
|
* @type {number}
|
|
@@ -1274,10 +1449,10 @@ export interface Promotion {
|
|
|
1274
1449
|
'description': string;
|
|
1275
1450
|
/**
|
|
1276
1451
|
*
|
|
1277
|
-
* @type {
|
|
1452
|
+
* @type {BeneficiaryKind}
|
|
1278
1453
|
* @memberof Promotion
|
|
1279
1454
|
*/
|
|
1280
|
-
'
|
|
1455
|
+
'beneficiaryKind'?: BeneficiaryKind;
|
|
1281
1456
|
/**
|
|
1282
1457
|
*
|
|
1283
1458
|
* @type {Array<string>}
|
|
@@ -1395,6 +1570,19 @@ export interface Promotion {
|
|
|
1395
1570
|
*/
|
|
1396
1571
|
'type': PromotionType;
|
|
1397
1572
|
}
|
|
1573
|
+
/**
|
|
1574
|
+
*
|
|
1575
|
+
* @export
|
|
1576
|
+
* @interface PromotionClaimRequest
|
|
1577
|
+
*/
|
|
1578
|
+
export interface PromotionClaimRequest {
|
|
1579
|
+
/**
|
|
1580
|
+
*
|
|
1581
|
+
* @type {string}
|
|
1582
|
+
* @memberof PromotionClaimRequest
|
|
1583
|
+
*/
|
|
1584
|
+
'userId': string;
|
|
1585
|
+
}
|
|
1398
1586
|
/**
|
|
1399
1587
|
*
|
|
1400
1588
|
* @export
|
|
@@ -1415,10 +1603,10 @@ export interface PromotionRequest {
|
|
|
1415
1603
|
'description': string;
|
|
1416
1604
|
/**
|
|
1417
1605
|
*
|
|
1418
|
-
* @type {
|
|
1606
|
+
* @type {BeneficiaryKind}
|
|
1419
1607
|
* @memberof PromotionRequest
|
|
1420
1608
|
*/
|
|
1421
|
-
'
|
|
1609
|
+
'beneficiaryKind': BeneficiaryKind;
|
|
1422
1610
|
/**
|
|
1423
1611
|
*
|
|
1424
1612
|
* @type {Target}
|
|
@@ -1523,16 +1711,6 @@ export interface PromotionsResponse {
|
|
|
1523
1711
|
*/
|
|
1524
1712
|
'nextToken'?: string;
|
|
1525
1713
|
}
|
|
1526
|
-
/**
|
|
1527
|
-
*
|
|
1528
|
-
* @export
|
|
1529
|
-
* @enum {string}
|
|
1530
|
-
*/
|
|
1531
|
-
export declare const ReceiverKind: {
|
|
1532
|
-
readonly User: "user";
|
|
1533
|
-
readonly Client: "client";
|
|
1534
|
-
};
|
|
1535
|
-
export type ReceiverKind = typeof ReceiverKind[keyof typeof ReceiverKind];
|
|
1536
1714
|
/**
|
|
1537
1715
|
*
|
|
1538
1716
|
* @export
|
|
@@ -2127,10 +2305,10 @@ export interface Transaction {
|
|
|
2127
2305
|
'amount': number;
|
|
2128
2306
|
/**
|
|
2129
2307
|
*
|
|
2130
|
-
* @type {
|
|
2308
|
+
* @type {Beneficiary}
|
|
2131
2309
|
* @memberof Transaction
|
|
2132
2310
|
*/
|
|
2133
|
-
'
|
|
2311
|
+
'beneficiary': Beneficiary;
|
|
2134
2312
|
/**
|
|
2135
2313
|
*
|
|
2136
2314
|
* @type {string}
|
|
@@ -2160,12 +2338,6 @@ export interface TransactionsResponse {
|
|
|
2160
2338
|
* @memberof TransactionsResponse
|
|
2161
2339
|
*/
|
|
2162
2340
|
'transactions': Array<Transaction>;
|
|
2163
|
-
/**
|
|
2164
|
-
* This is the previous pagination token
|
|
2165
|
-
* @type {string}
|
|
2166
|
-
* @memberof TransactionsResponse
|
|
2167
|
-
*/
|
|
2168
|
-
'previousToken'?: string;
|
|
2169
2341
|
/**
|
|
2170
2342
|
* This is the pagination token
|
|
2171
2343
|
* @type {string}
|
|
@@ -2425,7 +2597,7 @@ export interface Webhook {
|
|
|
2425
2597
|
* @enum {string}
|
|
2426
2598
|
*/
|
|
2427
2599
|
export declare const WebhookKind: {
|
|
2428
|
-
readonly
|
|
2600
|
+
readonly Order: "order";
|
|
2429
2601
|
};
|
|
2430
2602
|
export type WebhookKind = typeof WebhookKind[keyof typeof WebhookKind];
|
|
2431
2603
|
/**
|
|
@@ -2555,29 +2727,30 @@ export declare const BalanceApiAxiosParamCreator: (configuration?: Configuration
|
|
|
2555
2727
|
/**
|
|
2556
2728
|
* Get balance
|
|
2557
2729
|
* @summary Get balance
|
|
2558
|
-
* @param {string}
|
|
2730
|
+
* @param {string} beneficiaryValue This is the beneficiary value
|
|
2731
|
+
* @param {BeneficiaryKind} kind This is the beneficiary kind
|
|
2559
2732
|
* @param {*} [options] Override http request option.
|
|
2560
2733
|
* @throws {RequiredError}
|
|
2561
2734
|
*/
|
|
2562
|
-
getBalance: (
|
|
2735
|
+
getBalance: (beneficiaryValue: string, kind: BeneficiaryKind, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2563
2736
|
/**
|
|
2564
2737
|
* Transfer balance
|
|
2565
2738
|
* @summary Transfer balance
|
|
2566
|
-
* @param {string}
|
|
2739
|
+
* @param {string} beneficiaryValue ID of the beneficiary where we want to update balance.
|
|
2567
2740
|
* @param {BalanceUpdateRequest} [balanceUpdateRequest]
|
|
2568
2741
|
* @param {*} [options] Override http request option.
|
|
2569
2742
|
* @throws {RequiredError}
|
|
2570
2743
|
*/
|
|
2571
|
-
transferBalance: (
|
|
2744
|
+
transferBalance: (beneficiaryValue: string, balanceUpdateRequest?: BalanceUpdateRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2572
2745
|
/**
|
|
2573
2746
|
* Manually update balance. Used as manual compensation for out of stock products.
|
|
2574
2747
|
* @summary Manually update balance
|
|
2575
|
-
* @param {string}
|
|
2748
|
+
* @param {string} beneficiaryValue ID of the beneficiary where we want to update balance.
|
|
2576
2749
|
* @param {BalanceUpdateRequest} [balanceUpdateRequest]
|
|
2577
2750
|
* @param {*} [options] Override http request option.
|
|
2578
2751
|
* @throws {RequiredError}
|
|
2579
2752
|
*/
|
|
2580
|
-
updateBalance: (
|
|
2753
|
+
updateBalance: (beneficiaryValue: string, balanceUpdateRequest?: BalanceUpdateRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2581
2754
|
};
|
|
2582
2755
|
/**
|
|
2583
2756
|
* BalanceApi - functional programming interface
|
|
@@ -2587,29 +2760,30 @@ export declare const BalanceApiFp: (configuration?: Configuration) => {
|
|
|
2587
2760
|
/**
|
|
2588
2761
|
* Get balance
|
|
2589
2762
|
* @summary Get balance
|
|
2590
|
-
* @param {string}
|
|
2763
|
+
* @param {string} beneficiaryValue This is the beneficiary value
|
|
2764
|
+
* @param {BeneficiaryKind} kind This is the beneficiary kind
|
|
2591
2765
|
* @param {*} [options] Override http request option.
|
|
2592
2766
|
* @throws {RequiredError}
|
|
2593
2767
|
*/
|
|
2594
|
-
getBalance(
|
|
2768
|
+
getBalance(beneficiaryValue: string, kind: BeneficiaryKind, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Balance>>;
|
|
2595
2769
|
/**
|
|
2596
2770
|
* Transfer balance
|
|
2597
2771
|
* @summary Transfer balance
|
|
2598
|
-
* @param {string}
|
|
2772
|
+
* @param {string} beneficiaryValue ID of the beneficiary where we want to update balance.
|
|
2599
2773
|
* @param {BalanceUpdateRequest} [balanceUpdateRequest]
|
|
2600
2774
|
* @param {*} [options] Override http request option.
|
|
2601
2775
|
* @throws {RequiredError}
|
|
2602
2776
|
*/
|
|
2603
|
-
transferBalance(
|
|
2777
|
+
transferBalance(beneficiaryValue: string, balanceUpdateRequest?: BalanceUpdateRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
2604
2778
|
/**
|
|
2605
2779
|
* Manually update balance. Used as manual compensation for out of stock products.
|
|
2606
2780
|
* @summary Manually update balance
|
|
2607
|
-
* @param {string}
|
|
2781
|
+
* @param {string} beneficiaryValue ID of the beneficiary where we want to update balance.
|
|
2608
2782
|
* @param {BalanceUpdateRequest} [balanceUpdateRequest]
|
|
2609
2783
|
* @param {*} [options] Override http request option.
|
|
2610
2784
|
* @throws {RequiredError}
|
|
2611
2785
|
*/
|
|
2612
|
-
updateBalance(
|
|
2786
|
+
updateBalance(beneficiaryValue: string, balanceUpdateRequest?: BalanceUpdateRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
2613
2787
|
};
|
|
2614
2788
|
/**
|
|
2615
2789
|
* BalanceApi - factory interface
|
|
@@ -2619,29 +2793,30 @@ export declare const BalanceApiFactory: (configuration?: Configuration, basePath
|
|
|
2619
2793
|
/**
|
|
2620
2794
|
* Get balance
|
|
2621
2795
|
* @summary Get balance
|
|
2622
|
-
* @param {string}
|
|
2796
|
+
* @param {string} beneficiaryValue This is the beneficiary value
|
|
2797
|
+
* @param {BeneficiaryKind} kind This is the beneficiary kind
|
|
2623
2798
|
* @param {*} [options] Override http request option.
|
|
2624
2799
|
* @throws {RequiredError}
|
|
2625
2800
|
*/
|
|
2626
|
-
getBalance(
|
|
2801
|
+
getBalance(beneficiaryValue: string, kind: BeneficiaryKind, options?: any): AxiosPromise<Balance>;
|
|
2627
2802
|
/**
|
|
2628
2803
|
* Transfer balance
|
|
2629
2804
|
* @summary Transfer balance
|
|
2630
|
-
* @param {string}
|
|
2805
|
+
* @param {string} beneficiaryValue ID of the beneficiary where we want to update balance.
|
|
2631
2806
|
* @param {BalanceUpdateRequest} [balanceUpdateRequest]
|
|
2632
2807
|
* @param {*} [options] Override http request option.
|
|
2633
2808
|
* @throws {RequiredError}
|
|
2634
2809
|
*/
|
|
2635
|
-
transferBalance(
|
|
2810
|
+
transferBalance(beneficiaryValue: string, balanceUpdateRequest?: BalanceUpdateRequest, options?: any): AxiosPromise<void>;
|
|
2636
2811
|
/**
|
|
2637
2812
|
* Manually update balance. Used as manual compensation for out of stock products.
|
|
2638
2813
|
* @summary Manually update balance
|
|
2639
|
-
* @param {string}
|
|
2814
|
+
* @param {string} beneficiaryValue ID of the beneficiary where we want to update balance.
|
|
2640
2815
|
* @param {BalanceUpdateRequest} [balanceUpdateRequest]
|
|
2641
2816
|
* @param {*} [options] Override http request option.
|
|
2642
2817
|
* @throws {RequiredError}
|
|
2643
2818
|
*/
|
|
2644
|
-
updateBalance(
|
|
2819
|
+
updateBalance(beneficiaryValue: string, balanceUpdateRequest?: BalanceUpdateRequest, options?: any): AxiosPromise<void>;
|
|
2645
2820
|
};
|
|
2646
2821
|
/**
|
|
2647
2822
|
* BalanceApi - object-oriented interface
|
|
@@ -2653,32 +2828,33 @@ export declare class BalanceApi extends BaseAPI {
|
|
|
2653
2828
|
/**
|
|
2654
2829
|
* Get balance
|
|
2655
2830
|
* @summary Get balance
|
|
2656
|
-
* @param {string}
|
|
2831
|
+
* @param {string} beneficiaryValue This is the beneficiary value
|
|
2832
|
+
* @param {BeneficiaryKind} kind This is the beneficiary kind
|
|
2657
2833
|
* @param {*} [options] Override http request option.
|
|
2658
2834
|
* @throws {RequiredError}
|
|
2659
2835
|
* @memberof BalanceApi
|
|
2660
2836
|
*/
|
|
2661
|
-
getBalance(
|
|
2837
|
+
getBalance(beneficiaryValue: string, kind: BeneficiaryKind, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Balance, any>>;
|
|
2662
2838
|
/**
|
|
2663
2839
|
* Transfer balance
|
|
2664
2840
|
* @summary Transfer balance
|
|
2665
|
-
* @param {string}
|
|
2841
|
+
* @param {string} beneficiaryValue ID of the beneficiary where we want to update balance.
|
|
2666
2842
|
* @param {BalanceUpdateRequest} [balanceUpdateRequest]
|
|
2667
2843
|
* @param {*} [options] Override http request option.
|
|
2668
2844
|
* @throws {RequiredError}
|
|
2669
2845
|
* @memberof BalanceApi
|
|
2670
2846
|
*/
|
|
2671
|
-
transferBalance(
|
|
2847
|
+
transferBalance(beneficiaryValue: string, balanceUpdateRequest?: BalanceUpdateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
2672
2848
|
/**
|
|
2673
2849
|
* Manually update balance. Used as manual compensation for out of stock products.
|
|
2674
2850
|
* @summary Manually update balance
|
|
2675
|
-
* @param {string}
|
|
2851
|
+
* @param {string} beneficiaryValue ID of the beneficiary where we want to update balance.
|
|
2676
2852
|
* @param {BalanceUpdateRequest} [balanceUpdateRequest]
|
|
2677
2853
|
* @param {*} [options] Override http request option.
|
|
2678
2854
|
* @throws {RequiredError}
|
|
2679
2855
|
* @memberof BalanceApi
|
|
2680
2856
|
*/
|
|
2681
|
-
updateBalance(
|
|
2857
|
+
updateBalance(beneficiaryValue: string, balanceUpdateRequest?: BalanceUpdateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
2682
2858
|
}
|
|
2683
2859
|
/**
|
|
2684
2860
|
* ClientApi - axios parameter creator
|
|
@@ -3334,6 +3510,151 @@ export declare class NotificationApi extends BaseAPI {
|
|
|
3334
3510
|
*/
|
|
3335
3511
|
markNotificationAsRead(notificationID: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
3336
3512
|
}
|
|
3513
|
+
/**
|
|
3514
|
+
* OrderApi - axios parameter creator
|
|
3515
|
+
* @export
|
|
3516
|
+
*/
|
|
3517
|
+
export declare const OrderApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
3518
|
+
/**
|
|
3519
|
+
* Create a product order. If successful the value of the product will be deducted from the used balance.
|
|
3520
|
+
* @summary Create an order for a product
|
|
3521
|
+
* @param {CreateOrderRequest} [createOrderRequest]
|
|
3522
|
+
* @param {*} [options] Override http request option.
|
|
3523
|
+
* @throws {RequiredError}
|
|
3524
|
+
*/
|
|
3525
|
+
createOrder: (createOrderRequest?: CreateOrderRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3526
|
+
/**
|
|
3527
|
+
* Get order details
|
|
3528
|
+
* @summary Get order details
|
|
3529
|
+
* @param {string} id Order id
|
|
3530
|
+
* @param {*} [options] Override http request option.
|
|
3531
|
+
* @throws {RequiredError}
|
|
3532
|
+
*/
|
|
3533
|
+
getOrder: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3534
|
+
/**
|
|
3535
|
+
* List existing orders
|
|
3536
|
+
* @summary List existing orders
|
|
3537
|
+
* @param {string} [paginationToken] This is the pagination token
|
|
3538
|
+
* @param {string} [search] Search for product or order
|
|
3539
|
+
* @param {string} [productId] Filter by token
|
|
3540
|
+
* @param {string} [balanceId] Filter by balance
|
|
3541
|
+
* @param {string} [createdAfter] Filter orders created after the specified date
|
|
3542
|
+
* @param {string} [createdBefore] Filter orders created before the specified date
|
|
3543
|
+
* @param {*} [options] Override http request option.
|
|
3544
|
+
* @throws {RequiredError}
|
|
3545
|
+
*/
|
|
3546
|
+
listOrders: (paginationToken?: string, search?: string, productId?: string, balanceId?: string, createdAfter?: string, createdBefore?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3547
|
+
};
|
|
3548
|
+
/**
|
|
3549
|
+
* OrderApi - functional programming interface
|
|
3550
|
+
* @export
|
|
3551
|
+
*/
|
|
3552
|
+
export declare const OrderApiFp: (configuration?: Configuration) => {
|
|
3553
|
+
/**
|
|
3554
|
+
* Create a product order. If successful the value of the product will be deducted from the used balance.
|
|
3555
|
+
* @summary Create an order for a product
|
|
3556
|
+
* @param {CreateOrderRequest} [createOrderRequest]
|
|
3557
|
+
* @param {*} [options] Override http request option.
|
|
3558
|
+
* @throws {RequiredError}
|
|
3559
|
+
*/
|
|
3560
|
+
createOrder(createOrderRequest?: CreateOrderRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Order>>;
|
|
3561
|
+
/**
|
|
3562
|
+
* Get order details
|
|
3563
|
+
* @summary Get order details
|
|
3564
|
+
* @param {string} id Order id
|
|
3565
|
+
* @param {*} [options] Override http request option.
|
|
3566
|
+
* @throws {RequiredError}
|
|
3567
|
+
*/
|
|
3568
|
+
getOrder(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Order>>;
|
|
3569
|
+
/**
|
|
3570
|
+
* List existing orders
|
|
3571
|
+
* @summary List existing orders
|
|
3572
|
+
* @param {string} [paginationToken] This is the pagination token
|
|
3573
|
+
* @param {string} [search] Search for product or order
|
|
3574
|
+
* @param {string} [productId] Filter by token
|
|
3575
|
+
* @param {string} [balanceId] Filter by balance
|
|
3576
|
+
* @param {string} [createdAfter] Filter orders created after the specified date
|
|
3577
|
+
* @param {string} [createdBefore] Filter orders created before the specified date
|
|
3578
|
+
* @param {*} [options] Override http request option.
|
|
3579
|
+
* @throws {RequiredError}
|
|
3580
|
+
*/
|
|
3581
|
+
listOrders(paginationToken?: string, search?: string, productId?: string, balanceId?: string, createdAfter?: string, createdBefore?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrderListResponse>>;
|
|
3582
|
+
};
|
|
3583
|
+
/**
|
|
3584
|
+
* OrderApi - factory interface
|
|
3585
|
+
* @export
|
|
3586
|
+
*/
|
|
3587
|
+
export declare const OrderApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
3588
|
+
/**
|
|
3589
|
+
* Create a product order. If successful the value of the product will be deducted from the used balance.
|
|
3590
|
+
* @summary Create an order for a product
|
|
3591
|
+
* @param {CreateOrderRequest} [createOrderRequest]
|
|
3592
|
+
* @param {*} [options] Override http request option.
|
|
3593
|
+
* @throws {RequiredError}
|
|
3594
|
+
*/
|
|
3595
|
+
createOrder(createOrderRequest?: CreateOrderRequest, options?: any): AxiosPromise<Order>;
|
|
3596
|
+
/**
|
|
3597
|
+
* Get order details
|
|
3598
|
+
* @summary Get order details
|
|
3599
|
+
* @param {string} id Order id
|
|
3600
|
+
* @param {*} [options] Override http request option.
|
|
3601
|
+
* @throws {RequiredError}
|
|
3602
|
+
*/
|
|
3603
|
+
getOrder(id: string, options?: any): AxiosPromise<Order>;
|
|
3604
|
+
/**
|
|
3605
|
+
* List existing orders
|
|
3606
|
+
* @summary List existing orders
|
|
3607
|
+
* @param {string} [paginationToken] This is the pagination token
|
|
3608
|
+
* @param {string} [search] Search for product or order
|
|
3609
|
+
* @param {string} [productId] Filter by token
|
|
3610
|
+
* @param {string} [balanceId] Filter by balance
|
|
3611
|
+
* @param {string} [createdAfter] Filter orders created after the specified date
|
|
3612
|
+
* @param {string} [createdBefore] Filter orders created before the specified date
|
|
3613
|
+
* @param {*} [options] Override http request option.
|
|
3614
|
+
* @throws {RequiredError}
|
|
3615
|
+
*/
|
|
3616
|
+
listOrders(paginationToken?: string, search?: string, productId?: string, balanceId?: string, createdAfter?: string, createdBefore?: string, options?: any): AxiosPromise<OrderListResponse>;
|
|
3617
|
+
};
|
|
3618
|
+
/**
|
|
3619
|
+
* OrderApi - object-oriented interface
|
|
3620
|
+
* @export
|
|
3621
|
+
* @class OrderApi
|
|
3622
|
+
* @extends {BaseAPI}
|
|
3623
|
+
*/
|
|
3624
|
+
export declare class OrderApi extends BaseAPI {
|
|
3625
|
+
/**
|
|
3626
|
+
* Create a product order. If successful the value of the product will be deducted from the used balance.
|
|
3627
|
+
* @summary Create an order for a product
|
|
3628
|
+
* @param {CreateOrderRequest} [createOrderRequest]
|
|
3629
|
+
* @param {*} [options] Override http request option.
|
|
3630
|
+
* @throws {RequiredError}
|
|
3631
|
+
* @memberof OrderApi
|
|
3632
|
+
*/
|
|
3633
|
+
createOrder(createOrderRequest?: CreateOrderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Order, any>>;
|
|
3634
|
+
/**
|
|
3635
|
+
* Get order details
|
|
3636
|
+
* @summary Get order details
|
|
3637
|
+
* @param {string} id Order id
|
|
3638
|
+
* @param {*} [options] Override http request option.
|
|
3639
|
+
* @throws {RequiredError}
|
|
3640
|
+
* @memberof OrderApi
|
|
3641
|
+
*/
|
|
3642
|
+
getOrder(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Order, any>>;
|
|
3643
|
+
/**
|
|
3644
|
+
* List existing orders
|
|
3645
|
+
* @summary List existing orders
|
|
3646
|
+
* @param {string} [paginationToken] This is the pagination token
|
|
3647
|
+
* @param {string} [search] Search for product or order
|
|
3648
|
+
* @param {string} [productId] Filter by token
|
|
3649
|
+
* @param {string} [balanceId] Filter by balance
|
|
3650
|
+
* @param {string} [createdAfter] Filter orders created after the specified date
|
|
3651
|
+
* @param {string} [createdBefore] Filter orders created before the specified date
|
|
3652
|
+
* @param {*} [options] Override http request option.
|
|
3653
|
+
* @throws {RequiredError}
|
|
3654
|
+
* @memberof OrderApi
|
|
3655
|
+
*/
|
|
3656
|
+
listOrders(paginationToken?: string, search?: string, productId?: string, balanceId?: string, createdAfter?: string, createdBefore?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OrderListResponse, any>>;
|
|
3657
|
+
}
|
|
3337
3658
|
/**
|
|
3338
3659
|
* ProductApi - axios parameter creator
|
|
3339
3660
|
* @export
|
|
@@ -3697,6 +4018,41 @@ export type ListProgressIntervalEnum = typeof ListProgressIntervalEnum[keyof typ
|
|
|
3697
4018
|
* @export
|
|
3698
4019
|
*/
|
|
3699
4020
|
export declare const PromotionApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
4021
|
+
/**
|
|
4022
|
+
* Claim a promotion by admins
|
|
4023
|
+
* @summary Claim a promotion
|
|
4024
|
+
* @param {string} id Promotion ID
|
|
4025
|
+
* @param {PromotionClaimRequest} [promotionClaimRequest]
|
|
4026
|
+
* @param {*} [options] Override http request option.
|
|
4027
|
+
* @throws {RequiredError}
|
|
4028
|
+
*/
|
|
4029
|
+
claimPromotion: (id: string, promotionClaimRequest?: PromotionClaimRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4030
|
+
/**
|
|
4031
|
+
* Claim a promotion by admins
|
|
4032
|
+
* @summary Claim a promotion
|
|
4033
|
+
* @param {string} id Promotion ID
|
|
4034
|
+
* @param {string} progressID Promotion Progress ID
|
|
4035
|
+
* @param {*} [options] Override http request option.
|
|
4036
|
+
* @throws {RequiredError}
|
|
4037
|
+
*/
|
|
4038
|
+
claimPromotionProgress: (id: string, progressID: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4039
|
+
/**
|
|
4040
|
+
* Claim a promotion
|
|
4041
|
+
* @summary Claim a promotion
|
|
4042
|
+
* @param {string} id Promotion ID
|
|
4043
|
+
* @param {string} progressID Promotion Progress ID
|
|
4044
|
+
* @param {*} [options] Override http request option.
|
|
4045
|
+
* @throws {RequiredError}
|
|
4046
|
+
*/
|
|
4047
|
+
claimPromotionUser: (id: string, progressID: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4048
|
+
/**
|
|
4049
|
+
* Claim a promotion for all periods
|
|
4050
|
+
* @summary Claim a promotion
|
|
4051
|
+
* @param {string} id Promotion ID
|
|
4052
|
+
* @param {*} [options] Override http request option.
|
|
4053
|
+
* @throws {RequiredError}
|
|
4054
|
+
*/
|
|
4055
|
+
claimPromotionUserAll: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3700
4056
|
/**
|
|
3701
4057
|
* Configure a promotion
|
|
3702
4058
|
* @summary Create promotion
|
|
@@ -3752,6 +4108,41 @@ export declare const PromotionApiAxiosParamCreator: (configuration?: Configurati
|
|
|
3752
4108
|
* @export
|
|
3753
4109
|
*/
|
|
3754
4110
|
export declare const PromotionApiFp: (configuration?: Configuration) => {
|
|
4111
|
+
/**
|
|
4112
|
+
* Claim a promotion by admins
|
|
4113
|
+
* @summary Claim a promotion
|
|
4114
|
+
* @param {string} id Promotion ID
|
|
4115
|
+
* @param {PromotionClaimRequest} [promotionClaimRequest]
|
|
4116
|
+
* @param {*} [options] Override http request option.
|
|
4117
|
+
* @throws {RequiredError}
|
|
4118
|
+
*/
|
|
4119
|
+
claimPromotion(id: string, promotionClaimRequest?: PromotionClaimRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
4120
|
+
/**
|
|
4121
|
+
* Claim a promotion by admins
|
|
4122
|
+
* @summary Claim a promotion
|
|
4123
|
+
* @param {string} id Promotion ID
|
|
4124
|
+
* @param {string} progressID Promotion Progress ID
|
|
4125
|
+
* @param {*} [options] Override http request option.
|
|
4126
|
+
* @throws {RequiredError}
|
|
4127
|
+
*/
|
|
4128
|
+
claimPromotionProgress(id: string, progressID: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
4129
|
+
/**
|
|
4130
|
+
* Claim a promotion
|
|
4131
|
+
* @summary Claim a promotion
|
|
4132
|
+
* @param {string} id Promotion ID
|
|
4133
|
+
* @param {string} progressID Promotion Progress ID
|
|
4134
|
+
* @param {*} [options] Override http request option.
|
|
4135
|
+
* @throws {RequiredError}
|
|
4136
|
+
*/
|
|
4137
|
+
claimPromotionUser(id: string, progressID: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
4138
|
+
/**
|
|
4139
|
+
* Claim a promotion for all periods
|
|
4140
|
+
* @summary Claim a promotion
|
|
4141
|
+
* @param {string} id Promotion ID
|
|
4142
|
+
* @param {*} [options] Override http request option.
|
|
4143
|
+
* @throws {RequiredError}
|
|
4144
|
+
*/
|
|
4145
|
+
claimPromotionUserAll(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
3755
4146
|
/**
|
|
3756
4147
|
* Configure a promotion
|
|
3757
4148
|
* @summary Create promotion
|
|
@@ -3807,6 +4198,41 @@ export declare const PromotionApiFp: (configuration?: Configuration) => {
|
|
|
3807
4198
|
* @export
|
|
3808
4199
|
*/
|
|
3809
4200
|
export declare const PromotionApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
4201
|
+
/**
|
|
4202
|
+
* Claim a promotion by admins
|
|
4203
|
+
* @summary Claim a promotion
|
|
4204
|
+
* @param {string} id Promotion ID
|
|
4205
|
+
* @param {PromotionClaimRequest} [promotionClaimRequest]
|
|
4206
|
+
* @param {*} [options] Override http request option.
|
|
4207
|
+
* @throws {RequiredError}
|
|
4208
|
+
*/
|
|
4209
|
+
claimPromotion(id: string, promotionClaimRequest?: PromotionClaimRequest, options?: any): AxiosPromise<void>;
|
|
4210
|
+
/**
|
|
4211
|
+
* Claim a promotion by admins
|
|
4212
|
+
* @summary Claim a promotion
|
|
4213
|
+
* @param {string} id Promotion ID
|
|
4214
|
+
* @param {string} progressID Promotion Progress ID
|
|
4215
|
+
* @param {*} [options] Override http request option.
|
|
4216
|
+
* @throws {RequiredError}
|
|
4217
|
+
*/
|
|
4218
|
+
claimPromotionProgress(id: string, progressID: string, options?: any): AxiosPromise<void>;
|
|
4219
|
+
/**
|
|
4220
|
+
* Claim a promotion
|
|
4221
|
+
* @summary Claim a promotion
|
|
4222
|
+
* @param {string} id Promotion ID
|
|
4223
|
+
* @param {string} progressID Promotion Progress ID
|
|
4224
|
+
* @param {*} [options] Override http request option.
|
|
4225
|
+
* @throws {RequiredError}
|
|
4226
|
+
*/
|
|
4227
|
+
claimPromotionUser(id: string, progressID: string, options?: any): AxiosPromise<void>;
|
|
4228
|
+
/**
|
|
4229
|
+
* Claim a promotion for all periods
|
|
4230
|
+
* @summary Claim a promotion
|
|
4231
|
+
* @param {string} id Promotion ID
|
|
4232
|
+
* @param {*} [options] Override http request option.
|
|
4233
|
+
* @throws {RequiredError}
|
|
4234
|
+
*/
|
|
4235
|
+
claimPromotionUserAll(id: string, options?: any): AxiosPromise<void>;
|
|
3810
4236
|
/**
|
|
3811
4237
|
* Configure a promotion
|
|
3812
4238
|
* @summary Create promotion
|
|
@@ -3864,6 +4290,45 @@ export declare const PromotionApiFactory: (configuration?: Configuration, basePa
|
|
|
3864
4290
|
* @extends {BaseAPI}
|
|
3865
4291
|
*/
|
|
3866
4292
|
export declare class PromotionApi extends BaseAPI {
|
|
4293
|
+
/**
|
|
4294
|
+
* Claim a promotion by admins
|
|
4295
|
+
* @summary Claim a promotion
|
|
4296
|
+
* @param {string} id Promotion ID
|
|
4297
|
+
* @param {PromotionClaimRequest} [promotionClaimRequest]
|
|
4298
|
+
* @param {*} [options] Override http request option.
|
|
4299
|
+
* @throws {RequiredError}
|
|
4300
|
+
* @memberof PromotionApi
|
|
4301
|
+
*/
|
|
4302
|
+
claimPromotion(id: string, promotionClaimRequest?: PromotionClaimRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
4303
|
+
/**
|
|
4304
|
+
* Claim a promotion by admins
|
|
4305
|
+
* @summary Claim a promotion
|
|
4306
|
+
* @param {string} id Promotion ID
|
|
4307
|
+
* @param {string} progressID Promotion Progress ID
|
|
4308
|
+
* @param {*} [options] Override http request option.
|
|
4309
|
+
* @throws {RequiredError}
|
|
4310
|
+
* @memberof PromotionApi
|
|
4311
|
+
*/
|
|
4312
|
+
claimPromotionProgress(id: string, progressID: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
4313
|
+
/**
|
|
4314
|
+
* Claim a promotion
|
|
4315
|
+
* @summary Claim a promotion
|
|
4316
|
+
* @param {string} id Promotion ID
|
|
4317
|
+
* @param {string} progressID Promotion Progress ID
|
|
4318
|
+
* @param {*} [options] Override http request option.
|
|
4319
|
+
* @throws {RequiredError}
|
|
4320
|
+
* @memberof PromotionApi
|
|
4321
|
+
*/
|
|
4322
|
+
claimPromotionUser(id: string, progressID: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
4323
|
+
/**
|
|
4324
|
+
* Claim a promotion for all periods
|
|
4325
|
+
* @summary Claim a promotion
|
|
4326
|
+
* @param {string} id Promotion ID
|
|
4327
|
+
* @param {*} [options] Override http request option.
|
|
4328
|
+
* @throws {RequiredError}
|
|
4329
|
+
* @memberof PromotionApi
|
|
4330
|
+
*/
|
|
4331
|
+
claimPromotionUserAll(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
3867
4332
|
/**
|
|
3868
4333
|
* Configure a promotion
|
|
3869
4334
|
* @summary Create promotion
|
|
@@ -4363,12 +4828,12 @@ export declare const TransactionApiAxiosParamCreator: (configuration?: Configura
|
|
|
4363
4828
|
/**
|
|
4364
4829
|
* List existing transactions
|
|
4365
4830
|
* @summary List existing transactions
|
|
4366
|
-
* @param {string} clientID This is the client ID
|
|
4367
4831
|
* @param {string} [paginationToken] This is the pagination token
|
|
4832
|
+
* @param {string} [clientID] This is the client ID
|
|
4368
4833
|
* @param {*} [options] Override http request option.
|
|
4369
4834
|
* @throws {RequiredError}
|
|
4370
4835
|
*/
|
|
4371
|
-
listTransactions: (
|
|
4836
|
+
listTransactions: (paginationToken?: string, clientID?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4372
4837
|
};
|
|
4373
4838
|
/**
|
|
4374
4839
|
* TransactionApi - functional programming interface
|
|
@@ -4378,12 +4843,12 @@ export declare const TransactionApiFp: (configuration?: Configuration) => {
|
|
|
4378
4843
|
/**
|
|
4379
4844
|
* List existing transactions
|
|
4380
4845
|
* @summary List existing transactions
|
|
4381
|
-
* @param {string} clientID This is the client ID
|
|
4382
4846
|
* @param {string} [paginationToken] This is the pagination token
|
|
4847
|
+
* @param {string} [clientID] This is the client ID
|
|
4383
4848
|
* @param {*} [options] Override http request option.
|
|
4384
4849
|
* @throws {RequiredError}
|
|
4385
4850
|
*/
|
|
4386
|
-
listTransactions(
|
|
4851
|
+
listTransactions(paginationToken?: string, clientID?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TransactionsResponse>>;
|
|
4387
4852
|
};
|
|
4388
4853
|
/**
|
|
4389
4854
|
* TransactionApi - factory interface
|
|
@@ -4393,12 +4858,12 @@ export declare const TransactionApiFactory: (configuration?: Configuration, base
|
|
|
4393
4858
|
/**
|
|
4394
4859
|
* List existing transactions
|
|
4395
4860
|
* @summary List existing transactions
|
|
4396
|
-
* @param {string} clientID This is the client ID
|
|
4397
4861
|
* @param {string} [paginationToken] This is the pagination token
|
|
4862
|
+
* @param {string} [clientID] This is the client ID
|
|
4398
4863
|
* @param {*} [options] Override http request option.
|
|
4399
4864
|
* @throws {RequiredError}
|
|
4400
4865
|
*/
|
|
4401
|
-
listTransactions(
|
|
4866
|
+
listTransactions(paginationToken?: string, clientID?: string, options?: any): AxiosPromise<TransactionsResponse>;
|
|
4402
4867
|
};
|
|
4403
4868
|
/**
|
|
4404
4869
|
* TransactionApi - object-oriented interface
|
|
@@ -4410,13 +4875,13 @@ export declare class TransactionApi extends BaseAPI {
|
|
|
4410
4875
|
/**
|
|
4411
4876
|
* List existing transactions
|
|
4412
4877
|
* @summary List existing transactions
|
|
4413
|
-
* @param {string} clientID This is the client ID
|
|
4414
4878
|
* @param {string} [paginationToken] This is the pagination token
|
|
4879
|
+
* @param {string} [clientID] This is the client ID
|
|
4415
4880
|
* @param {*} [options] Override http request option.
|
|
4416
4881
|
* @throws {RequiredError}
|
|
4417
4882
|
* @memberof TransactionApi
|
|
4418
4883
|
*/
|
|
4419
|
-
listTransactions(
|
|
4884
|
+
listTransactions(paginationToken?: string, clientID?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TransactionsResponse, any>>;
|
|
4420
4885
|
}
|
|
4421
4886
|
/**
|
|
4422
4887
|
* UserApi - axios parameter creator
|