@teemill/gfn-catalog 2.2.0 → 3.1.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 +187 -11
- package/base.ts +4 -4
- package/common.ts +3 -3
- package/configuration.ts +3 -3
- package/dist/api.d.ts +125 -11
- package/dist/api.js +91 -3
- package/dist/base.d.ts +3 -3
- package/dist/base.js +4 -4
- package/dist/common.d.ts +3 -3
- package/dist/common.js +3 -3
- package/dist/configuration.d.ts +3 -3
- package/dist/configuration.js +3 -3
- package/dist/esm/api.d.ts +125 -11
- package/dist/esm/api.js +91 -3
- package/dist/esm/base.d.ts +3 -3
- package/dist/esm/base.js +4 -4
- package/dist/esm/common.d.ts +3 -3
- package/dist/esm/common.js +3 -3
- package/dist/esm/configuration.d.ts +3 -3
- package/dist/esm/configuration.js +3 -3
- package/dist/esm/index.d.ts +3 -3
- package/dist/esm/index.js +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +3 -3
- package/index.ts +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @teemill/gfn-catalog@
|
|
1
|
+
## @teemill/gfn-catalog@3.1.0
|
|
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 @teemill/gfn-catalog@
|
|
39
|
+
npm install @teemill/gfn-catalog@3.1.0 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/api.ts
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* GFN Catalog API
|
|
5
|
-
* Use this API to access the Global
|
|
5
|
+
* Use this API to access the Global Fulfillment 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.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
8
|
-
*
|
|
7
|
+
* The version of the OpenAPI document: 3.1.0
|
|
8
|
+
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
@@ -127,23 +127,42 @@ export type AttributeThumbnailTypeEnum = typeof AttributeThumbnailTypeEnum[keyof
|
|
|
127
127
|
*/
|
|
128
128
|
export interface ExportTransactionsRequest {
|
|
129
129
|
/**
|
|
130
|
-
*
|
|
130
|
+
* Include only transactions from this statement
|
|
131
131
|
* @type {string}
|
|
132
132
|
* @memberof ExportTransactionsRequest
|
|
133
133
|
*/
|
|
134
|
-
'
|
|
134
|
+
'statement'?: string;
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
*
|
|
138
|
+
* @export
|
|
139
|
+
* @interface Fulfillment
|
|
140
|
+
*/
|
|
141
|
+
export interface Fulfillment {
|
|
135
142
|
/**
|
|
136
|
-
*
|
|
143
|
+
*
|
|
144
|
+
* @type {number}
|
|
145
|
+
* @memberof Fulfillment
|
|
146
|
+
*/
|
|
147
|
+
'id': number;
|
|
148
|
+
/**
|
|
149
|
+
*
|
|
137
150
|
* @type {string}
|
|
138
|
-
* @memberof
|
|
151
|
+
* @memberof Fulfillment
|
|
139
152
|
*/
|
|
140
|
-
'
|
|
153
|
+
'merchantRef': string;
|
|
141
154
|
/**
|
|
142
|
-
*
|
|
155
|
+
*
|
|
156
|
+
* @type {number}
|
|
157
|
+
* @memberof Fulfillment
|
|
158
|
+
*/
|
|
159
|
+
'total': number;
|
|
160
|
+
/**
|
|
161
|
+
*
|
|
143
162
|
* @type {string}
|
|
144
|
-
* @memberof
|
|
163
|
+
* @memberof Fulfillment
|
|
145
164
|
*/
|
|
146
|
-
'
|
|
165
|
+
'createdAt': string;
|
|
147
166
|
}
|
|
148
167
|
/**
|
|
149
168
|
* Image description
|
|
@@ -194,6 +213,25 @@ export interface Image {
|
|
|
194
213
|
*/
|
|
195
214
|
'updatedAt'?: string;
|
|
196
215
|
}
|
|
216
|
+
/**
|
|
217
|
+
*
|
|
218
|
+
* @export
|
|
219
|
+
* @interface ListFulfillments200Response
|
|
220
|
+
*/
|
|
221
|
+
export interface ListFulfillments200Response {
|
|
222
|
+
/**
|
|
223
|
+
*
|
|
224
|
+
* @type {Array<Fulfillment>}
|
|
225
|
+
* @memberof ListFulfillments200Response
|
|
226
|
+
*/
|
|
227
|
+
'fulfillments'?: Array<Fulfillment>;
|
|
228
|
+
/**
|
|
229
|
+
*
|
|
230
|
+
* @type {number}
|
|
231
|
+
* @memberof ListFulfillments200Response
|
|
232
|
+
*/
|
|
233
|
+
'nextPageToken'?: number | null;
|
|
234
|
+
}
|
|
197
235
|
/**
|
|
198
236
|
*
|
|
199
237
|
* @export
|
|
@@ -348,6 +386,12 @@ export interface Statement {
|
|
|
348
386
|
* @memberof Statement
|
|
349
387
|
*/
|
|
350
388
|
'fulfillmentCount': number;
|
|
389
|
+
/**
|
|
390
|
+
*
|
|
391
|
+
* @type {string}
|
|
392
|
+
* @memberof Statement
|
|
393
|
+
*/
|
|
394
|
+
'issuedAt'?: string;
|
|
351
395
|
}
|
|
352
396
|
/**
|
|
353
397
|
*
|
|
@@ -1111,6 +1155,65 @@ export const TransactionsApiAxiosParamCreator = function (configuration?: Config
|
|
|
1111
1155
|
options: localVarRequestOptions,
|
|
1112
1156
|
};
|
|
1113
1157
|
},
|
|
1158
|
+
/**
|
|
1159
|
+
* Lists all the fulfillments in the project with GFN transactions
|
|
1160
|
+
* @summary Lists the GFN fulfillments of the project
|
|
1161
|
+
* @param {string} project What project it is
|
|
1162
|
+
* @param {number} [pageToken] Page reference token
|
|
1163
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1164
|
+
* @param {string} [statementId]
|
|
1165
|
+
* @param {*} [options] Override http request option.
|
|
1166
|
+
* @throws {RequiredError}
|
|
1167
|
+
*/
|
|
1168
|
+
listFulfillments: async (project: string, pageToken?: number, pageSize?: number, statementId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1169
|
+
// verify required parameter 'project' is not null or undefined
|
|
1170
|
+
assertParamExists('listFulfillments', 'project', project)
|
|
1171
|
+
const localVarPath = `/v1/gfn/transactions/fulfillments`;
|
|
1172
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1173
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1174
|
+
let baseOptions;
|
|
1175
|
+
if (configuration) {
|
|
1176
|
+
baseOptions = configuration.baseOptions;
|
|
1177
|
+
}
|
|
1178
|
+
|
|
1179
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1180
|
+
const localVarHeaderParameter = {} as any;
|
|
1181
|
+
const localVarQueryParameter = {} as any;
|
|
1182
|
+
|
|
1183
|
+
// authentication session-oauth required
|
|
1184
|
+
// oauth required
|
|
1185
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
1186
|
+
|
|
1187
|
+
// authentication api-key required
|
|
1188
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1189
|
+
|
|
1190
|
+
if (project !== undefined) {
|
|
1191
|
+
localVarQueryParameter['project'] = project;
|
|
1192
|
+
}
|
|
1193
|
+
|
|
1194
|
+
if (pageToken !== undefined) {
|
|
1195
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
1196
|
+
}
|
|
1197
|
+
|
|
1198
|
+
if (pageSize !== undefined) {
|
|
1199
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
1200
|
+
}
|
|
1201
|
+
|
|
1202
|
+
if (statementId !== undefined) {
|
|
1203
|
+
localVarQueryParameter['statementId'] = statementId;
|
|
1204
|
+
}
|
|
1205
|
+
|
|
1206
|
+
|
|
1207
|
+
|
|
1208
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1209
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1210
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1211
|
+
|
|
1212
|
+
return {
|
|
1213
|
+
url: toPathString(localVarUrlObj),
|
|
1214
|
+
options: localVarRequestOptions,
|
|
1215
|
+
};
|
|
1216
|
+
},
|
|
1114
1217
|
/**
|
|
1115
1218
|
* Lists all GFN transactions available to the project
|
|
1116
1219
|
* @summary List GFN transactions
|
|
@@ -1204,6 +1307,22 @@ export const TransactionsApiFp = function(configuration?: Configuration) {
|
|
|
1204
1307
|
const localVarOperationServerBasePath = operationServerMap['TransactionsApi.exportTransactions']?.[localVarOperationServerIndex]?.url;
|
|
1205
1308
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1206
1309
|
},
|
|
1310
|
+
/**
|
|
1311
|
+
* Lists all the fulfillments in the project with GFN transactions
|
|
1312
|
+
* @summary Lists the GFN fulfillments of the project
|
|
1313
|
+
* @param {string} project What project it is
|
|
1314
|
+
* @param {number} [pageToken] Page reference token
|
|
1315
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1316
|
+
* @param {string} [statementId]
|
|
1317
|
+
* @param {*} [options] Override http request option.
|
|
1318
|
+
* @throws {RequiredError}
|
|
1319
|
+
*/
|
|
1320
|
+
async listFulfillments(project: string, pageToken?: number, pageSize?: number, statementId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListFulfillments200Response>> {
|
|
1321
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listFulfillments(project, pageToken, pageSize, statementId, options);
|
|
1322
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1323
|
+
const localVarOperationServerBasePath = operationServerMap['TransactionsApi.listFulfillments']?.[localVarOperationServerIndex]?.url;
|
|
1324
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1325
|
+
},
|
|
1207
1326
|
/**
|
|
1208
1327
|
* Lists all GFN transactions available to the project
|
|
1209
1328
|
* @summary List GFN transactions
|
|
@@ -1242,6 +1361,16 @@ export const TransactionsApiFactory = function (configuration?: Configuration, b
|
|
|
1242
1361
|
exportTransactions(requestParameters: TransactionsApiExportTransactionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<File> {
|
|
1243
1362
|
return localVarFp.exportTransactions(requestParameters.project, requestParameters.exportTransactionsRequest, options).then((request) => request(axios, basePath));
|
|
1244
1363
|
},
|
|
1364
|
+
/**
|
|
1365
|
+
* Lists all the fulfillments in the project with GFN transactions
|
|
1366
|
+
* @summary Lists the GFN fulfillments of the project
|
|
1367
|
+
* @param {TransactionsApiListFulfillmentsRequest} requestParameters Request parameters.
|
|
1368
|
+
* @param {*} [options] Override http request option.
|
|
1369
|
+
* @throws {RequiredError}
|
|
1370
|
+
*/
|
|
1371
|
+
listFulfillments(requestParameters: TransactionsApiListFulfillmentsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListFulfillments200Response> {
|
|
1372
|
+
return localVarFp.listFulfillments(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.statementId, options).then((request) => request(axios, basePath));
|
|
1373
|
+
},
|
|
1245
1374
|
/**
|
|
1246
1375
|
* Lists all GFN transactions available to the project
|
|
1247
1376
|
* @summary List GFN transactions
|
|
@@ -1276,6 +1405,41 @@ export interface TransactionsApiExportTransactionsRequest {
|
|
|
1276
1405
|
readonly exportTransactionsRequest: ExportTransactionsRequest
|
|
1277
1406
|
}
|
|
1278
1407
|
|
|
1408
|
+
/**
|
|
1409
|
+
* Request parameters for listFulfillments operation in TransactionsApi.
|
|
1410
|
+
* @export
|
|
1411
|
+
* @interface TransactionsApiListFulfillmentsRequest
|
|
1412
|
+
*/
|
|
1413
|
+
export interface TransactionsApiListFulfillmentsRequest {
|
|
1414
|
+
/**
|
|
1415
|
+
* What project it is
|
|
1416
|
+
* @type {string}
|
|
1417
|
+
* @memberof TransactionsApiListFulfillments
|
|
1418
|
+
*/
|
|
1419
|
+
readonly project: string
|
|
1420
|
+
|
|
1421
|
+
/**
|
|
1422
|
+
* Page reference token
|
|
1423
|
+
* @type {number}
|
|
1424
|
+
* @memberof TransactionsApiListFulfillments
|
|
1425
|
+
*/
|
|
1426
|
+
readonly pageToken?: number
|
|
1427
|
+
|
|
1428
|
+
/**
|
|
1429
|
+
* Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1430
|
+
* @type {number}
|
|
1431
|
+
* @memberof TransactionsApiListFulfillments
|
|
1432
|
+
*/
|
|
1433
|
+
readonly pageSize?: number
|
|
1434
|
+
|
|
1435
|
+
/**
|
|
1436
|
+
*
|
|
1437
|
+
* @type {string}
|
|
1438
|
+
* @memberof TransactionsApiListFulfillments
|
|
1439
|
+
*/
|
|
1440
|
+
readonly statementId?: string
|
|
1441
|
+
}
|
|
1442
|
+
|
|
1279
1443
|
/**
|
|
1280
1444
|
* Request parameters for listTransactions operation in TransactionsApi.
|
|
1281
1445
|
* @export
|
|
@@ -1344,6 +1508,18 @@ export class TransactionsApi extends BaseAPI {
|
|
|
1344
1508
|
return TransactionsApiFp(this.configuration).exportTransactions(requestParameters.project, requestParameters.exportTransactionsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1345
1509
|
}
|
|
1346
1510
|
|
|
1511
|
+
/**
|
|
1512
|
+
* Lists all the fulfillments in the project with GFN transactions
|
|
1513
|
+
* @summary Lists the GFN fulfillments of the project
|
|
1514
|
+
* @param {TransactionsApiListFulfillmentsRequest} requestParameters Request parameters.
|
|
1515
|
+
* @param {*} [options] Override http request option.
|
|
1516
|
+
* @throws {RequiredError}
|
|
1517
|
+
* @memberof TransactionsApi
|
|
1518
|
+
*/
|
|
1519
|
+
public listFulfillments(requestParameters: TransactionsApiListFulfillmentsRequest, options?: RawAxiosRequestConfig) {
|
|
1520
|
+
return TransactionsApiFp(this.configuration).listFulfillments(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.statementId, options).then((request) => request(this.axios, this.basePath));
|
|
1521
|
+
}
|
|
1522
|
+
|
|
1347
1523
|
/**
|
|
1348
1524
|
* Lists all GFN transactions available to the project
|
|
1349
1525
|
* @summary List GFN transactions
|
package/base.ts
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* GFN Catalog API
|
|
5
|
-
* Use this API to access the Global
|
|
5
|
+
* Use this API to access the Global Fulfillment 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.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
8
|
-
*
|
|
7
|
+
* The version of the OpenAPI document: 3.1.0
|
|
8
|
+
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
@@ -19,7 +19,7 @@ import type { Configuration } from './configuration';
|
|
|
19
19
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
20
20
|
import globalAxios from 'axios';
|
|
21
21
|
|
|
22
|
-
export const BASE_PATH = "https://api.
|
|
22
|
+
export const BASE_PATH = "https://api.podos.io".replace(/\/+$/, "");
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
25
|
*
|
package/common.ts
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* GFN Catalog API
|
|
5
|
-
* Use this API to access the Global
|
|
5
|
+
* Use this API to access the Global Fulfillment 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.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
8
|
-
*
|
|
7
|
+
* The version of the OpenAPI document: 3.1.0
|
|
8
|
+
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
package/configuration.ts
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* GFN Catalog API
|
|
5
|
-
* Use this API to access the Global
|
|
5
|
+
* Use this API to access the Global Fulfillment 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.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
8
|
-
*
|
|
7
|
+
* The version of the OpenAPI document: 3.1.0
|
|
8
|
+
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
package/dist/api.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* GFN Catalog API
|
|
3
|
-
* Use this API to access the Global
|
|
3
|
+
* Use this API to access the Global Fulfillment 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
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 3.1.0
|
|
4
6
|
*
|
|
5
|
-
* The version of the OpenAPI document: 2.2.0
|
|
6
|
-
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* 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
|
|
@@ -337,6 +375,12 @@ export interface Statement {
|
|
|
337
375
|
* @memberof Statement
|
|
338
376
|
*/
|
|
339
377
|
'fulfillmentCount': number;
|
|
378
|
+
/**
|
|
379
|
+
*
|
|
380
|
+
* @type {string}
|
|
381
|
+
* @memberof Statement
|
|
382
|
+
*/
|
|
383
|
+
'issuedAt'?: string;
|
|
340
384
|
}
|
|
341
385
|
/**
|
|
342
386
|
*
|
|
@@ -848,6 +892,17 @@ export declare const TransactionsApiAxiosParamCreator: (configuration?: Configur
|
|
|
848
892
|
* @throws {RequiredError}
|
|
849
893
|
*/
|
|
850
894
|
exportTransactions: (project: string, exportTransactionsRequest: ExportTransactionsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
895
|
+
/**
|
|
896
|
+
* Lists all the fulfillments in the project with GFN transactions
|
|
897
|
+
* @summary Lists the GFN fulfillments of the project
|
|
898
|
+
* @param {string} project What project it is
|
|
899
|
+
* @param {number} [pageToken] Page reference token
|
|
900
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
901
|
+
* @param {string} [statementId]
|
|
902
|
+
* @param {*} [options] Override http request option.
|
|
903
|
+
* @throws {RequiredError}
|
|
904
|
+
*/
|
|
905
|
+
listFulfillments: (project: string, pageToken?: number, pageSize?: number, statementId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
851
906
|
/**
|
|
852
907
|
* Lists all GFN transactions available to the project
|
|
853
908
|
* @summary List GFN transactions
|
|
@@ -876,6 +931,17 @@ export declare const TransactionsApiFp: (configuration?: Configuration) => {
|
|
|
876
931
|
* @throws {RequiredError}
|
|
877
932
|
*/
|
|
878
933
|
exportTransactions(project: string, exportTransactionsRequest: ExportTransactionsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
934
|
+
/**
|
|
935
|
+
* Lists all the fulfillments in the project with GFN transactions
|
|
936
|
+
* @summary Lists the GFN fulfillments of the project
|
|
937
|
+
* @param {string} project What project it is
|
|
938
|
+
* @param {number} [pageToken] Page reference token
|
|
939
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
940
|
+
* @param {string} [statementId]
|
|
941
|
+
* @param {*} [options] Override http request option.
|
|
942
|
+
* @throws {RequiredError}
|
|
943
|
+
*/
|
|
944
|
+
listFulfillments(project: string, pageToken?: number, pageSize?: number, statementId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListFulfillments200Response>>;
|
|
879
945
|
/**
|
|
880
946
|
* Lists all GFN transactions available to the project
|
|
881
947
|
* @summary List GFN transactions
|
|
@@ -903,6 +969,14 @@ export declare const TransactionsApiFactory: (configuration?: Configuration, bas
|
|
|
903
969
|
* @throws {RequiredError}
|
|
904
970
|
*/
|
|
905
971
|
exportTransactions(requestParameters: TransactionsApiExportTransactionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<File>;
|
|
972
|
+
/**
|
|
973
|
+
* Lists all the fulfillments in the project with GFN transactions
|
|
974
|
+
* @summary Lists the GFN fulfillments of the project
|
|
975
|
+
* @param {TransactionsApiListFulfillmentsRequest} requestParameters Request parameters.
|
|
976
|
+
* @param {*} [options] Override http request option.
|
|
977
|
+
* @throws {RequiredError}
|
|
978
|
+
*/
|
|
979
|
+
listFulfillments(requestParameters: TransactionsApiListFulfillmentsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListFulfillments200Response>;
|
|
906
980
|
/**
|
|
907
981
|
* Lists all GFN transactions available to the project
|
|
908
982
|
* @summary List GFN transactions
|
|
@@ -931,6 +1005,37 @@ export interface TransactionsApiExportTransactionsRequest {
|
|
|
931
1005
|
*/
|
|
932
1006
|
readonly exportTransactionsRequest: ExportTransactionsRequest;
|
|
933
1007
|
}
|
|
1008
|
+
/**
|
|
1009
|
+
* Request parameters for listFulfillments operation in TransactionsApi.
|
|
1010
|
+
* @export
|
|
1011
|
+
* @interface TransactionsApiListFulfillmentsRequest
|
|
1012
|
+
*/
|
|
1013
|
+
export interface TransactionsApiListFulfillmentsRequest {
|
|
1014
|
+
/**
|
|
1015
|
+
* What project it is
|
|
1016
|
+
* @type {string}
|
|
1017
|
+
* @memberof TransactionsApiListFulfillments
|
|
1018
|
+
*/
|
|
1019
|
+
readonly project: string;
|
|
1020
|
+
/**
|
|
1021
|
+
* Page reference token
|
|
1022
|
+
* @type {number}
|
|
1023
|
+
* @memberof TransactionsApiListFulfillments
|
|
1024
|
+
*/
|
|
1025
|
+
readonly pageToken?: number;
|
|
1026
|
+
/**
|
|
1027
|
+
* Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1028
|
+
* @type {number}
|
|
1029
|
+
* @memberof TransactionsApiListFulfillments
|
|
1030
|
+
*/
|
|
1031
|
+
readonly pageSize?: number;
|
|
1032
|
+
/**
|
|
1033
|
+
*
|
|
1034
|
+
* @type {string}
|
|
1035
|
+
* @memberof TransactionsApiListFulfillments
|
|
1036
|
+
*/
|
|
1037
|
+
readonly statementId?: string;
|
|
1038
|
+
}
|
|
934
1039
|
/**
|
|
935
1040
|
* Request parameters for listTransactions operation in TransactionsApi.
|
|
936
1041
|
* @export
|
|
@@ -990,6 +1095,15 @@ export declare class TransactionsApi extends BaseAPI {
|
|
|
990
1095
|
* @memberof TransactionsApi
|
|
991
1096
|
*/
|
|
992
1097
|
exportTransactions(requestParameters: TransactionsApiExportTransactionsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any>>;
|
|
1098
|
+
/**
|
|
1099
|
+
* Lists all the fulfillments in the project with GFN transactions
|
|
1100
|
+
* @summary Lists the GFN fulfillments of the project
|
|
1101
|
+
* @param {TransactionsApiListFulfillmentsRequest} requestParameters Request parameters.
|
|
1102
|
+
* @param {*} [options] Override http request option.
|
|
1103
|
+
* @throws {RequiredError}
|
|
1104
|
+
* @memberof TransactionsApi
|
|
1105
|
+
*/
|
|
1106
|
+
listFulfillments(requestParameters: TransactionsApiListFulfillmentsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListFulfillments200Response, any>>;
|
|
993
1107
|
/**
|
|
994
1108
|
* Lists all GFN transactions available to the project
|
|
995
1109
|
* @summary List GFN transactions
|