@commercetools/importapi-sdk 2.4.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/CHANGELOG.md +47 -0
- package/README.md +1 -1
- package/dist/commercetools-importapi-sdk.browser.cjs.js +247 -1383
- package/dist/commercetools-importapi-sdk.browser.esm.js +247 -1383
- package/dist/commercetools-importapi-sdk.cjs.dev.js +247 -1383
- package/dist/commercetools-importapi-sdk.cjs.prod.js +247 -1383
- package/dist/commercetools-importapi-sdk.esm.js +247 -1383
- package/dist/declarations/src/generated/client/by-project-key-request-builder.d.ts +4 -4
- package/dist/declarations/src/generated/client/categories/by-project-key-categories-request-builder.d.ts +2 -4
- package/dist/declarations/src/generated/client/customers/by-project-key-customers-request-builder.d.ts +2 -4
- package/dist/declarations/src/generated/client/import-containers/by-project-key-categories-import-containers-by-import-container-key-request-builder.d.ts +2 -0
- package/dist/declarations/src/generated/client/import-containers/by-project-key-categories-import-containers-request-builder.d.ts +2 -0
- package/dist/declarations/src/generated/client/import-containers/by-project-key-customers-import-containers-by-import-container-key-request-builder.d.ts +2 -0
- package/dist/declarations/src/generated/client/import-containers/by-project-key-customers-import-containers-request-builder.d.ts +2 -0
- package/dist/declarations/src/generated/client/import-containers/by-project-key-import-containers-by-import-container-key-request-builder.d.ts +2 -0
- package/dist/declarations/src/generated/client/import-containers/by-project-key-import-containers-request-builder.d.ts +2 -0
- package/dist/declarations/src/generated/client/{import-operations/by-project-key-order-patches-import-sink-key-by-import-sink-key-import-operations-by-id-request-builder.d.ts → import-containers/by-project-key-inventories-import-containers-by-import-container-key-request-builder.d.ts} +10 -10
- package/dist/declarations/src/generated/client/{import-operations/by-project-key-categories-import-sink-key-by-import-sink-key-import-operations-by-id-request-builder.d.ts → import-containers/by-project-key-inventories-import-containers-request-builder.d.ts} +7 -16
- package/dist/declarations/src/generated/client/import-containers/by-project-key-order-patches-import-containers-by-import-container-key-request-builder.d.ts +2 -0
- package/dist/declarations/src/generated/client/import-containers/by-project-key-order-patches-import-containers-request-builder.d.ts +2 -0
- package/dist/declarations/src/generated/client/import-containers/by-project-key-orders-import-containers-by-import-container-key-request-builder.d.ts +2 -0
- package/dist/declarations/src/generated/client/import-containers/by-project-key-orders-import-containers-request-builder.d.ts +2 -0
- package/dist/declarations/src/generated/client/import-containers/by-project-key-prices-import-containers-by-import-container-key-request-builder.d.ts +2 -0
- package/dist/declarations/src/generated/client/import-containers/by-project-key-prices-import-containers-request-builder.d.ts +2 -0
- package/dist/declarations/src/generated/client/import-containers/by-project-key-product-drafts-import-containers-by-import-container-key-request-builder.d.ts +2 -0
- package/dist/declarations/src/generated/client/import-containers/by-project-key-product-drafts-import-containers-request-builder.d.ts +2 -0
- package/dist/declarations/src/generated/client/import-containers/by-project-key-product-types-import-containers-by-import-container-key-request-builder.d.ts +2 -0
- package/dist/declarations/src/generated/client/import-containers/by-project-key-product-types-import-containers-request-builder.d.ts +2 -0
- package/dist/declarations/src/generated/client/import-containers/by-project-key-product-variant-patches-import-containers-by-import-container-key-request-builder.d.ts +2 -0
- package/dist/declarations/src/generated/client/import-containers/by-project-key-product-variant-patches-import-containers-request-builder.d.ts +2 -0
- package/dist/declarations/src/generated/client/import-containers/by-project-key-product-variants-import-containers-by-import-container-key-request-builder.d.ts +2 -0
- package/dist/declarations/src/generated/client/import-containers/by-project-key-product-variants-import-containers-request-builder.d.ts +2 -0
- package/dist/declarations/src/generated/client/import-containers/by-project-key-products-import-containers-by-import-container-key-request-builder.d.ts +2 -0
- package/dist/declarations/src/generated/client/import-containers/by-project-key-products-import-containers-request-builder.d.ts +2 -0
- package/dist/declarations/src/generated/client/import-operations/by-project-key-import-containers-by-import-container-key-import-operations-request-builder.d.ts +2 -0
- package/dist/declarations/src/generated/client/import-operations/by-project-key-import-operations-by-id-request-builder.d.ts +2 -0
- package/dist/declarations/src/generated/client/import-operations/by-project-key-import-operations-request-builder.d.ts +2 -0
- package/dist/declarations/src/generated/client/import-summaries/by-project-key-import-containers-by-import-container-key-import-summaries-request-builder.d.ts +2 -0
- package/dist/declarations/src/generated/client/{import-summaries/by-project-key-import-summaries-request-builder.d.ts → inventories/by-project-key-inventories-request-builder.d.ts} +5 -5
- package/dist/declarations/src/generated/client/order-patches/by-project-key-order-patches-request-builder.d.ts +2 -4
- package/dist/declarations/src/generated/client/orders/by-project-key-orders-request-builder.d.ts +2 -4
- package/dist/declarations/src/generated/client/prices/by-project-key-prices-request-builder.d.ts +2 -4
- package/dist/declarations/src/generated/client/product-drafts/by-project-key-product-drafts-request-builder.d.ts +2 -4
- package/dist/declarations/src/generated/client/product-types/by-project-key-product-types-request-builder.d.ts +2 -4
- package/dist/declarations/src/generated/client/product-variant-patches/by-project-key-product-variant-patches-request-builder.d.ts +2 -4
- package/dist/declarations/src/generated/client/product-variants/by-project-key-product-variants-request-builder.d.ts +2 -4
- package/dist/declarations/src/generated/client/products/by-project-key-products-request-builder.d.ts +2 -4
- package/dist/declarations/src/generated/index.d.ts +1 -1
- package/dist/declarations/src/generated/models/common.d.ts +5 -4
- package/dist/declarations/src/generated/models/customfields.d.ts +2 -2
- package/dist/declarations/src/generated/models/errors.d.ts +2 -2
- package/dist/declarations/src/generated/models/importcontainers.d.ts +2 -3
- package/dist/declarations/src/generated/models/importoperations.d.ts +2 -3
- package/dist/declarations/src/generated/models/importrequests.d.ts +23 -9
- package/dist/declarations/src/generated/models/inventories.d.ts +49 -0
- package/dist/declarations/src/generated/models/order-patches.d.ts +2 -2
- package/dist/declarations/src/generated/models/orders.d.ts +6 -1
- package/dist/declarations/src/generated/models/prices.d.ts +8 -8
- package/dist/declarations/src/generated/models/productdrafts.d.ts +8 -2
- package/dist/declarations/src/generated/models/products.d.ts +8 -2
- package/dist/declarations/src/generated/models/productvariants.d.ts +4 -4
- package/package.json +11 -5
- package/dist/declarations/src/generated/client/categories/by-project-key-categories-import-sink-key-by-import-sink-key-request-builder.d.ts +0 -37
- package/dist/declarations/src/generated/client/customers/by-project-key-customers-import-sink-key-by-import-sink-key-request-builder.d.ts +0 -37
- package/dist/declarations/src/generated/client/import-operations/by-project-key-categories-import-sink-key-by-import-sink-key-import-operations-request-builder.d.ts +0 -49
- package/dist/declarations/src/generated/client/import-operations/by-project-key-customers-import-sink-key-by-import-sink-key-import-operations-by-id-request-builder.d.ts +0 -37
- package/dist/declarations/src/generated/client/import-operations/by-project-key-customers-import-sink-key-by-import-sink-key-import-operations-request-builder.d.ts +0 -48
- package/dist/declarations/src/generated/client/import-operations/by-project-key-order-patches-import-sink-key-by-import-sink-key-import-operations-request-builder.d.ts +0 -48
- package/dist/declarations/src/generated/client/import-operations/by-project-key-orders-import-sink-key-by-import-sink-key-import-operations-by-id-request-builder.d.ts +0 -37
- package/dist/declarations/src/generated/client/import-operations/by-project-key-orders-import-sink-key-by-import-sink-key-import-operations-request-builder.d.ts +0 -48
- package/dist/declarations/src/generated/client/import-operations/by-project-key-prices-import-sink-key-by-import-sink-key-import-operations-by-id-request-builder.d.ts +0 -37
- package/dist/declarations/src/generated/client/import-operations/by-project-key-prices-import-sink-key-by-import-sink-key-import-operations-request-builder.d.ts +0 -48
- package/dist/declarations/src/generated/client/import-operations/by-project-key-product-drafts-import-sink-key-by-import-sink-key-import-operations-by-id-request-builder.d.ts +0 -37
- package/dist/declarations/src/generated/client/import-operations/by-project-key-product-drafts-import-sink-key-by-import-sink-key-import-operations-request-builder.d.ts +0 -48
- package/dist/declarations/src/generated/client/import-operations/by-project-key-product-types-import-sink-key-by-import-sink-key-import-operations-by-id-request-builder.d.ts +0 -37
- package/dist/declarations/src/generated/client/import-operations/by-project-key-product-types-import-sink-key-by-import-sink-key-import-operations-request-builder.d.ts +0 -48
- package/dist/declarations/src/generated/client/import-operations/by-project-key-product-variant-patches-import-sink-key-by-import-sink-key-import-operations-by-id-request-builder.d.ts +0 -37
- package/dist/declarations/src/generated/client/import-operations/by-project-key-product-variant-patches-import-sink-key-by-import-sink-key-import-operations-request-builder.d.ts +0 -48
- package/dist/declarations/src/generated/client/import-operations/by-project-key-product-variants-import-sink-key-by-import-sink-key-import-operations-by-id-request-builder.d.ts +0 -37
- package/dist/declarations/src/generated/client/import-operations/by-project-key-product-variants-import-sink-key-by-import-sink-key-import-operations-request-builder.d.ts +0 -48
- package/dist/declarations/src/generated/client/import-operations/by-project-key-products-import-sink-key-by-import-sink-key-import-operations-by-id-request-builder.d.ts +0 -37
- package/dist/declarations/src/generated/client/import-operations/by-project-key-products-import-sink-key-by-import-sink-key-import-operations-request-builder.d.ts +0 -48
- package/dist/declarations/src/generated/client/import-sinks/by-project-key-import-sinks-by-import-sink-key-request-builder.d.ts +0 -51
- package/dist/declarations/src/generated/client/import-sinks/by-project-key-import-sinks-request-builder.d.ts +0 -51
- package/dist/declarations/src/generated/client/import-summaries/by-project-key-import-summaries-import-sink-key-by-import-sink-key-request-builder.d.ts +0 -37
- package/dist/declarations/src/generated/client/order-patches/by-project-key-order-patches-import-sink-key-by-import-sink-key-request-builder.d.ts +0 -37
- package/dist/declarations/src/generated/client/orders/by-project-key-orders-import-sink-key-by-import-sink-key-request-builder.d.ts +0 -37
- package/dist/declarations/src/generated/client/prices/by-project-key-prices-import-sink-key-by-import-sink-key-request-builder.d.ts +0 -37
- package/dist/declarations/src/generated/client/product-drafts/by-project-key-product-drafts-import-sink-key-by-import-sink-key-request-builder.d.ts +0 -38
- package/dist/declarations/src/generated/client/product-types/by-project-key-product-types-import-sink-key-by-import-sink-key-request-builder.d.ts +0 -37
- package/dist/declarations/src/generated/client/product-variant-patches/by-project-key-product-variant-patches-import-sink-key-by-import-sink-key-request-builder.d.ts +0 -37
- package/dist/declarations/src/generated/client/product-variants/by-project-key-product-variants-import-sink-key-by-import-sink-key-request-builder.d.ts +0 -37
- package/dist/declarations/src/generated/client/products/by-project-key-products-import-sink-key-by-import-sink-key-request-builder.d.ts +0 -37
- package/dist/declarations/src/generated/models/importsinks.d.ts +0 -113
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Code generated by [commercetools RMF-Codegen](https://github.com/commercetools/rmf-codegen). DO NOT EDIT.
|
|
3
|
-
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
4
|
-
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
5
|
-
*/
|
|
6
|
-
import { ProcessingState } from '../../models/common';
|
|
7
|
-
import { ImportOperationPagedResponse } from '../../models/importoperations';
|
|
8
|
-
import { executeRequest, QueryParam } from '../../shared/utils/common-types';
|
|
9
|
-
import { ApiRequest } from '../../shared/utils/requests-utils';
|
|
10
|
-
import { ByProjectKeyProductsImportSinkKeyByImportSinkKeyImportOperationsByIdRequestBuilder } from './by-project-key-products-import-sink-key-by-import-sink-key-import-operations-by-id-request-builder';
|
|
11
|
-
export declare class ByProjectKeyProductsImportSinkKeyByImportSinkKeyImportOperationsRequestBuilder {
|
|
12
|
-
protected readonly args: {
|
|
13
|
-
pathArgs: {
|
|
14
|
-
projectKey: string;
|
|
15
|
-
importSinkKey: string;
|
|
16
|
-
};
|
|
17
|
-
executeRequest: executeRequest;
|
|
18
|
-
baseUri?: string;
|
|
19
|
-
};
|
|
20
|
-
constructor(args: {
|
|
21
|
-
pathArgs: {
|
|
22
|
-
projectKey: string;
|
|
23
|
-
importSinkKey: string;
|
|
24
|
-
};
|
|
25
|
-
executeRequest: executeRequest;
|
|
26
|
-
baseUri?: string;
|
|
27
|
-
});
|
|
28
|
-
withIdValue(childPathArgs: {
|
|
29
|
-
id: string;
|
|
30
|
-
}): ByProjectKeyProductsImportSinkKeyByImportSinkKeyImportOperationsByIdRequestBuilder;
|
|
31
|
-
/**
|
|
32
|
-
* Retrieves all product import operations of an import sink key.
|
|
33
|
-
*/
|
|
34
|
-
get(methodArgs?: {
|
|
35
|
-
queryArgs?: {
|
|
36
|
-
limit?: number;
|
|
37
|
-
offset?: number;
|
|
38
|
-
sort?: string | string[];
|
|
39
|
-
resourceKey?: string;
|
|
40
|
-
state?: ProcessingState;
|
|
41
|
-
debug?: boolean;
|
|
42
|
-
[key: string]: QueryParam;
|
|
43
|
-
};
|
|
44
|
-
headers?: {
|
|
45
|
-
[key: string]: string | string[];
|
|
46
|
-
};
|
|
47
|
-
}): ApiRequest<ImportOperationPagedResponse>;
|
|
48
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Code generated by [commercetools RMF-Codegen](https://github.com/commercetools/rmf-codegen). DO NOT EDIT.
|
|
3
|
-
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
4
|
-
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
5
|
-
*/
|
|
6
|
-
import { ImportSink, ImportSinkUpdateDraft } from '../../models/importsinks';
|
|
7
|
-
import { executeRequest } from '../../shared/utils/common-types';
|
|
8
|
-
import { ApiRequest } from '../../shared/utils/requests-utils';
|
|
9
|
-
export declare class ByProjectKeyImportSinksByImportSinkKeyRequestBuilder {
|
|
10
|
-
protected readonly args: {
|
|
11
|
-
pathArgs: {
|
|
12
|
-
projectKey: string;
|
|
13
|
-
importSinkKey: string;
|
|
14
|
-
};
|
|
15
|
-
executeRequest: executeRequest;
|
|
16
|
-
baseUri?: string;
|
|
17
|
-
};
|
|
18
|
-
constructor(args: {
|
|
19
|
-
pathArgs: {
|
|
20
|
-
projectKey: string;
|
|
21
|
-
importSinkKey: string;
|
|
22
|
-
};
|
|
23
|
-
executeRequest: executeRequest;
|
|
24
|
-
baseUri?: string;
|
|
25
|
-
});
|
|
26
|
-
/**
|
|
27
|
-
* Updates the import sink given by the key.
|
|
28
|
-
*/
|
|
29
|
-
put(methodArgs: {
|
|
30
|
-
body: ImportSinkUpdateDraft;
|
|
31
|
-
headers?: {
|
|
32
|
-
[key: string]: string | string[];
|
|
33
|
-
};
|
|
34
|
-
}): ApiRequest<ImportSink>;
|
|
35
|
-
/**
|
|
36
|
-
* Retrieves the import sink given by the key.
|
|
37
|
-
*/
|
|
38
|
-
get(methodArgs?: {
|
|
39
|
-
headers?: {
|
|
40
|
-
[key: string]: string | string[];
|
|
41
|
-
};
|
|
42
|
-
}): ApiRequest<ImportSink>;
|
|
43
|
-
/**
|
|
44
|
-
* Deletes the import sink given by the key.
|
|
45
|
-
*/
|
|
46
|
-
delete(methodArgs?: {
|
|
47
|
-
headers?: {
|
|
48
|
-
[key: string]: string | string[];
|
|
49
|
-
};
|
|
50
|
-
}): ApiRequest<ImportSink>;
|
|
51
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Code generated by [commercetools RMF-Codegen](https://github.com/commercetools/rmf-codegen). DO NOT EDIT.
|
|
3
|
-
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
4
|
-
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
5
|
-
*/
|
|
6
|
-
import { ImportSink, ImportSinkDraft, ImportSinkPagedResponse } from '../../models/importsinks';
|
|
7
|
-
import { executeRequest, QueryParam } from '../../shared/utils/common-types';
|
|
8
|
-
import { ApiRequest } from '../../shared/utils/requests-utils';
|
|
9
|
-
import { ByProjectKeyImportSinksByImportSinkKeyRequestBuilder } from './by-project-key-import-sinks-by-import-sink-key-request-builder';
|
|
10
|
-
export declare class ByProjectKeyImportSinksRequestBuilder {
|
|
11
|
-
protected readonly args: {
|
|
12
|
-
pathArgs: {
|
|
13
|
-
projectKey: string;
|
|
14
|
-
};
|
|
15
|
-
executeRequest: executeRequest;
|
|
16
|
-
baseUri?: string;
|
|
17
|
-
};
|
|
18
|
-
constructor(args: {
|
|
19
|
-
pathArgs: {
|
|
20
|
-
projectKey: string;
|
|
21
|
-
};
|
|
22
|
-
executeRequest: executeRequest;
|
|
23
|
-
baseUri?: string;
|
|
24
|
-
});
|
|
25
|
-
withImportSinkKeyValue(childPathArgs: {
|
|
26
|
-
importSinkKey: string;
|
|
27
|
-
}): ByProjectKeyImportSinksByImportSinkKeyRequestBuilder;
|
|
28
|
-
/**
|
|
29
|
-
* Creates a new import sink.
|
|
30
|
-
*/
|
|
31
|
-
post(methodArgs: {
|
|
32
|
-
body: ImportSinkDraft;
|
|
33
|
-
headers?: {
|
|
34
|
-
[key: string]: string | string[];
|
|
35
|
-
};
|
|
36
|
-
}): ApiRequest<ImportSink>;
|
|
37
|
-
/**
|
|
38
|
-
* Retrieves all import sinks of a project key.
|
|
39
|
-
*/
|
|
40
|
-
get(methodArgs?: {
|
|
41
|
-
queryArgs?: {
|
|
42
|
-
limit?: number;
|
|
43
|
-
offset?: number;
|
|
44
|
-
sort?: string | string[];
|
|
45
|
-
[key: string]: QueryParam;
|
|
46
|
-
};
|
|
47
|
-
headers?: {
|
|
48
|
-
[key: string]: string | string[];
|
|
49
|
-
};
|
|
50
|
-
}): ApiRequest<ImportSinkPagedResponse>;
|
|
51
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Code generated by [commercetools RMF-Codegen](https://github.com/commercetools/rmf-codegen). DO NOT EDIT.
|
|
3
|
-
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
4
|
-
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
5
|
-
*/
|
|
6
|
-
import { ImportSummary } from '../../models/importsummaries';
|
|
7
|
-
import { executeRequest } from '../../shared/utils/common-types';
|
|
8
|
-
import { ApiRequest } from '../../shared/utils/requests-utils';
|
|
9
|
-
export declare class ByProjectKeyImportSummariesImportSinkKeyByImportSinkKeyRequestBuilder {
|
|
10
|
-
protected readonly args: {
|
|
11
|
-
pathArgs: {
|
|
12
|
-
projectKey: string;
|
|
13
|
-
importSinkKey: string;
|
|
14
|
-
};
|
|
15
|
-
executeRequest: executeRequest;
|
|
16
|
-
baseUri?: string;
|
|
17
|
-
};
|
|
18
|
-
constructor(args: {
|
|
19
|
-
pathArgs: {
|
|
20
|
-
projectKey: string;
|
|
21
|
-
importSinkKey: string;
|
|
22
|
-
};
|
|
23
|
-
executeRequest: executeRequest;
|
|
24
|
-
baseUri?: string;
|
|
25
|
-
});
|
|
26
|
-
/**
|
|
27
|
-
* Retrieves an import summary for the given import sink.
|
|
28
|
-
*
|
|
29
|
-
* The import summary is calculated on demand.
|
|
30
|
-
*
|
|
31
|
-
*/
|
|
32
|
-
get(methodArgs?: {
|
|
33
|
-
headers?: {
|
|
34
|
-
[key: string]: string | string[];
|
|
35
|
-
};
|
|
36
|
-
}): ApiRequest<ImportSummary>;
|
|
37
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Code generated by [commercetools RMF-Codegen](https://github.com/commercetools/rmf-codegen). DO NOT EDIT.
|
|
3
|
-
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
4
|
-
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
5
|
-
*/
|
|
6
|
-
import { ImportResponse, OrderPatchImportRequest } from '../../models/importrequests';
|
|
7
|
-
import { executeRequest } from '../../shared/utils/common-types';
|
|
8
|
-
import { ApiRequest } from '../../shared/utils/requests-utils';
|
|
9
|
-
import { ByProjectKeyOrderPatchesImportSinkKeyByImportSinkKeyImportOperationsRequestBuilder } from '../import-operations/by-project-key-order-patches-import-sink-key-by-import-sink-key-import-operations-request-builder';
|
|
10
|
-
export declare class ByProjectKeyOrderPatchesImportSinkKeyByImportSinkKeyRequestBuilder {
|
|
11
|
-
protected readonly args: {
|
|
12
|
-
pathArgs: {
|
|
13
|
-
projectKey: string;
|
|
14
|
-
importSinkKey: string;
|
|
15
|
-
};
|
|
16
|
-
executeRequest: executeRequest;
|
|
17
|
-
baseUri?: string;
|
|
18
|
-
};
|
|
19
|
-
constructor(args: {
|
|
20
|
-
pathArgs: {
|
|
21
|
-
projectKey: string;
|
|
22
|
-
importSinkKey: string;
|
|
23
|
-
};
|
|
24
|
-
executeRequest: executeRequest;
|
|
25
|
-
baseUri?: string;
|
|
26
|
-
});
|
|
27
|
-
importOperations(): ByProjectKeyOrderPatchesImportSinkKeyByImportSinkKeyImportOperationsRequestBuilder;
|
|
28
|
-
/**
|
|
29
|
-
* Creates a new import request for order patches
|
|
30
|
-
*/
|
|
31
|
-
post(methodArgs: {
|
|
32
|
-
body: OrderPatchImportRequest;
|
|
33
|
-
headers?: {
|
|
34
|
-
[key: string]: string | string[];
|
|
35
|
-
};
|
|
36
|
-
}): ApiRequest<ImportResponse>;
|
|
37
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Code generated by [commercetools RMF-Codegen](https://github.com/commercetools/rmf-codegen). DO NOT EDIT.
|
|
3
|
-
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
4
|
-
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
5
|
-
*/
|
|
6
|
-
import { ImportResponse, OrderImportRequest } from '../../models/importrequests';
|
|
7
|
-
import { executeRequest } from '../../shared/utils/common-types';
|
|
8
|
-
import { ApiRequest } from '../../shared/utils/requests-utils';
|
|
9
|
-
import { ByProjectKeyOrdersImportSinkKeyByImportSinkKeyImportOperationsRequestBuilder } from '../import-operations/by-project-key-orders-import-sink-key-by-import-sink-key-import-operations-request-builder';
|
|
10
|
-
export declare class ByProjectKeyOrdersImportSinkKeyByImportSinkKeyRequestBuilder {
|
|
11
|
-
protected readonly args: {
|
|
12
|
-
pathArgs: {
|
|
13
|
-
projectKey: string;
|
|
14
|
-
importSinkKey: string;
|
|
15
|
-
};
|
|
16
|
-
executeRequest: executeRequest;
|
|
17
|
-
baseUri?: string;
|
|
18
|
-
};
|
|
19
|
-
constructor(args: {
|
|
20
|
-
pathArgs: {
|
|
21
|
-
projectKey: string;
|
|
22
|
-
importSinkKey: string;
|
|
23
|
-
};
|
|
24
|
-
executeRequest: executeRequest;
|
|
25
|
-
baseUri?: string;
|
|
26
|
-
});
|
|
27
|
-
importOperations(): ByProjectKeyOrdersImportSinkKeyByImportSinkKeyImportOperationsRequestBuilder;
|
|
28
|
-
/**
|
|
29
|
-
* Creates import request for creating new orders or updating existing ones.
|
|
30
|
-
*/
|
|
31
|
-
post(methodArgs: {
|
|
32
|
-
body: OrderImportRequest;
|
|
33
|
-
headers?: {
|
|
34
|
-
[key: string]: string | string[];
|
|
35
|
-
};
|
|
36
|
-
}): ApiRequest<ImportResponse>;
|
|
37
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Code generated by [commercetools RMF-Codegen](https://github.com/commercetools/rmf-codegen). DO NOT EDIT.
|
|
3
|
-
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
4
|
-
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
5
|
-
*/
|
|
6
|
-
import { ImportResponse, PriceImportRequest } from '../../models/importrequests';
|
|
7
|
-
import { executeRequest } from '../../shared/utils/common-types';
|
|
8
|
-
import { ApiRequest } from '../../shared/utils/requests-utils';
|
|
9
|
-
import { ByProjectKeyPricesImportSinkKeyByImportSinkKeyImportOperationsRequestBuilder } from '../import-operations/by-project-key-prices-import-sink-key-by-import-sink-key-import-operations-request-builder';
|
|
10
|
-
export declare class ByProjectKeyPricesImportSinkKeyByImportSinkKeyRequestBuilder {
|
|
11
|
-
protected readonly args: {
|
|
12
|
-
pathArgs: {
|
|
13
|
-
projectKey: string;
|
|
14
|
-
importSinkKey: string;
|
|
15
|
-
};
|
|
16
|
-
executeRequest: executeRequest;
|
|
17
|
-
baseUri?: string;
|
|
18
|
-
};
|
|
19
|
-
constructor(args: {
|
|
20
|
-
pathArgs: {
|
|
21
|
-
projectKey: string;
|
|
22
|
-
importSinkKey: string;
|
|
23
|
-
};
|
|
24
|
-
executeRequest: executeRequest;
|
|
25
|
-
baseUri?: string;
|
|
26
|
-
});
|
|
27
|
-
importOperations(): ByProjectKeyPricesImportSinkKeyByImportSinkKeyImportOperationsRequestBuilder;
|
|
28
|
-
/**
|
|
29
|
-
* Creates import request for creating new prices or updating existing ones.
|
|
30
|
-
*/
|
|
31
|
-
post(methodArgs: {
|
|
32
|
-
body: PriceImportRequest;
|
|
33
|
-
headers?: {
|
|
34
|
-
[key: string]: string | string[];
|
|
35
|
-
};
|
|
36
|
-
}): ApiRequest<ImportResponse>;
|
|
37
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Code generated by [commercetools RMF-Codegen](https://github.com/commercetools/rmf-codegen). DO NOT EDIT.
|
|
3
|
-
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
4
|
-
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
5
|
-
*/
|
|
6
|
-
import { ImportResponse, ProductDraftImportRequest } from '../../models/importrequests';
|
|
7
|
-
import { executeRequest } from '../../shared/utils/common-types';
|
|
8
|
-
import { ApiRequest } from '../../shared/utils/requests-utils';
|
|
9
|
-
import { ByProjectKeyProductDraftsImportSinkKeyByImportSinkKeyImportOperationsRequestBuilder } from '../import-operations/by-project-key-product-drafts-import-sink-key-by-import-sink-key-import-operations-request-builder';
|
|
10
|
-
export declare class ByProjectKeyProductDraftsImportSinkKeyByImportSinkKeyRequestBuilder {
|
|
11
|
-
protected readonly args: {
|
|
12
|
-
pathArgs: {
|
|
13
|
-
projectKey: string;
|
|
14
|
-
importSinkKey: string;
|
|
15
|
-
};
|
|
16
|
-
executeRequest: executeRequest;
|
|
17
|
-
baseUri?: string;
|
|
18
|
-
};
|
|
19
|
-
constructor(args: {
|
|
20
|
-
pathArgs: {
|
|
21
|
-
projectKey: string;
|
|
22
|
-
importSinkKey: string;
|
|
23
|
-
};
|
|
24
|
-
executeRequest: executeRequest;
|
|
25
|
-
baseUri?: string;
|
|
26
|
-
});
|
|
27
|
-
importOperations(): ByProjectKeyProductDraftsImportSinkKeyByImportSinkKeyImportOperationsRequestBuilder;
|
|
28
|
-
/**
|
|
29
|
-
* Creates import request for creating new product drafts or updating existing ones.
|
|
30
|
-
*
|
|
31
|
-
*/
|
|
32
|
-
post(methodArgs: {
|
|
33
|
-
body: ProductDraftImportRequest;
|
|
34
|
-
headers?: {
|
|
35
|
-
[key: string]: string | string[];
|
|
36
|
-
};
|
|
37
|
-
}): ApiRequest<ImportResponse>;
|
|
38
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Code generated by [commercetools RMF-Codegen](https://github.com/commercetools/rmf-codegen). DO NOT EDIT.
|
|
3
|
-
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
4
|
-
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
5
|
-
*/
|
|
6
|
-
import { ImportResponse, ProductTypeImportRequest } from '../../models/importrequests';
|
|
7
|
-
import { executeRequest } from '../../shared/utils/common-types';
|
|
8
|
-
import { ApiRequest } from '../../shared/utils/requests-utils';
|
|
9
|
-
import { ByProjectKeyProductTypesImportSinkKeyByImportSinkKeyImportOperationsRequestBuilder } from '../import-operations/by-project-key-product-types-import-sink-key-by-import-sink-key-import-operations-request-builder';
|
|
10
|
-
export declare class ByProjectKeyProductTypesImportSinkKeyByImportSinkKeyRequestBuilder {
|
|
11
|
-
protected readonly args: {
|
|
12
|
-
pathArgs: {
|
|
13
|
-
projectKey: string;
|
|
14
|
-
importSinkKey: string;
|
|
15
|
-
};
|
|
16
|
-
executeRequest: executeRequest;
|
|
17
|
-
baseUri?: string;
|
|
18
|
-
};
|
|
19
|
-
constructor(args: {
|
|
20
|
-
pathArgs: {
|
|
21
|
-
projectKey: string;
|
|
22
|
-
importSinkKey: string;
|
|
23
|
-
};
|
|
24
|
-
executeRequest: executeRequest;
|
|
25
|
-
baseUri?: string;
|
|
26
|
-
});
|
|
27
|
-
importOperations(): ByProjectKeyProductTypesImportSinkKeyByImportSinkKeyImportOperationsRequestBuilder;
|
|
28
|
-
/**
|
|
29
|
-
* Creates import request for creating new product types or updating existing ones.
|
|
30
|
-
*/
|
|
31
|
-
post(methodArgs: {
|
|
32
|
-
body: ProductTypeImportRequest;
|
|
33
|
-
headers?: {
|
|
34
|
-
[key: string]: string | string[];
|
|
35
|
-
};
|
|
36
|
-
}): ApiRequest<ImportResponse>;
|
|
37
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Code generated by [commercetools RMF-Codegen](https://github.com/commercetools/rmf-codegen). DO NOT EDIT.
|
|
3
|
-
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
4
|
-
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
5
|
-
*/
|
|
6
|
-
import { ImportResponse, ProductVariantPatchRequest } from '../../models/importrequests';
|
|
7
|
-
import { executeRequest } from '../../shared/utils/common-types';
|
|
8
|
-
import { ApiRequest } from '../../shared/utils/requests-utils';
|
|
9
|
-
import { ByProjectKeyProductVariantPatchesImportSinkKeyByImportSinkKeyImportOperationsRequestBuilder } from '../import-operations/by-project-key-product-variant-patches-import-sink-key-by-import-sink-key-import-operations-request-builder';
|
|
10
|
-
export declare class ByProjectKeyProductVariantPatchesImportSinkKeyByImportSinkKeyRequestBuilder {
|
|
11
|
-
protected readonly args: {
|
|
12
|
-
pathArgs: {
|
|
13
|
-
projectKey: string;
|
|
14
|
-
importSinkKey: string;
|
|
15
|
-
};
|
|
16
|
-
executeRequest: executeRequest;
|
|
17
|
-
baseUri?: string;
|
|
18
|
-
};
|
|
19
|
-
constructor(args: {
|
|
20
|
-
pathArgs: {
|
|
21
|
-
projectKey: string;
|
|
22
|
-
importSinkKey: string;
|
|
23
|
-
};
|
|
24
|
-
executeRequest: executeRequest;
|
|
25
|
-
baseUri?: string;
|
|
26
|
-
});
|
|
27
|
-
importOperations(): ByProjectKeyProductVariantPatchesImportSinkKeyByImportSinkKeyImportOperationsRequestBuilder;
|
|
28
|
-
/**
|
|
29
|
-
* Creates a new import request for product variant patches
|
|
30
|
-
*/
|
|
31
|
-
post(methodArgs: {
|
|
32
|
-
body: ProductVariantPatchRequest;
|
|
33
|
-
headers?: {
|
|
34
|
-
[key: string]: string | string[];
|
|
35
|
-
};
|
|
36
|
-
}): ApiRequest<ImportResponse>;
|
|
37
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Code generated by [commercetools RMF-Codegen](https://github.com/commercetools/rmf-codegen). DO NOT EDIT.
|
|
3
|
-
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
4
|
-
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
5
|
-
*/
|
|
6
|
-
import { ImportResponse, ProductVariantImportRequest } from '../../models/importrequests';
|
|
7
|
-
import { executeRequest } from '../../shared/utils/common-types';
|
|
8
|
-
import { ApiRequest } from '../../shared/utils/requests-utils';
|
|
9
|
-
import { ByProjectKeyProductVariantsImportSinkKeyByImportSinkKeyImportOperationsRequestBuilder } from '../import-operations/by-project-key-product-variants-import-sink-key-by-import-sink-key-import-operations-request-builder';
|
|
10
|
-
export declare class ByProjectKeyProductVariantsImportSinkKeyByImportSinkKeyRequestBuilder {
|
|
11
|
-
protected readonly args: {
|
|
12
|
-
pathArgs: {
|
|
13
|
-
projectKey: string;
|
|
14
|
-
importSinkKey: string;
|
|
15
|
-
};
|
|
16
|
-
executeRequest: executeRequest;
|
|
17
|
-
baseUri?: string;
|
|
18
|
-
};
|
|
19
|
-
constructor(args: {
|
|
20
|
-
pathArgs: {
|
|
21
|
-
projectKey: string;
|
|
22
|
-
importSinkKey: string;
|
|
23
|
-
};
|
|
24
|
-
executeRequest: executeRequest;
|
|
25
|
-
baseUri?: string;
|
|
26
|
-
});
|
|
27
|
-
importOperations(): ByProjectKeyProductVariantsImportSinkKeyByImportSinkKeyImportOperationsRequestBuilder;
|
|
28
|
-
/**
|
|
29
|
-
* Creates import request for creating new product variants or updating existing ones.
|
|
30
|
-
*/
|
|
31
|
-
post(methodArgs: {
|
|
32
|
-
body: ProductVariantImportRequest;
|
|
33
|
-
headers?: {
|
|
34
|
-
[key: string]: string | string[];
|
|
35
|
-
};
|
|
36
|
-
}): ApiRequest<ImportResponse>;
|
|
37
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Code generated by [commercetools RMF-Codegen](https://github.com/commercetools/rmf-codegen). DO NOT EDIT.
|
|
3
|
-
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
4
|
-
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
5
|
-
*/
|
|
6
|
-
import { ImportResponse, ProductImportRequest } from '../../models/importrequests';
|
|
7
|
-
import { executeRequest } from '../../shared/utils/common-types';
|
|
8
|
-
import { ApiRequest } from '../../shared/utils/requests-utils';
|
|
9
|
-
import { ByProjectKeyProductsImportSinkKeyByImportSinkKeyImportOperationsRequestBuilder } from '../import-operations/by-project-key-products-import-sink-key-by-import-sink-key-import-operations-request-builder';
|
|
10
|
-
export declare class ByProjectKeyProductsImportSinkKeyByImportSinkKeyRequestBuilder {
|
|
11
|
-
protected readonly args: {
|
|
12
|
-
pathArgs: {
|
|
13
|
-
projectKey: string;
|
|
14
|
-
importSinkKey: string;
|
|
15
|
-
};
|
|
16
|
-
executeRequest: executeRequest;
|
|
17
|
-
baseUri?: string;
|
|
18
|
-
};
|
|
19
|
-
constructor(args: {
|
|
20
|
-
pathArgs: {
|
|
21
|
-
projectKey: string;
|
|
22
|
-
importSinkKey: string;
|
|
23
|
-
};
|
|
24
|
-
executeRequest: executeRequest;
|
|
25
|
-
baseUri?: string;
|
|
26
|
-
});
|
|
27
|
-
importOperations(): ByProjectKeyProductsImportSinkKeyByImportSinkKeyImportOperationsRequestBuilder;
|
|
28
|
-
/**
|
|
29
|
-
* Creates import request for creating new products or updating existing ones.
|
|
30
|
-
*/
|
|
31
|
-
post(methodArgs: {
|
|
32
|
-
body: ProductImportRequest;
|
|
33
|
-
headers?: {
|
|
34
|
-
[key: string]: string | string[];
|
|
35
|
-
};
|
|
36
|
-
}): ApiRequest<ImportResponse>;
|
|
37
|
-
}
|
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Code generated by [commercetools RMF-Codegen](https://github.com/commercetools/rmf-codegen). DO NOT EDIT.
|
|
3
|
-
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
4
|
-
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
5
|
-
*/
|
|
6
|
-
import { ImportResourceType } from './common';
|
|
7
|
-
/**
|
|
8
|
-
* Serves as the entry point of resources.
|
|
9
|
-
*
|
|
10
|
-
*/
|
|
11
|
-
export interface ImportSink {
|
|
12
|
-
/**
|
|
13
|
-
* User-defined unique identifier for the ImportSink.
|
|
14
|
-
* Keys can only contain alphanumeric characters (a-Z, 0-9), underscores and hyphens (_, -).
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*/
|
|
18
|
-
readonly key: string;
|
|
19
|
-
/**
|
|
20
|
-
* The [resource type](#importresourcetype) the ImportSink is able to handle.
|
|
21
|
-
* If not present, the ImportSink is able to import all of the supported [ImportResourceTypes](#importresourcetype).
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
|
-
readonly resourceType?: ImportResourceType;
|
|
26
|
-
/**
|
|
27
|
-
* The version of the ImportSink.
|
|
28
|
-
*
|
|
29
|
-
*/
|
|
30
|
-
readonly version: number;
|
|
31
|
-
/**
|
|
32
|
-
* The time when the ImportSink was created.
|
|
33
|
-
*
|
|
34
|
-
*/
|
|
35
|
-
readonly createdAt: string;
|
|
36
|
-
/**
|
|
37
|
-
* The last time when the ImportSink was modified.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
readonly lastModifiedAt: string;
|
|
41
|
-
}
|
|
42
|
-
/**
|
|
43
|
-
* The representation sent to the server when creating an [ImportSink](#importsink).
|
|
44
|
-
*
|
|
45
|
-
*/
|
|
46
|
-
export interface ImportSinkDraft {
|
|
47
|
-
/**
|
|
48
|
-
* User-defined unique identifier of the ImportSink.
|
|
49
|
-
* Keys can only contain alphanumeric characters (a-Z, 0-9), underscores and hyphens (_, -).
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
*/
|
|
53
|
-
readonly key: string;
|
|
54
|
-
/**
|
|
55
|
-
* The [resource type](#importresourcetype) to be imported.
|
|
56
|
-
* If not given, the ImportSink is able to import all of the supported [ImportResourceTypes](#importresourcetype).
|
|
57
|
-
*
|
|
58
|
-
*
|
|
59
|
-
*/
|
|
60
|
-
readonly resourceType?: ImportResourceType;
|
|
61
|
-
}
|
|
62
|
-
/**
|
|
63
|
-
* The representation sent to the server when updating an [ImportSink](#importsink).
|
|
64
|
-
*
|
|
65
|
-
*/
|
|
66
|
-
export interface ImportSinkUpdateDraft {
|
|
67
|
-
/**
|
|
68
|
-
* Current version of the ImportSink.
|
|
69
|
-
*
|
|
70
|
-
*/
|
|
71
|
-
readonly version: number;
|
|
72
|
-
/**
|
|
73
|
-
* The [resource type](#importresourcetype) to be imported.
|
|
74
|
-
* If not given, the ImportSink is able to import all of the supported [ImportResourceTypes](#importresourcetype).
|
|
75
|
-
*
|
|
76
|
-
*
|
|
77
|
-
*/
|
|
78
|
-
readonly resourceType?: ImportResourceType;
|
|
79
|
-
}
|
|
80
|
-
/**
|
|
81
|
-
* [PagedQueryResult](/../api/general-concepts#pagedqueryresult) for [ImportSinks](#importsink).
|
|
82
|
-
* Used as a response to a query request for [ImportSinks](#importsink).
|
|
83
|
-
*
|
|
84
|
-
*/
|
|
85
|
-
export interface ImportSinkPagedResponse {
|
|
86
|
-
/**
|
|
87
|
-
* The number of results requested in the query request.
|
|
88
|
-
*
|
|
89
|
-
*/
|
|
90
|
-
readonly limit: number;
|
|
91
|
-
/**
|
|
92
|
-
* The number of elements skipped, not a page number.
|
|
93
|
-
* Supplied by the client or the server default.
|
|
94
|
-
*
|
|
95
|
-
*
|
|
96
|
-
*/
|
|
97
|
-
readonly offset: number;
|
|
98
|
-
/**
|
|
99
|
-
* The actual number of results returned.
|
|
100
|
-
*
|
|
101
|
-
*/
|
|
102
|
-
readonly count: number;
|
|
103
|
-
/**
|
|
104
|
-
* The total number of results matching the query.
|
|
105
|
-
*
|
|
106
|
-
*/
|
|
107
|
-
readonly total: number;
|
|
108
|
-
/**
|
|
109
|
-
* The array of Import Sinks matching the query.
|
|
110
|
-
*
|
|
111
|
-
*/
|
|
112
|
-
readonly results: ImportSink[];
|
|
113
|
-
}
|