@teemill/gfn-catalog 2.1.0 → 3.0.0
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 +228 -14
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +153 -11
- package/dist/api.js +104 -6
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +153 -11
- package/dist/esm/api.js +104 -6
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* GFN Catalog API
|
|
6
6
|
* Use this API to access the Global Fulfilment Network, which contains all the warehouse products and variants available to a given project. Warehouse products represent the base products that can be printed on. Products are the top level items, and variants are the different options available for each product. For example, a product might be a T-shirt, and each variant represents a different size and colour combination of that T-shirt. Use references to these warehouse products to create new product listings on your project via the Product Catalog API. Use the variant information to decide which options you would like to offer on each product listing.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 3.0.0
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -421,6 +421,54 @@ const TransactionsApiAxiosParamCreator = function (configuration) {
|
|
|
421
421
|
options: localVarRequestOptions,
|
|
422
422
|
};
|
|
423
423
|
}),
|
|
424
|
+
/**
|
|
425
|
+
* Lists all the fulfillments in the project with GFN transactions
|
|
426
|
+
* @summary Lists the GFN fulfillments of the project
|
|
427
|
+
* @param {string} project What project it is
|
|
428
|
+
* @param {number} [pageToken] Page reference token
|
|
429
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
430
|
+
* @param {string} [statementId]
|
|
431
|
+
* @param {*} [options] Override http request option.
|
|
432
|
+
* @throws {RequiredError}
|
|
433
|
+
*/
|
|
434
|
+
listFulfillments: (project_1, pageToken_1, pageSize_1, statementId_1, ...args_1) => __awaiter(this, [project_1, pageToken_1, pageSize_1, statementId_1, ...args_1], void 0, function* (project, pageToken, pageSize, statementId, options = {}) {
|
|
435
|
+
// verify required parameter 'project' is not null or undefined
|
|
436
|
+
(0, common_1.assertParamExists)('listFulfillments', 'project', project);
|
|
437
|
+
const localVarPath = `/v1/gfn/transactions/fulfillments`;
|
|
438
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
439
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
440
|
+
let baseOptions;
|
|
441
|
+
if (configuration) {
|
|
442
|
+
baseOptions = configuration.baseOptions;
|
|
443
|
+
}
|
|
444
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
445
|
+
const localVarHeaderParameter = {};
|
|
446
|
+
const localVarQueryParameter = {};
|
|
447
|
+
// authentication session-oauth required
|
|
448
|
+
// oauth required
|
|
449
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
450
|
+
// authentication api-key required
|
|
451
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
452
|
+
if (project !== undefined) {
|
|
453
|
+
localVarQueryParameter['project'] = project;
|
|
454
|
+
}
|
|
455
|
+
if (pageToken !== undefined) {
|
|
456
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
457
|
+
}
|
|
458
|
+
if (pageSize !== undefined) {
|
|
459
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
460
|
+
}
|
|
461
|
+
if (statementId !== undefined) {
|
|
462
|
+
localVarQueryParameter['statementId'] = statementId;
|
|
463
|
+
}
|
|
464
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
465
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
466
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
467
|
+
return {
|
|
468
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
469
|
+
options: localVarRequestOptions,
|
|
470
|
+
};
|
|
471
|
+
}),
|
|
424
472
|
/**
|
|
425
473
|
* Lists all GFN transactions available to the project
|
|
426
474
|
* @summary List GFN transactions
|
|
@@ -428,10 +476,12 @@ const TransactionsApiAxiosParamCreator = function (configuration) {
|
|
|
428
476
|
* @param {number} [pageToken] Page reference token
|
|
429
477
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
430
478
|
* @param {string} [statementId]
|
|
479
|
+
* @param {string} [fulfillmentId]
|
|
480
|
+
* @param {string} [search] Search by fulfillment id
|
|
431
481
|
* @param {*} [options] Override http request option.
|
|
432
482
|
* @throws {RequiredError}
|
|
433
483
|
*/
|
|
434
|
-
listTransactions: (project_1, pageToken_1, pageSize_1, statementId_1, ...args_1) => __awaiter(this, [project_1, pageToken_1, pageSize_1, statementId_1, ...args_1], void 0, function* (project, pageToken, pageSize, statementId, options = {}) {
|
|
484
|
+
listTransactions: (project_1, pageToken_1, pageSize_1, statementId_1, fulfillmentId_1, search_1, ...args_1) => __awaiter(this, [project_1, pageToken_1, pageSize_1, statementId_1, fulfillmentId_1, search_1, ...args_1], void 0, function* (project, pageToken, pageSize, statementId, fulfillmentId, search, options = {}) {
|
|
435
485
|
// verify required parameter 'project' is not null or undefined
|
|
436
486
|
(0, common_1.assertParamExists)('listTransactions', 'project', project);
|
|
437
487
|
const localVarPath = `/v1/gfn/transactions`;
|
|
@@ -461,6 +511,12 @@ const TransactionsApiAxiosParamCreator = function (configuration) {
|
|
|
461
511
|
if (statementId !== undefined) {
|
|
462
512
|
localVarQueryParameter['statementId'] = statementId;
|
|
463
513
|
}
|
|
514
|
+
if (fulfillmentId !== undefined) {
|
|
515
|
+
localVarQueryParameter['fulfillmentId'] = fulfillmentId;
|
|
516
|
+
}
|
|
517
|
+
if (search !== undefined) {
|
|
518
|
+
localVarQueryParameter['search'] = search;
|
|
519
|
+
}
|
|
464
520
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
465
521
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
466
522
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -496,6 +552,25 @@ const TransactionsApiFp = function (configuration) {
|
|
|
496
552
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
497
553
|
});
|
|
498
554
|
},
|
|
555
|
+
/**
|
|
556
|
+
* Lists all the fulfillments in the project with GFN transactions
|
|
557
|
+
* @summary Lists the GFN fulfillments of the project
|
|
558
|
+
* @param {string} project What project it is
|
|
559
|
+
* @param {number} [pageToken] Page reference token
|
|
560
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
561
|
+
* @param {string} [statementId]
|
|
562
|
+
* @param {*} [options] Override http request option.
|
|
563
|
+
* @throws {RequiredError}
|
|
564
|
+
*/
|
|
565
|
+
listFulfillments(project, pageToken, pageSize, statementId, options) {
|
|
566
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
567
|
+
var _a, _b, _c;
|
|
568
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listFulfillments(project, pageToken, pageSize, statementId, options);
|
|
569
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
570
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TransactionsApi.listFulfillments']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
571
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
572
|
+
});
|
|
573
|
+
},
|
|
499
574
|
/**
|
|
500
575
|
* Lists all GFN transactions available to the project
|
|
501
576
|
* @summary List GFN transactions
|
|
@@ -503,13 +578,15 @@ const TransactionsApiFp = function (configuration) {
|
|
|
503
578
|
* @param {number} [pageToken] Page reference token
|
|
504
579
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
505
580
|
* @param {string} [statementId]
|
|
581
|
+
* @param {string} [fulfillmentId]
|
|
582
|
+
* @param {string} [search] Search by fulfillment id
|
|
506
583
|
* @param {*} [options] Override http request option.
|
|
507
584
|
* @throws {RequiredError}
|
|
508
585
|
*/
|
|
509
|
-
listTransactions(project, pageToken, pageSize, statementId, options) {
|
|
586
|
+
listTransactions(project, pageToken, pageSize, statementId, fulfillmentId, search, options) {
|
|
510
587
|
return __awaiter(this, void 0, void 0, function* () {
|
|
511
588
|
var _a, _b, _c;
|
|
512
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listTransactions(project, pageToken, pageSize, statementId, options);
|
|
589
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listTransactions(project, pageToken, pageSize, statementId, fulfillmentId, search, options);
|
|
513
590
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
514
591
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TransactionsApi.listTransactions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
515
592
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -535,6 +612,16 @@ const TransactionsApiFactory = function (configuration, basePath, axios) {
|
|
|
535
612
|
exportTransactions(requestParameters, options) {
|
|
536
613
|
return localVarFp.exportTransactions(requestParameters.project, requestParameters.exportTransactionsRequest, options).then((request) => request(axios, basePath));
|
|
537
614
|
},
|
|
615
|
+
/**
|
|
616
|
+
* Lists all the fulfillments in the project with GFN transactions
|
|
617
|
+
* @summary Lists the GFN fulfillments of the project
|
|
618
|
+
* @param {TransactionsApiListFulfillmentsRequest} requestParameters Request parameters.
|
|
619
|
+
* @param {*} [options] Override http request option.
|
|
620
|
+
* @throws {RequiredError}
|
|
621
|
+
*/
|
|
622
|
+
listFulfillments(requestParameters, options) {
|
|
623
|
+
return localVarFp.listFulfillments(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.statementId, options).then((request) => request(axios, basePath));
|
|
624
|
+
},
|
|
538
625
|
/**
|
|
539
626
|
* Lists all GFN transactions available to the project
|
|
540
627
|
* @summary List GFN transactions
|
|
@@ -543,7 +630,7 @@ const TransactionsApiFactory = function (configuration, basePath, axios) {
|
|
|
543
630
|
* @throws {RequiredError}
|
|
544
631
|
*/
|
|
545
632
|
listTransactions(requestParameters, options) {
|
|
546
|
-
return localVarFp.listTransactions(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.statementId, options).then((request) => request(axios, basePath));
|
|
633
|
+
return localVarFp.listTransactions(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.statementId, requestParameters.fulfillmentId, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
547
634
|
},
|
|
548
635
|
};
|
|
549
636
|
};
|
|
@@ -566,6 +653,17 @@ class TransactionsApi extends base_1.BaseAPI {
|
|
|
566
653
|
exportTransactions(requestParameters, options) {
|
|
567
654
|
return (0, exports.TransactionsApiFp)(this.configuration).exportTransactions(requestParameters.project, requestParameters.exportTransactionsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
568
655
|
}
|
|
656
|
+
/**
|
|
657
|
+
* Lists all the fulfillments in the project with GFN transactions
|
|
658
|
+
* @summary Lists the GFN fulfillments of the project
|
|
659
|
+
* @param {TransactionsApiListFulfillmentsRequest} requestParameters Request parameters.
|
|
660
|
+
* @param {*} [options] Override http request option.
|
|
661
|
+
* @throws {RequiredError}
|
|
662
|
+
* @memberof TransactionsApi
|
|
663
|
+
*/
|
|
664
|
+
listFulfillments(requestParameters, options) {
|
|
665
|
+
return (0, exports.TransactionsApiFp)(this.configuration).listFulfillments(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.statementId, options).then((request) => request(this.axios, this.basePath));
|
|
666
|
+
}
|
|
569
667
|
/**
|
|
570
668
|
* Lists all GFN transactions available to the project
|
|
571
669
|
* @summary List GFN transactions
|
|
@@ -575,7 +673,7 @@ class TransactionsApi extends base_1.BaseAPI {
|
|
|
575
673
|
* @memberof TransactionsApi
|
|
576
674
|
*/
|
|
577
675
|
listTransactions(requestParameters, options) {
|
|
578
|
-
return (0, exports.TransactionsApiFp)(this.configuration).listTransactions(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.statementId, options).then((request) => request(this.axios, this.basePath));
|
|
676
|
+
return (0, exports.TransactionsApiFp)(this.configuration).listTransactions(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.statementId, requestParameters.fulfillmentId, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
579
677
|
}
|
|
580
678
|
}
|
|
581
679
|
exports.TransactionsApi = TransactionsApi;
|
package/dist/base.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* GFN Catalog API
|
|
3
3
|
* Use this API to access the Global Fulfilment Network, which contains all the warehouse products and variants available to a given project. Warehouse products represent the base products that can be printed on. Products are the top level items, and variants are the different options available for each product. For example, a product might be a T-shirt, and each variant represents a different size and colour combination of that T-shirt. Use references to these warehouse products to create new product listings on your project via the Product Catalog API. Use the variant information to decide which options you would like to offer on each product listing.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 3.0.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/base.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* GFN Catalog API
|
|
6
6
|
* Use this API to access the Global Fulfilment Network, which contains all the warehouse products and variants available to a given project. Warehouse products represent the base products that can be printed on. Products are the top level items, and variants are the different options available for each product. For example, a product might be a T-shirt, and each variant represents a different size and colour combination of that T-shirt. Use references to these warehouse products to create new product listings on your project via the Product Catalog API. Use the variant information to decide which options you would like to offer on each product listing.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 3.0.0
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/common.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* GFN Catalog API
|
|
3
3
|
* Use this API to access the Global Fulfilment Network, which contains all the warehouse products and variants available to a given project. Warehouse products represent the base products that can be printed on. Products are the top level items, and variants are the different options available for each product. For example, a product might be a T-shirt, and each variant represents a different size and colour combination of that T-shirt. Use references to these warehouse products to create new product listings on your project via the Product Catalog API. Use the variant information to decide which options you would like to offer on each product listing.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 3.0.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/common.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* GFN Catalog API
|
|
6
6
|
* Use this API to access the Global Fulfilment Network, which contains all the warehouse products and variants available to a given project. Warehouse products represent the base products that can be printed on. Products are the top level items, and variants are the different options available for each product. For example, a product might be a T-shirt, and each variant represents a different size and colour combination of that T-shirt. Use references to these warehouse products to create new product listings on your project via the Product Catalog API. Use the variant information to decide which options you would like to offer on each product listing.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 3.0.0
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/configuration.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* GFN Catalog API
|
|
3
3
|
* Use this API to access the Global Fulfilment Network, which contains all the warehouse products and variants available to a given project. Warehouse products represent the base products that can be printed on. Products are the top level items, and variants are the different options available for each product. For example, a product might be a T-shirt, and each variant represents a different size and colour combination of that T-shirt. Use references to these warehouse products to create new product listings on your project via the Product Catalog API. Use the variant information to decide which options you would like to offer on each product listing.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 3.0.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/configuration.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* GFN Catalog API
|
|
6
6
|
* Use this API to access the Global Fulfilment Network, which contains all the warehouse products and variants available to a given project. Warehouse products represent the base products that can be printed on. Products are the top level items, and variants are the different options available for each product. For example, a product might be a T-shirt, and each variant represents a different size and colour combination of that T-shirt. Use references to these warehouse products to create new product listings on your project via the Product Catalog API. Use the variant information to decide which options you would like to offer on each product listing.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 3.0.0
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* GFN Catalog API
|
|
3
3
|
* Use this API to access the Global Fulfilment Network, which contains all the warehouse products and variants available to a given project. Warehouse products represent the base products that can be printed on. Products are the top level items, and variants are the different options available for each product. For example, a product might be a T-shirt, and each variant represents a different size and colour combination of that T-shirt. Use references to these warehouse products to create new product listings on your project via the Product Catalog API. Use the variant information to decide which options you would like to offer on each product listing.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 3.0.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -116,23 +116,42 @@ export type AttributeThumbnailTypeEnum = typeof AttributeThumbnailTypeEnum[keyof
|
|
|
116
116
|
*/
|
|
117
117
|
export interface ExportTransactionsRequest {
|
|
118
118
|
/**
|
|
119
|
-
*
|
|
119
|
+
* Include only transactions from this statement
|
|
120
120
|
* @type {string}
|
|
121
121
|
* @memberof ExportTransactionsRequest
|
|
122
122
|
*/
|
|
123
|
-
'
|
|
123
|
+
'statement'?: string;
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
*
|
|
127
|
+
* @export
|
|
128
|
+
* @interface Fulfillment
|
|
129
|
+
*/
|
|
130
|
+
export interface Fulfillment {
|
|
131
|
+
/**
|
|
132
|
+
*
|
|
133
|
+
* @type {number}
|
|
134
|
+
* @memberof Fulfillment
|
|
135
|
+
*/
|
|
136
|
+
'id': number;
|
|
124
137
|
/**
|
|
125
|
-
*
|
|
138
|
+
*
|
|
126
139
|
* @type {string}
|
|
127
|
-
* @memberof
|
|
140
|
+
* @memberof Fulfillment
|
|
128
141
|
*/
|
|
129
|
-
'
|
|
142
|
+
'merchantRef': string;
|
|
130
143
|
/**
|
|
131
|
-
*
|
|
144
|
+
*
|
|
145
|
+
* @type {number}
|
|
146
|
+
* @memberof Fulfillment
|
|
147
|
+
*/
|
|
148
|
+
'total': number;
|
|
149
|
+
/**
|
|
150
|
+
*
|
|
132
151
|
* @type {string}
|
|
133
|
-
* @memberof
|
|
152
|
+
* @memberof Fulfillment
|
|
134
153
|
*/
|
|
135
|
-
'
|
|
154
|
+
'createdAt': string;
|
|
136
155
|
}
|
|
137
156
|
/**
|
|
138
157
|
* Image description
|
|
@@ -183,6 +202,25 @@ export interface Image {
|
|
|
183
202
|
*/
|
|
184
203
|
'updatedAt'?: string;
|
|
185
204
|
}
|
|
205
|
+
/**
|
|
206
|
+
*
|
|
207
|
+
* @export
|
|
208
|
+
* @interface ListFulfillments200Response
|
|
209
|
+
*/
|
|
210
|
+
export interface ListFulfillments200Response {
|
|
211
|
+
/**
|
|
212
|
+
*
|
|
213
|
+
* @type {Array<Fulfillment>}
|
|
214
|
+
* @memberof ListFulfillments200Response
|
|
215
|
+
*/
|
|
216
|
+
'fulfillments'?: Array<Fulfillment>;
|
|
217
|
+
/**
|
|
218
|
+
*
|
|
219
|
+
* @type {number}
|
|
220
|
+
* @memberof ListFulfillments200Response
|
|
221
|
+
*/
|
|
222
|
+
'nextPageToken'?: number | null;
|
|
223
|
+
}
|
|
186
224
|
/**
|
|
187
225
|
*
|
|
188
226
|
* @export
|
|
@@ -412,6 +450,24 @@ export interface Transaction {
|
|
|
412
450
|
* @memberof Transaction
|
|
413
451
|
*/
|
|
414
452
|
'createdAt': string;
|
|
453
|
+
/**
|
|
454
|
+
*
|
|
455
|
+
* @type {number}
|
|
456
|
+
* @memberof Transaction
|
|
457
|
+
*/
|
|
458
|
+
'fulfillmentId'?: number;
|
|
459
|
+
/**
|
|
460
|
+
*
|
|
461
|
+
* @type {number}
|
|
462
|
+
* @memberof Transaction
|
|
463
|
+
*/
|
|
464
|
+
'orderId'?: number;
|
|
465
|
+
/**
|
|
466
|
+
*
|
|
467
|
+
* @type {string}
|
|
468
|
+
* @memberof Transaction
|
|
469
|
+
*/
|
|
470
|
+
'description'?: string;
|
|
415
471
|
}
|
|
416
472
|
export declare const TransactionTypeEnum: {
|
|
417
473
|
readonly Blank: "blank";
|
|
@@ -830,6 +886,17 @@ export declare const TransactionsApiAxiosParamCreator: (configuration?: Configur
|
|
|
830
886
|
* @throws {RequiredError}
|
|
831
887
|
*/
|
|
832
888
|
exportTransactions: (project: string, exportTransactionsRequest: ExportTransactionsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
889
|
+
/**
|
|
890
|
+
* Lists all the fulfillments in the project with GFN transactions
|
|
891
|
+
* @summary Lists the GFN fulfillments of the project
|
|
892
|
+
* @param {string} project What project it is
|
|
893
|
+
* @param {number} [pageToken] Page reference token
|
|
894
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
895
|
+
* @param {string} [statementId]
|
|
896
|
+
* @param {*} [options] Override http request option.
|
|
897
|
+
* @throws {RequiredError}
|
|
898
|
+
*/
|
|
899
|
+
listFulfillments: (project: string, pageToken?: number, pageSize?: number, statementId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
833
900
|
/**
|
|
834
901
|
* Lists all GFN transactions available to the project
|
|
835
902
|
* @summary List GFN transactions
|
|
@@ -837,10 +904,12 @@ export declare const TransactionsApiAxiosParamCreator: (configuration?: Configur
|
|
|
837
904
|
* @param {number} [pageToken] Page reference token
|
|
838
905
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
839
906
|
* @param {string} [statementId]
|
|
907
|
+
* @param {string} [fulfillmentId]
|
|
908
|
+
* @param {string} [search] Search by fulfillment id
|
|
840
909
|
* @param {*} [options] Override http request option.
|
|
841
910
|
* @throws {RequiredError}
|
|
842
911
|
*/
|
|
843
|
-
listTransactions: (project: string, pageToken?: number, pageSize?: number, statementId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
912
|
+
listTransactions: (project: string, pageToken?: number, pageSize?: number, statementId?: string, fulfillmentId?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
844
913
|
};
|
|
845
914
|
/**
|
|
846
915
|
* TransactionsApi - functional programming interface
|
|
@@ -856,6 +925,17 @@ export declare const TransactionsApiFp: (configuration?: Configuration) => {
|
|
|
856
925
|
* @throws {RequiredError}
|
|
857
926
|
*/
|
|
858
927
|
exportTransactions(project: string, exportTransactionsRequest: ExportTransactionsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
928
|
+
/**
|
|
929
|
+
* Lists all the fulfillments in the project with GFN transactions
|
|
930
|
+
* @summary Lists the GFN fulfillments of the project
|
|
931
|
+
* @param {string} project What project it is
|
|
932
|
+
* @param {number} [pageToken] Page reference token
|
|
933
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
934
|
+
* @param {string} [statementId]
|
|
935
|
+
* @param {*} [options] Override http request option.
|
|
936
|
+
* @throws {RequiredError}
|
|
937
|
+
*/
|
|
938
|
+
listFulfillments(project: string, pageToken?: number, pageSize?: number, statementId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListFulfillments200Response>>;
|
|
859
939
|
/**
|
|
860
940
|
* Lists all GFN transactions available to the project
|
|
861
941
|
* @summary List GFN transactions
|
|
@@ -863,10 +943,12 @@ export declare const TransactionsApiFp: (configuration?: Configuration) => {
|
|
|
863
943
|
* @param {number} [pageToken] Page reference token
|
|
864
944
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
865
945
|
* @param {string} [statementId]
|
|
946
|
+
* @param {string} [fulfillmentId]
|
|
947
|
+
* @param {string} [search] Search by fulfillment id
|
|
866
948
|
* @param {*} [options] Override http request option.
|
|
867
949
|
* @throws {RequiredError}
|
|
868
950
|
*/
|
|
869
|
-
listTransactions(project: string, pageToken?: number, pageSize?: number, statementId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTransactions200Response>>;
|
|
951
|
+
listTransactions(project: string, pageToken?: number, pageSize?: number, statementId?: string, fulfillmentId?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTransactions200Response>>;
|
|
870
952
|
};
|
|
871
953
|
/**
|
|
872
954
|
* TransactionsApi - factory interface
|
|
@@ -881,6 +963,14 @@ export declare const TransactionsApiFactory: (configuration?: Configuration, bas
|
|
|
881
963
|
* @throws {RequiredError}
|
|
882
964
|
*/
|
|
883
965
|
exportTransactions(requestParameters: TransactionsApiExportTransactionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<File>;
|
|
966
|
+
/**
|
|
967
|
+
* Lists all the fulfillments in the project with GFN transactions
|
|
968
|
+
* @summary Lists the GFN fulfillments of the project
|
|
969
|
+
* @param {TransactionsApiListFulfillmentsRequest} requestParameters Request parameters.
|
|
970
|
+
* @param {*} [options] Override http request option.
|
|
971
|
+
* @throws {RequiredError}
|
|
972
|
+
*/
|
|
973
|
+
listFulfillments(requestParameters: TransactionsApiListFulfillmentsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListFulfillments200Response>;
|
|
884
974
|
/**
|
|
885
975
|
* Lists all GFN transactions available to the project
|
|
886
976
|
* @summary List GFN transactions
|
|
@@ -909,6 +999,37 @@ export interface TransactionsApiExportTransactionsRequest {
|
|
|
909
999
|
*/
|
|
910
1000
|
readonly exportTransactionsRequest: ExportTransactionsRequest;
|
|
911
1001
|
}
|
|
1002
|
+
/**
|
|
1003
|
+
* Request parameters for listFulfillments operation in TransactionsApi.
|
|
1004
|
+
* @export
|
|
1005
|
+
* @interface TransactionsApiListFulfillmentsRequest
|
|
1006
|
+
*/
|
|
1007
|
+
export interface TransactionsApiListFulfillmentsRequest {
|
|
1008
|
+
/**
|
|
1009
|
+
* What project it is
|
|
1010
|
+
* @type {string}
|
|
1011
|
+
* @memberof TransactionsApiListFulfillments
|
|
1012
|
+
*/
|
|
1013
|
+
readonly project: string;
|
|
1014
|
+
/**
|
|
1015
|
+
* Page reference token
|
|
1016
|
+
* @type {number}
|
|
1017
|
+
* @memberof TransactionsApiListFulfillments
|
|
1018
|
+
*/
|
|
1019
|
+
readonly pageToken?: number;
|
|
1020
|
+
/**
|
|
1021
|
+
* Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1022
|
+
* @type {number}
|
|
1023
|
+
* @memberof TransactionsApiListFulfillments
|
|
1024
|
+
*/
|
|
1025
|
+
readonly pageSize?: number;
|
|
1026
|
+
/**
|
|
1027
|
+
*
|
|
1028
|
+
* @type {string}
|
|
1029
|
+
* @memberof TransactionsApiListFulfillments
|
|
1030
|
+
*/
|
|
1031
|
+
readonly statementId?: string;
|
|
1032
|
+
}
|
|
912
1033
|
/**
|
|
913
1034
|
* Request parameters for listTransactions operation in TransactionsApi.
|
|
914
1035
|
* @export
|
|
@@ -939,6 +1060,18 @@ export interface TransactionsApiListTransactionsRequest {
|
|
|
939
1060
|
* @memberof TransactionsApiListTransactions
|
|
940
1061
|
*/
|
|
941
1062
|
readonly statementId?: string;
|
|
1063
|
+
/**
|
|
1064
|
+
*
|
|
1065
|
+
* @type {string}
|
|
1066
|
+
* @memberof TransactionsApiListTransactions
|
|
1067
|
+
*/
|
|
1068
|
+
readonly fulfillmentId?: string;
|
|
1069
|
+
/**
|
|
1070
|
+
* Search by fulfillment id
|
|
1071
|
+
* @type {string}
|
|
1072
|
+
* @memberof TransactionsApiListTransactions
|
|
1073
|
+
*/
|
|
1074
|
+
readonly search?: string;
|
|
942
1075
|
}
|
|
943
1076
|
/**
|
|
944
1077
|
* TransactionsApi - object-oriented interface
|
|
@@ -956,6 +1089,15 @@ export declare class TransactionsApi extends BaseAPI {
|
|
|
956
1089
|
* @memberof TransactionsApi
|
|
957
1090
|
*/
|
|
958
1091
|
exportTransactions(requestParameters: TransactionsApiExportTransactionsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any>>;
|
|
1092
|
+
/**
|
|
1093
|
+
* Lists all the fulfillments in the project with GFN transactions
|
|
1094
|
+
* @summary Lists the GFN fulfillments of the project
|
|
1095
|
+
* @param {TransactionsApiListFulfillmentsRequest} requestParameters Request parameters.
|
|
1096
|
+
* @param {*} [options] Override http request option.
|
|
1097
|
+
* @throws {RequiredError}
|
|
1098
|
+
* @memberof TransactionsApi
|
|
1099
|
+
*/
|
|
1100
|
+
listFulfillments(requestParameters: TransactionsApiListFulfillmentsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListFulfillments200Response, any>>;
|
|
959
1101
|
/**
|
|
960
1102
|
* Lists all GFN transactions available to the project
|
|
961
1103
|
* @summary List GFN transactions
|