@aws-sdk/client-partnercentral-revenue-measurement 3.1081.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/LICENSE +201 -0
- package/README.md +307 -0
- package/dist-cjs/index.js +1296 -0
- package/dist-es/PartnerCentralRevenueMeasurement.js +53 -0
- package/dist-es/PartnerCentralRevenueMeasurementClient.js +48 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +122 -0
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/CreateMarketplaceRevenueShareAllocationCommand.js +4 -0
- package/dist-es/commands/CreateMarketplaceRevenueShareCommand.js +4 -0
- package/dist-es/commands/CreateRevenueAttributionCommand.js +4 -0
- package/dist-es/commands/GetMarketplaceRevenueShareAllocationCommand.js +4 -0
- package/dist-es/commands/GetMarketplaceRevenueShareCommand.js +4 -0
- package/dist-es/commands/GetRevenueAttributionAllocationCommand.js +4 -0
- package/dist-es/commands/GetRevenueAttributionAllocationsTaskCommand.js +4 -0
- package/dist-es/commands/GetRevenueAttributionCommand.js +4 -0
- package/dist-es/commands/ListMarketplaceRevenueShareAllocationsCommand.js +4 -0
- package/dist-es/commands/ListMarketplaceRevenueSharesCommand.js +4 -0
- package/dist-es/commands/ListRevenueAttributionAllocationsCommand.js +4 -0
- package/dist-es/commands/ListRevenueAttributionsCommand.js +4 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +4 -0
- package/dist-es/commands/StartRevenueAttributionAllocationsTaskCommand.js +4 -0
- package/dist-es/commands/TagResourceCommand.js +4 -0
- package/dist-es/commands/UntagResourceCommand.js +4 -0
- package/dist-es/commands/UpdateMarketplaceRevenueShareAllocationCommand.js +4 -0
- package/dist-es/commands/UpdateRevenueAttributionCommand.js +4 -0
- package/dist-es/commands/index.js +18 -0
- package/dist-es/endpoint/EndpointParameters.js +11 -0
- package/dist-es/endpoint/bdd.js +35 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +10 -0
- package/dist-es/models/PartnerCentralRevenueMeasurementServiceException.js +8 -0
- package/dist-es/models/enums.js +81 -0
- package/dist-es/models/errors.js +117 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListMarketplaceRevenueShareAllocationsPaginator.js +4 -0
- package/dist-es/pagination/ListMarketplaceRevenueSharesPaginator.js +4 -0
- package/dist-es/pagination/ListRevenueAttributionAllocationsPaginator.js +4 -0
- package/dist-es/pagination/ListRevenueAttributionsPaginator.js +4 -0
- package/dist-es/pagination/index.js +5 -0
- package/dist-es/runtimeConfig.browser.js +29 -0
- package/dist-es/runtimeConfig.js +44 -0
- package/dist-es/runtimeConfig.native.js +9 -0
- package/dist-es/runtimeConfig.shared.js +47 -0
- package/dist-es/runtimeExtensions.js +9 -0
- package/dist-es/schemas/schemas_0.js +528 -0
- package/dist-types/PartnerCentralRevenueMeasurement.d.ts +164 -0
- package/dist-types/PartnerCentralRevenueMeasurementClient.d.ts +204 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +83 -0
- package/dist-types/commandBuilder.d.ts +18 -0
- package/dist-types/commands/CreateMarketplaceRevenueShareAllocationCommand.d.ts +127 -0
- package/dist-types/commands/CreateMarketplaceRevenueShareCommand.d.ts +124 -0
- package/dist-types/commands/CreateRevenueAttributionCommand.d.ts +132 -0
- package/dist-types/commands/GetMarketplaceRevenueShareAllocationCommand.d.ts +121 -0
- package/dist-types/commands/GetMarketplaceRevenueShareCommand.d.ts +119 -0
- package/dist-types/commands/GetRevenueAttributionAllocationCommand.d.ts +131 -0
- package/dist-types/commands/GetRevenueAttributionAllocationsTaskCommand.d.ts +129 -0
- package/dist-types/commands/GetRevenueAttributionCommand.d.ts +125 -0
- package/dist-types/commands/ListMarketplaceRevenueShareAllocationsCommand.d.ts +125 -0
- package/dist-types/commands/ListMarketplaceRevenueSharesCommand.d.ts +125 -0
- package/dist-types/commands/ListRevenueAttributionAllocationsCommand.d.ts +136 -0
- package/dist-types/commands/ListRevenueAttributionsCommand.d.ts +131 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +91 -0
- package/dist-types/commands/StartRevenueAttributionAllocationsTaskCommand.d.ts +145 -0
- package/dist-types/commands/TagResourceCommand.d.ts +93 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +90 -0
- package/dist-types/commands/UpdateMarketplaceRevenueShareAllocationCommand.d.ts +131 -0
- package/dist-types/commands/UpdateRevenueAttributionCommand.d.ts +116 -0
- package/dist-types/commands/index.d.ts +18 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +44 -0
- package/dist-types/endpoint/bdd.d.ts +2 -0
- package/dist-types/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +18 -0
- package/dist-types/models/PartnerCentralRevenueMeasurementServiceException.d.ts +14 -0
- package/dist-types/models/enums.d.ts +225 -0
- package/dist-types/models/errors.d.ts +137 -0
- package/dist-types/models/models_0.d.ts +1660 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListMarketplaceRevenueShareAllocationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListMarketplaceRevenueSharesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListRevenueAttributionAllocationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListRevenueAttributionsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +5 -0
- package/dist-types/runtimeConfig.browser.d.ts +56 -0
- package/dist-types/runtimeConfig.d.ts +56 -0
- package/dist-types/runtimeConfig.native.d.ts +55 -0
- package/dist-types/runtimeConfig.shared.d.ts +30 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/schemas/schemas_0.d.ts +77 -0
- package/dist-types/ts3.4/PartnerCentralRevenueMeasurement.d.ts +387 -0
- package/dist-types/ts3.4/PartnerCentralRevenueMeasurementClient.d.ts +221 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +59 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
- package/dist-types/ts3.4/commands/CreateMarketplaceRevenueShareAllocationCommand.d.ts +44 -0
- package/dist-types/ts3.4/commands/CreateMarketplaceRevenueShareCommand.d.ts +44 -0
- package/dist-types/ts3.4/commands/CreateRevenueAttributionCommand.d.ts +44 -0
- package/dist-types/ts3.4/commands/GetMarketplaceRevenueShareAllocationCommand.d.ts +44 -0
- package/dist-types/ts3.4/commands/GetMarketplaceRevenueShareCommand.d.ts +44 -0
- package/dist-types/ts3.4/commands/GetRevenueAttributionAllocationCommand.d.ts +44 -0
- package/dist-types/ts3.4/commands/GetRevenueAttributionAllocationsTaskCommand.d.ts +44 -0
- package/dist-types/ts3.4/commands/GetRevenueAttributionCommand.d.ts +44 -0
- package/dist-types/ts3.4/commands/ListMarketplaceRevenueShareAllocationsCommand.d.ts +44 -0
- package/dist-types/ts3.4/commands/ListMarketplaceRevenueSharesCommand.d.ts +44 -0
- package/dist-types/ts3.4/commands/ListRevenueAttributionAllocationsCommand.d.ts +44 -0
- package/dist-types/ts3.4/commands/ListRevenueAttributionsCommand.d.ts +44 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +44 -0
- package/dist-types/ts3.4/commands/StartRevenueAttributionAllocationsTaskCommand.d.ts +44 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateMarketplaceRevenueShareAllocationCommand.d.ts +44 -0
- package/dist-types/ts3.4/commands/UpdateRevenueAttributionCommand.d.ts +44 -0
- package/dist-types/ts3.4/commands/index.d.ts +18 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
- package/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +13 -0
- package/dist-types/ts3.4/models/PartnerCentralRevenueMeasurementServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/enums.d.ts +113 -0
- package/dist-types/ts3.4/models/errors.d.ts +74 -0
- package/dist-types/ts3.4/models/models_0.d.ts +394 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListMarketplaceRevenueShareAllocationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListMarketplaceRevenueSharesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListRevenueAttributionAllocationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListRevenueAttributionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +5 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +114 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +108 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +118 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +40 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +76 -0
- package/package.json +70 -0
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { createAggregatedClient } from "@smithy/core/client";
|
|
2
|
+
import { CreateMarketplaceRevenueShareAllocationCommand, } from "./commands/CreateMarketplaceRevenueShareAllocationCommand";
|
|
3
|
+
import { CreateMarketplaceRevenueShareCommand, } from "./commands/CreateMarketplaceRevenueShareCommand";
|
|
4
|
+
import { CreateRevenueAttributionCommand, } from "./commands/CreateRevenueAttributionCommand";
|
|
5
|
+
import { GetMarketplaceRevenueShareAllocationCommand, } from "./commands/GetMarketplaceRevenueShareAllocationCommand";
|
|
6
|
+
import { GetMarketplaceRevenueShareCommand, } from "./commands/GetMarketplaceRevenueShareCommand";
|
|
7
|
+
import { GetRevenueAttributionAllocationCommand, } from "./commands/GetRevenueAttributionAllocationCommand";
|
|
8
|
+
import { GetRevenueAttributionAllocationsTaskCommand, } from "./commands/GetRevenueAttributionAllocationsTaskCommand";
|
|
9
|
+
import { GetRevenueAttributionCommand, } from "./commands/GetRevenueAttributionCommand";
|
|
10
|
+
import { ListMarketplaceRevenueShareAllocationsCommand, } from "./commands/ListMarketplaceRevenueShareAllocationsCommand";
|
|
11
|
+
import { ListMarketplaceRevenueSharesCommand, } from "./commands/ListMarketplaceRevenueSharesCommand";
|
|
12
|
+
import { ListRevenueAttributionAllocationsCommand, } from "./commands/ListRevenueAttributionAllocationsCommand";
|
|
13
|
+
import { ListRevenueAttributionsCommand, } from "./commands/ListRevenueAttributionsCommand";
|
|
14
|
+
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
15
|
+
import { StartRevenueAttributionAllocationsTaskCommand, } from "./commands/StartRevenueAttributionAllocationsTaskCommand";
|
|
16
|
+
import { TagResourceCommand, } from "./commands/TagResourceCommand";
|
|
17
|
+
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
18
|
+
import { UpdateMarketplaceRevenueShareAllocationCommand, } from "./commands/UpdateMarketplaceRevenueShareAllocationCommand";
|
|
19
|
+
import { UpdateRevenueAttributionCommand, } from "./commands/UpdateRevenueAttributionCommand";
|
|
20
|
+
import { paginateListMarketplaceRevenueShareAllocations, } from "./pagination/ListMarketplaceRevenueShareAllocationsPaginator";
|
|
21
|
+
import { paginateListMarketplaceRevenueShares } from "./pagination/ListMarketplaceRevenueSharesPaginator";
|
|
22
|
+
import { paginateListRevenueAttributionAllocations } from "./pagination/ListRevenueAttributionAllocationsPaginator";
|
|
23
|
+
import { paginateListRevenueAttributions } from "./pagination/ListRevenueAttributionsPaginator";
|
|
24
|
+
import { PartnerCentralRevenueMeasurementClient } from "./PartnerCentralRevenueMeasurementClient";
|
|
25
|
+
const commands = {
|
|
26
|
+
CreateMarketplaceRevenueShareCommand,
|
|
27
|
+
CreateMarketplaceRevenueShareAllocationCommand,
|
|
28
|
+
CreateRevenueAttributionCommand,
|
|
29
|
+
GetMarketplaceRevenueShareCommand,
|
|
30
|
+
GetMarketplaceRevenueShareAllocationCommand,
|
|
31
|
+
GetRevenueAttributionCommand,
|
|
32
|
+
GetRevenueAttributionAllocationCommand,
|
|
33
|
+
GetRevenueAttributionAllocationsTaskCommand,
|
|
34
|
+
ListMarketplaceRevenueShareAllocationsCommand,
|
|
35
|
+
ListMarketplaceRevenueSharesCommand,
|
|
36
|
+
ListRevenueAttributionAllocationsCommand,
|
|
37
|
+
ListRevenueAttributionsCommand,
|
|
38
|
+
ListTagsForResourceCommand,
|
|
39
|
+
StartRevenueAttributionAllocationsTaskCommand,
|
|
40
|
+
TagResourceCommand,
|
|
41
|
+
UntagResourceCommand,
|
|
42
|
+
UpdateMarketplaceRevenueShareAllocationCommand,
|
|
43
|
+
UpdateRevenueAttributionCommand,
|
|
44
|
+
};
|
|
45
|
+
const paginators = {
|
|
46
|
+
paginateListMarketplaceRevenueShareAllocations,
|
|
47
|
+
paginateListMarketplaceRevenueShares,
|
|
48
|
+
paginateListRevenueAttributionAllocations,
|
|
49
|
+
paginateListRevenueAttributions,
|
|
50
|
+
};
|
|
51
|
+
export class PartnerCentralRevenueMeasurement extends PartnerCentralRevenueMeasurementClient {
|
|
52
|
+
}
|
|
53
|
+
createAggregatedClient(commands, PartnerCentralRevenueMeasurement, { paginators });
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin, getUserAgentPlugin, resolveHostHeaderConfig, resolveUserAgentConfig, } from "@aws-sdk/core/client";
|
|
2
|
+
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
3
|
+
import { Client as __Client, } from "@smithy/core/client";
|
|
4
|
+
import { resolveRegionConfig } from "@smithy/core/config";
|
|
5
|
+
import { resolveEndpointConfig } from "@smithy/core/endpoints";
|
|
6
|
+
import { getContentLengthPlugin } from "@smithy/core/protocols";
|
|
7
|
+
import { getRetryPlugin, resolveRetryConfig, } from "@smithy/core/retry";
|
|
8
|
+
import { getSchemaSerdePlugin } from "@smithy/core/schema";
|
|
9
|
+
import { defaultPartnerCentralRevenueMeasurementHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
|
|
10
|
+
import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
|
|
11
|
+
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
12
|
+
import { resolveRuntimeExtensions } from "./runtimeExtensions";
|
|
13
|
+
export { __Client };
|
|
14
|
+
export class PartnerCentralRevenueMeasurementClient extends __Client {
|
|
15
|
+
config;
|
|
16
|
+
constructor(...[configuration]) {
|
|
17
|
+
const _config_0 = __getRuntimeConfig(configuration || {});
|
|
18
|
+
super(_config_0);
|
|
19
|
+
this.initConfig = _config_0;
|
|
20
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
21
|
+
const _config_2 = resolveUserAgentConfig(_config_1);
|
|
22
|
+
const _config_3 = resolveRetryConfig(_config_2);
|
|
23
|
+
const _config_4 = resolveRegionConfig(_config_3);
|
|
24
|
+
const _config_5 = resolveHostHeaderConfig(_config_4);
|
|
25
|
+
const _config_6 = resolveEndpointConfig(_config_5);
|
|
26
|
+
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
|
|
27
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
28
|
+
this.config = _config_8;
|
|
29
|
+
this.middlewareStack.use(getSchemaSerdePlugin(this.config));
|
|
30
|
+
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
31
|
+
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
32
|
+
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
33
|
+
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
34
|
+
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
35
|
+
this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
|
|
36
|
+
this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
37
|
+
httpAuthSchemeParametersProvider: defaultPartnerCentralRevenueMeasurementHttpAuthSchemeParametersProvider,
|
|
38
|
+
identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({
|
|
39
|
+
"aws.auth#sigv4": config.credentials,
|
|
40
|
+
"aws.auth#sigv4a": config.credentials,
|
|
41
|
+
}),
|
|
42
|
+
}));
|
|
43
|
+
this.middlewareStack.use(getHttpSigningPlugin(this.config));
|
|
44
|
+
}
|
|
45
|
+
destroy() {
|
|
46
|
+
super.destroy();
|
|
47
|
+
}
|
|
48
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
2
|
+
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
3
|
+
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
4
|
+
let _credentials = runtimeConfig.credentials;
|
|
5
|
+
return {
|
|
6
|
+
setHttpAuthScheme(httpAuthScheme) {
|
|
7
|
+
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
|
8
|
+
if (index === -1) {
|
|
9
|
+
_httpAuthSchemes.push(httpAuthScheme);
|
|
10
|
+
}
|
|
11
|
+
else {
|
|
12
|
+
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
httpAuthSchemes() {
|
|
16
|
+
return _httpAuthSchemes;
|
|
17
|
+
},
|
|
18
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
|
19
|
+
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
|
20
|
+
},
|
|
21
|
+
httpAuthSchemeProvider() {
|
|
22
|
+
return _httpAuthSchemeProvider;
|
|
23
|
+
},
|
|
24
|
+
setCredentials(credentials) {
|
|
25
|
+
_credentials = credentials;
|
|
26
|
+
},
|
|
27
|
+
credentials() {
|
|
28
|
+
return _credentials;
|
|
29
|
+
},
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
export const resolveHttpAuthRuntimeConfig = (config) => {
|
|
33
|
+
return {
|
|
34
|
+
httpAuthSchemes: config.httpAuthSchemes(),
|
|
35
|
+
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
36
|
+
credentials: config.credentials(),
|
|
37
|
+
};
|
|
38
|
+
};
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import { resolveAwsSdkSigV4AConfig, resolveAwsSdkSigV4Config, } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
|
+
import { SignatureV4MultiRegion } from "@aws-sdk/signature-v4-multi-region";
|
|
3
|
+
import { getSmithyContext, normalizeProvider } from "@smithy/core/client";
|
|
4
|
+
import { resolveParams } from "@smithy/core/endpoints";
|
|
5
|
+
import { defaultEndpointResolver } from "../endpoint/endpointResolver";
|
|
6
|
+
const createEndpointRuleSetHttpAuthSchemeParametersProvider = (defaultHttpAuthSchemeParametersProvider) => async (config, context, input) => {
|
|
7
|
+
if (!input) {
|
|
8
|
+
throw new Error("Could not find `input` for `defaultEndpointRuleSetHttpAuthSchemeParametersProvider`");
|
|
9
|
+
}
|
|
10
|
+
const defaultParameters = await defaultHttpAuthSchemeParametersProvider(config, context, input);
|
|
11
|
+
const instructionsFn = getSmithyContext(context)?.commandInstance?.constructor
|
|
12
|
+
?.getEndpointParameterInstructions;
|
|
13
|
+
if (!instructionsFn) {
|
|
14
|
+
throw new Error(`getEndpointParameterInstructions() is not defined on '${context.commandName}'`);
|
|
15
|
+
}
|
|
16
|
+
const endpointParameters = await resolveParams(input, { getEndpointParameterInstructions: instructionsFn }, config);
|
|
17
|
+
return Object.assign(defaultParameters, endpointParameters);
|
|
18
|
+
};
|
|
19
|
+
const _defaultPartnerCentralRevenueMeasurementHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
20
|
+
return {
|
|
21
|
+
operation: getSmithyContext(context).operation,
|
|
22
|
+
region: await normalizeProvider(config.region)() || (() => {
|
|
23
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
24
|
+
})(),
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
export const defaultPartnerCentralRevenueMeasurementHttpAuthSchemeParametersProvider = createEndpointRuleSetHttpAuthSchemeParametersProvider(_defaultPartnerCentralRevenueMeasurementHttpAuthSchemeParametersProvider);
|
|
28
|
+
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
29
|
+
return {
|
|
30
|
+
schemeId: "aws.auth#sigv4",
|
|
31
|
+
signingProperties: {
|
|
32
|
+
name: "partnercentral",
|
|
33
|
+
region: authParameters.region,
|
|
34
|
+
},
|
|
35
|
+
propertiesExtractor: (config, context) => ({
|
|
36
|
+
signingProperties: {
|
|
37
|
+
config,
|
|
38
|
+
context,
|
|
39
|
+
},
|
|
40
|
+
}),
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function createAwsAuthSigv4aHttpAuthOption(authParameters) {
|
|
44
|
+
return {
|
|
45
|
+
schemeId: "aws.auth#sigv4a",
|
|
46
|
+
signingProperties: {
|
|
47
|
+
name: "partnercentral",
|
|
48
|
+
region: authParameters.region,
|
|
49
|
+
},
|
|
50
|
+
propertiesExtractor: (config, context) => ({
|
|
51
|
+
signingProperties: {
|
|
52
|
+
config,
|
|
53
|
+
context,
|
|
54
|
+
},
|
|
55
|
+
}),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
const createEndpointRuleSetHttpAuthSchemeProvider = (defaultEndpointResolver, defaultHttpAuthSchemeResolver, createHttpAuthOptionFunctions) => {
|
|
59
|
+
const endpointRuleSetHttpAuthSchemeProvider = (authParameters) => {
|
|
60
|
+
const endpoint = defaultEndpointResolver(authParameters);
|
|
61
|
+
const authSchemes = endpoint.properties?.authSchemes;
|
|
62
|
+
if (!authSchemes) {
|
|
63
|
+
return defaultHttpAuthSchemeResolver(authParameters);
|
|
64
|
+
}
|
|
65
|
+
const options = [];
|
|
66
|
+
for (const scheme of authSchemes) {
|
|
67
|
+
const { name: resolvedName, properties = {}, ...rest } = scheme;
|
|
68
|
+
const name = resolvedName.toLowerCase();
|
|
69
|
+
if (resolvedName !== name) {
|
|
70
|
+
console.warn(`HttpAuthScheme has been normalized with lowercasing: '${resolvedName}' to '${name}'`);
|
|
71
|
+
}
|
|
72
|
+
let schemeId;
|
|
73
|
+
if (name === "sigv4a") {
|
|
74
|
+
schemeId = "aws.auth#sigv4a";
|
|
75
|
+
const sigv4Present = authSchemes.find((s) => {
|
|
76
|
+
const name = s.name.toLowerCase();
|
|
77
|
+
return name !== "sigv4a" && name.startsWith("sigv4");
|
|
78
|
+
});
|
|
79
|
+
if (SignatureV4MultiRegion.sigv4aDependency() === "none" && sigv4Present) {
|
|
80
|
+
continue;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
else if (name.startsWith("sigv4")) {
|
|
84
|
+
schemeId = "aws.auth#sigv4";
|
|
85
|
+
}
|
|
86
|
+
else {
|
|
87
|
+
throw new Error(`Unknown HttpAuthScheme found in '@smithy.rules#endpointRuleSet': '${name}'`);
|
|
88
|
+
}
|
|
89
|
+
const createOption = createHttpAuthOptionFunctions[schemeId];
|
|
90
|
+
if (!createOption) {
|
|
91
|
+
throw new Error(`Could not find HttpAuthOption create function for '${schemeId}'`);
|
|
92
|
+
}
|
|
93
|
+
const option = createOption(authParameters);
|
|
94
|
+
option.schemeId = schemeId;
|
|
95
|
+
option.signingProperties = { ...(option.signingProperties || {}), ...rest, ...properties };
|
|
96
|
+
options.push(option);
|
|
97
|
+
}
|
|
98
|
+
return options;
|
|
99
|
+
};
|
|
100
|
+
return endpointRuleSetHttpAuthSchemeProvider;
|
|
101
|
+
};
|
|
102
|
+
const _defaultPartnerCentralRevenueMeasurementHttpAuthSchemeProvider = (authParameters) => {
|
|
103
|
+
const options = [];
|
|
104
|
+
switch (authParameters.operation) {
|
|
105
|
+
default: {
|
|
106
|
+
options.push(createAwsAuthSigv4aHttpAuthOption(authParameters));
|
|
107
|
+
options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
return options;
|
|
111
|
+
};
|
|
112
|
+
export const defaultPartnerCentralRevenueMeasurementHttpAuthSchemeProvider = createEndpointRuleSetHttpAuthSchemeProvider(defaultEndpointResolver, _defaultPartnerCentralRevenueMeasurementHttpAuthSchemeProvider, {
|
|
113
|
+
"aws.auth#sigv4": createAwsAuthSigv4HttpAuthOption,
|
|
114
|
+
"aws.auth#sigv4a": createAwsAuthSigv4aHttpAuthOption,
|
|
115
|
+
});
|
|
116
|
+
export const resolveHttpAuthSchemeConfig = (config) => {
|
|
117
|
+
const config_0 = resolveAwsSdkSigV4Config(config);
|
|
118
|
+
const config_1 = resolveAwsSdkSigV4AConfig(config_0);
|
|
119
|
+
return Object.assign(config_1, {
|
|
120
|
+
authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
|
|
121
|
+
});
|
|
122
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { makeBuilder } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "./endpoint/EndpointParameters";
|
|
4
|
+
export const command = makeBuilder(commonParams, "PartnerCentralRevenueMeasurement", "PartnerCentralRevenueMeasurementClient", getEndpointPlugin);
|
|
5
|
+
export const _ep0 = {};
|
|
6
|
+
export const _mw0 = (Command, cs, config, o) => [];
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
2
|
+
import { CreateMarketplaceRevenueShareAllocation$ } from "../schemas/schemas_0";
|
|
3
|
+
export class CreateMarketplaceRevenueShareAllocationCommand extends command(_ep0, _mw0, "CreateMarketplaceRevenueShareAllocation", CreateMarketplaceRevenueShareAllocation$) {
|
|
4
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
2
|
+
import { CreateMarketplaceRevenueShare$ } from "../schemas/schemas_0";
|
|
3
|
+
export class CreateMarketplaceRevenueShareCommand extends command(_ep0, _mw0, "CreateMarketplaceRevenueShare", CreateMarketplaceRevenueShare$) {
|
|
4
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
2
|
+
import { GetMarketplaceRevenueShareAllocation$ } from "../schemas/schemas_0";
|
|
3
|
+
export class GetMarketplaceRevenueShareAllocationCommand extends command(_ep0, _mw0, "GetMarketplaceRevenueShareAllocation", GetMarketplaceRevenueShareAllocation$) {
|
|
4
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
2
|
+
import { GetRevenueAttributionAllocation$ } from "../schemas/schemas_0";
|
|
3
|
+
export class GetRevenueAttributionAllocationCommand extends command(_ep0, _mw0, "GetRevenueAttributionAllocation", GetRevenueAttributionAllocation$) {
|
|
4
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
2
|
+
import { GetRevenueAttributionAllocationsTask$ } from "../schemas/schemas_0";
|
|
3
|
+
export class GetRevenueAttributionAllocationsTaskCommand extends command(_ep0, _mw0, "GetRevenueAttributionAllocationsTask", GetRevenueAttributionAllocationsTask$) {
|
|
4
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
2
|
+
import { ListMarketplaceRevenueShareAllocations$ } from "../schemas/schemas_0";
|
|
3
|
+
export class ListMarketplaceRevenueShareAllocationsCommand extends command(_ep0, _mw0, "ListMarketplaceRevenueShareAllocations", ListMarketplaceRevenueShareAllocations$) {
|
|
4
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
2
|
+
import { ListMarketplaceRevenueShares$ } from "../schemas/schemas_0";
|
|
3
|
+
export class ListMarketplaceRevenueSharesCommand extends command(_ep0, _mw0, "ListMarketplaceRevenueShares", ListMarketplaceRevenueShares$) {
|
|
4
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
2
|
+
import { ListRevenueAttributionAllocations$ } from "../schemas/schemas_0";
|
|
3
|
+
export class ListRevenueAttributionAllocationsCommand extends command(_ep0, _mw0, "ListRevenueAttributionAllocations", ListRevenueAttributionAllocations$) {
|
|
4
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
2
|
+
import { StartRevenueAttributionAllocationsTask$ } from "../schemas/schemas_0";
|
|
3
|
+
export class StartRevenueAttributionAllocationsTaskCommand extends command(_ep0, _mw0, "StartRevenueAttributionAllocationsTask", StartRevenueAttributionAllocationsTask$) {
|
|
4
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
2
|
+
import { UpdateMarketplaceRevenueShareAllocation$ } from "../schemas/schemas_0";
|
|
3
|
+
export class UpdateMarketplaceRevenueShareAllocationCommand extends command(_ep0, _mw0, "UpdateMarketplaceRevenueShareAllocation", UpdateMarketplaceRevenueShareAllocation$) {
|
|
4
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export * from "./CreateMarketplaceRevenueShareAllocationCommand";
|
|
2
|
+
export * from "./CreateMarketplaceRevenueShareCommand";
|
|
3
|
+
export * from "./CreateRevenueAttributionCommand";
|
|
4
|
+
export * from "./GetMarketplaceRevenueShareAllocationCommand";
|
|
5
|
+
export * from "./GetMarketplaceRevenueShareCommand";
|
|
6
|
+
export * from "./GetRevenueAttributionAllocationCommand";
|
|
7
|
+
export * from "./GetRevenueAttributionAllocationsTaskCommand";
|
|
8
|
+
export * from "./GetRevenueAttributionCommand";
|
|
9
|
+
export * from "./ListMarketplaceRevenueShareAllocationsCommand";
|
|
10
|
+
export * from "./ListMarketplaceRevenueSharesCommand";
|
|
11
|
+
export * from "./ListRevenueAttributionAllocationsCommand";
|
|
12
|
+
export * from "./ListRevenueAttributionsCommand";
|
|
13
|
+
export * from "./ListTagsForResourceCommand";
|
|
14
|
+
export * from "./StartRevenueAttributionAllocationsTaskCommand";
|
|
15
|
+
export * from "./TagResourceCommand";
|
|
16
|
+
export * from "./UntagResourceCommand";
|
|
17
|
+
export * from "./UpdateMarketplaceRevenueShareAllocationCommand";
|
|
18
|
+
export * from "./UpdateRevenueAttributionCommand";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export const resolveClientEndpointParameters = (options) => {
|
|
2
|
+
return Object.assign(options, {
|
|
3
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
4
|
+
defaultSigningName: "partnercentral",
|
|
5
|
+
});
|
|
6
|
+
};
|
|
7
|
+
export const commonParams = {
|
|
8
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
9
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
10
|
+
Region: { type: "builtInParams", name: "region" },
|
|
11
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { BinaryDecisionDiagram } from "@smithy/core/endpoints";
|
|
2
|
+
const i = "authSchemes", j = "name", k = "signingRegion";
|
|
3
|
+
const a = "isSet", b = "PartitionResult", c = "sigv4", d = { "ref": "Endpoint" }, e = { [j]: "sigv4a", "signingRegionSet": ["*"] }, f = { [i]: [e, { [j]: c, [k]: "us-gov-west-1" }] }, g = { [i]: [e, { [j]: c, [k]: "{PartitionResult#implicitGlobalRegion}" }] }, h = [{ "ref": "Region" }];
|
|
4
|
+
const _data = {
|
|
5
|
+
conditions: [
|
|
6
|
+
[a, [d]],
|
|
7
|
+
[a, h],
|
|
8
|
+
["aws.partition", h, b],
|
|
9
|
+
["stringEquals", [{ fn: "getAttr", argv: [{ ref: b }, "name"] }, "aws-us-gov"]],
|
|
10
|
+
["booleanEquals", [{ ref: "UseFIPS" }, true]]
|
|
11
|
+
],
|
|
12
|
+
results: [
|
|
13
|
+
[-1],
|
|
14
|
+
[-1, "Invalid Configuration: FIPS and custom endpoint are not supported"],
|
|
15
|
+
[d, { [i]: [e, { [j]: c }] }],
|
|
16
|
+
["https://partnercentral-prm.us-gov.{PartitionResult#dualStackDnsSuffix}", f],
|
|
17
|
+
["https://partnercentral-prm-fips.us-gov.{PartitionResult#dualStackDnsSuffix}", f],
|
|
18
|
+
["https://partnercentral-prm-fips.global.{PartitionResult#dualStackDnsSuffix}", g],
|
|
19
|
+
["https://partnercentral-prm.global.{PartitionResult#dualStackDnsSuffix}", g],
|
|
20
|
+
[-1, "Invalid Configuration: Missing Region"]
|
|
21
|
+
]
|
|
22
|
+
};
|
|
23
|
+
const root = 2;
|
|
24
|
+
const r = 100_000_000;
|
|
25
|
+
const nodes = new Int32Array([
|
|
26
|
+
-1, 1, -1,
|
|
27
|
+
0, 8, 3,
|
|
28
|
+
1, 4, r + 7,
|
|
29
|
+
2, 5, r + 7,
|
|
30
|
+
3, 7, 6,
|
|
31
|
+
4, r + 5, r + 6,
|
|
32
|
+
4, r + 4, r + 3,
|
|
33
|
+
4, r + 1, r + 2,
|
|
34
|
+
]);
|
|
35
|
+
export const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { awsEndpointFunctions } from "@aws-sdk/core/client";
|
|
2
|
+
import { customEndpointFunctions, decideEndpoint, EndpointCache } from "@smithy/core/endpoints";
|
|
3
|
+
import { bdd } from "./bdd";
|
|
4
|
+
const cache = new EndpointCache({
|
|
5
|
+
size: 50,
|
|
6
|
+
params: ["Endpoint", "Region", "UseFIPS"],
|
|
7
|
+
});
|
|
8
|
+
export const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
9
|
+
return cache.get(endpointParams, () => decideEndpoint(bdd, {
|
|
10
|
+
endpointParams: endpointParams,
|
|
11
|
+
logger: context.logger,
|
|
12
|
+
}));
|
|
13
|
+
};
|
|
14
|
+
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist-es/index.js
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from "./PartnerCentralRevenueMeasurementClient";
|
|
2
|
+
export * from "./PartnerCentralRevenueMeasurement";
|
|
3
|
+
export * from "./commands";
|
|
4
|
+
export { Command as $Command } from "@smithy/core/client";
|
|
5
|
+
export * from "./schemas/schemas_0";
|
|
6
|
+
export * from "./pagination";
|
|
7
|
+
export * from "./models/enums";
|
|
8
|
+
export * from "./models/errors";
|
|
9
|
+
export * from "./models/models_0";
|
|
10
|
+
export { PartnerCentralRevenueMeasurementServiceException } from "./models/PartnerCentralRevenueMeasurementServiceException";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, } from "@smithy/core/client";
|
|
2
|
+
export { __ServiceException };
|
|
3
|
+
export class PartnerCentralRevenueMeasurementServiceException extends __ServiceException {
|
|
4
|
+
constructor(options) {
|
|
5
|
+
super(options);
|
|
6
|
+
Object.setPrototypeOf(this, PartnerCentralRevenueMeasurementServiceException.prototype);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
export const AccessDeniedExceptionReason = {
|
|
2
|
+
ACCESS_DENIED: "ACCESS_DENIED",
|
|
3
|
+
};
|
|
4
|
+
export const AllocationStatus = {
|
|
5
|
+
ACTIVE: "ACTIVE",
|
|
6
|
+
INACTIVE: "INACTIVE",
|
|
7
|
+
};
|
|
8
|
+
export const AttributionSortBy = {
|
|
9
|
+
LAST_MODIFIED_DATE: "LastModifiedDate",
|
|
10
|
+
};
|
|
11
|
+
export const CatalogName = {
|
|
12
|
+
AWS: "AWS",
|
|
13
|
+
SANDBOX: "Sandbox",
|
|
14
|
+
};
|
|
15
|
+
export const TenancyModel = {
|
|
16
|
+
MULTI_TENANT: "MULTI_TENANT",
|
|
17
|
+
SINGLE_TENANT: "SINGLE_TENANT",
|
|
18
|
+
};
|
|
19
|
+
export const ConflictExceptionReason = {
|
|
20
|
+
CONCURRENT_MODIFICATION: "CONCURRENT_MODIFICATION",
|
|
21
|
+
CONFLICT_CLIENT_TOKEN: "CONFLICT_CLIENT_TOKEN",
|
|
22
|
+
RESOURCE_ALREADY_EXISTS: "RESOURCE_ALREADY_EXISTS",
|
|
23
|
+
REVISION_MISMATCH: "REVISION_MISMATCH",
|
|
24
|
+
};
|
|
25
|
+
export const ResourceNotFoundExceptionReason = {
|
|
26
|
+
RESOURCE_NOT_FOUND: "RESOURCE_NOT_FOUND",
|
|
27
|
+
};
|
|
28
|
+
export const ServiceQuotaExceededExceptionReason = {
|
|
29
|
+
ATTRIBUTION_LIMIT_EXCEEDED: "ATTRIBUTION_LIMIT_EXCEEDED",
|
|
30
|
+
TAG_LIMIT_EXCEEDED: "TAG_LIMIT_EXCEEDED",
|
|
31
|
+
};
|
|
32
|
+
export const FieldValidationCode = {
|
|
33
|
+
ACTION_NOT_PERMITTED: "ACTION_NOT_PERMITTED",
|
|
34
|
+
DUPLICATE_VALUE: "DUPLICATE_VALUE",
|
|
35
|
+
INVALID_ENUM_VALUE: "INVALID_ENUM_VALUE",
|
|
36
|
+
INVALID_NUMBER_FORMAT: "INVALID_NUMBER_FORMAT",
|
|
37
|
+
INVALID_STRING_FORMAT: "INVALID_STRING_FORMAT",
|
|
38
|
+
INVALID_STRING_LENGTH: "INVALID_STRING_LENGTH",
|
|
39
|
+
INVALID_VALUE: "INVALID_VALUE",
|
|
40
|
+
REQUIRED_FIELD_MISSING: "REQUIRED_FIELD_MISSING",
|
|
41
|
+
TOO_MANY_VALUES: "TOO_MANY_VALUES",
|
|
42
|
+
};
|
|
43
|
+
export const ValidationExceptionReason = {
|
|
44
|
+
BUSINESS_VALIDATION_FAILED: "BUSINESS_VALIDATION_FAILED",
|
|
45
|
+
REQUEST_VALIDATION_FAILED: "REQUEST_VALIDATION_FAILED",
|
|
46
|
+
};
|
|
47
|
+
export const MarketplaceRevenueShareAllocationSortField = {
|
|
48
|
+
EFFECTIVE_FROM: "EffectiveFrom",
|
|
49
|
+
};
|
|
50
|
+
export const SortOrder = {
|
|
51
|
+
ASCENDING: "ASCENDING",
|
|
52
|
+
DESCENDING: "DESCENDING",
|
|
53
|
+
};
|
|
54
|
+
export const MarketplaceRevenueShareSortBy = {
|
|
55
|
+
LAST_MODIFIED_DATE: "LastModifiedDate",
|
|
56
|
+
};
|
|
57
|
+
export const EntityType = {
|
|
58
|
+
OFFER: "OFFER",
|
|
59
|
+
OPPORTUNITY: "OPPORTUNITY",
|
|
60
|
+
};
|
|
61
|
+
export const RevenueAttributionAllocationAction = {
|
|
62
|
+
CREATE: "CREATE",
|
|
63
|
+
UPDATE: "UPDATE",
|
|
64
|
+
};
|
|
65
|
+
export const RevenueAttributionAllocationErrorCode = {
|
|
66
|
+
ACCESS_DENIED: "ACCESS_DENIED",
|
|
67
|
+
ALLOCATION_CAP_EXCEEDED: "ALLOCATION_CAP_EXCEEDED",
|
|
68
|
+
CONCURRENT_MODIFICATION: "CONCURRENT_MODIFICATION",
|
|
69
|
+
IMMUTABLE_ALLOCATION: "IMMUTABLE_ALLOCATION",
|
|
70
|
+
INTERNAL_ERROR: "INTERNAL_ERROR",
|
|
71
|
+
INVALID_VALUE: "INVALID_VALUE",
|
|
72
|
+
RESOURCE_NOT_FOUND: "RESOURCE_NOT_FOUND",
|
|
73
|
+
};
|
|
74
|
+
export const RevenueAttributionAllocationTaskStatus = {
|
|
75
|
+
COMPLETE: "COMPLETE",
|
|
76
|
+
FAILED: "FAILED",
|
|
77
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
78
|
+
};
|
|
79
|
+
export const RevenueAttributionAllocationSortField = {
|
|
80
|
+
EFFECTIVE_FROM: "EffectiveFrom",
|
|
81
|
+
};
|