@salesforce/lds-adapters-revenue-sales-transaction-contexts 1.303.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.txt +82 -0
- package/dist/es/es2018/revenue-sales-transaction-contexts.js +861 -0
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +62 -0
- package/dist/es/es2018/types/src/generated/adapters/createRampDeal.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/adapters/deleteRampDeal.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/adapters/updateRampDeal.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/adapters/viewRampDeal.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +4 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +7 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectRevenueManagementSalesTransactionContextsActionsRampDealViewByResourceId.d.ts +20 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectRevenueManagementSalesTransactionContextsActionsRampDealCreateByResourceId.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectRevenueManagementSalesTransactionContextsActionsRampDealDeleteByResourceId.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectRevenueManagementSalesTransactionContextsActionsRampDealUpdateByResourceId.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/types/ContextNodeInputRepresentation.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/CreateRampDealInputRepresentation.d.ts +49 -0
- package/dist/es/es2018/types/src/generated/types/CreateRampDealInputWrapperRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/DeleteRampDealInputRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/DeleteRampDealInputWrapperRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/ExecutionSettingsInputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/RampDealServiceErrorResponseRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/RampDealServiceOutputRepresentation.d.ts +52 -0
- package/dist/es/es2018/types/src/generated/types/UpdateRampDealInputRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/UpdateRampDealInputWrapperRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +32 -0
- package/package.json +67 -0
- package/sfdc/index.d.ts +1 -0
- package/sfdc/index.js +956 -0
- package/src/raml/api.raml +251 -0
- package/src/raml/luvio.raml +33 -0
package/dist/es/es2018/types/src/generated/types/UpdateRampDealInputWrapperRepresentation.d.ts
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { UpdateRampDealInputRepresentation as UpdateRampDealInputRepresentation_UpdateRampDealInputRepresentation } from './UpdateRampDealInputRepresentation';
|
|
2
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
3
|
+
export declare const VERSION = "c2d414764db9dd3ad9f4510b6cacd101";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: UpdateRampDealInputWrapperRepresentation, existing: UpdateRampDealInputWrapperRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): UpdateRampDealInputWrapperRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: UpdateRampDealInputWrapperRepresentationNormalized, incoming: UpdateRampDealInputWrapperRepresentationNormalized): boolean;
|
|
9
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: UpdateRampDealInputWrapperRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
+
/**
|
|
12
|
+
* Input Wrapper Representation for Update ramp deal connect API
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdateRampDealInputWrapperRepresentationNormalized {
|
|
18
|
+
updateRampDealInputParam: UpdateRampDealInputRepresentation_UpdateRampDealInputRepresentation;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Input Wrapper Representation for Update ramp deal connect API
|
|
22
|
+
*
|
|
23
|
+
* Keys:
|
|
24
|
+
* (none)
|
|
25
|
+
*/
|
|
26
|
+
export interface UpdateRampDealInputWrapperRepresentation {
|
|
27
|
+
updateRampDealInputParam: UpdateRampDealInputRepresentation_UpdateRampDealInputRepresentation;
|
|
28
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
+
export declare const ObjectKeys: {
|
|
3
|
+
(o: object): string[];
|
|
4
|
+
(o: {}): string[];
|
|
5
|
+
}, ObjectCreate: {
|
|
6
|
+
(o: object | null): any;
|
|
7
|
+
(o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any;
|
|
8
|
+
}, ObjectAssign: {
|
|
9
|
+
<T extends {}, U>(target: T, source: U): T & U;
|
|
10
|
+
<T_1 extends {}, U_1, V>(target: T_1, source1: U_1, source2: V): T_1 & U_1 & V;
|
|
11
|
+
<T_2 extends {}, U_2, V_1, W>(target: T_2, source1: U_2, source2: V_1, source3: W): T_2 & U_2 & V_1 & W;
|
|
12
|
+
(target: object, ...sources: any[]): any;
|
|
13
|
+
};
|
|
14
|
+
export declare const ArrayIsArray: (arg: any) => arg is any[];
|
|
15
|
+
export declare const JSONStringify: {
|
|
16
|
+
(value: any, replacer?: ((this: any, key: string, value: any) => any) | undefined, space?: string | number | undefined): string;
|
|
17
|
+
(value: any, replacer?: (string | number)[] | null | undefined, space?: string | number | undefined): string;
|
|
18
|
+
};
|
|
19
|
+
type AllowedPrimitives = boolean | string | number | Date | null;
|
|
20
|
+
type Value<T> = T extends AllowedPrimitives ? T : RecursivePartial<T>;
|
|
21
|
+
export type RecursivePartial<T> = null | {
|
|
22
|
+
[P in keyof T]?: T[P] extends Array<infer U> ? Array<Value<U>> | null : Value<T[P]> | null;
|
|
23
|
+
};
|
|
24
|
+
export declare function equalsArray<U, V extends U[]>(a: V, b: V, equalsItem: (itemA: U, itemB: U) => boolean | void): boolean;
|
|
25
|
+
export declare function equalsObject<U, V extends {
|
|
26
|
+
[key: string]: U;
|
|
27
|
+
}>(a: V, b: V, equalsProp: (propA: U, propB: U) => boolean | void): boolean;
|
|
28
|
+
export declare function createLink(ref: string | $64$luvio_engine_NormalizedKeyMetadata): {
|
|
29
|
+
__ref: string;
|
|
30
|
+
};
|
|
31
|
+
export declare function assignMetadataLink(entry: any, metadataKey: string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
32
|
+
export {};
|
package/package.json
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@salesforce/lds-adapters-revenue-sales-transaction-contexts",
|
|
3
|
+
"version": "1.303.0",
|
|
4
|
+
"description": "The API family provides set of APIs which will allow a sales rep to provide year over year deal to a customer and lock in long term revenue and customer.",
|
|
5
|
+
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
|
+
"main": "dist/es/es2018/revenue-sales-transaction-contexts.js",
|
|
7
|
+
"module": "dist/es/es2018/revenue-sales-transaction-contexts.js",
|
|
8
|
+
"types": "dist/es/es2018/types/src/generated/artifacts/main.d.ts",
|
|
9
|
+
"files": [
|
|
10
|
+
"dist",
|
|
11
|
+
"sfdc",
|
|
12
|
+
"src/raml/*"
|
|
13
|
+
],
|
|
14
|
+
"exports": {
|
|
15
|
+
".": {
|
|
16
|
+
"types": "./dist/es/es2018/types/src/generated/artifacts/main.d.ts",
|
|
17
|
+
"import": "./dist/es/es2018/revenue-sales-transaction-contexts.js",
|
|
18
|
+
"require": "./dist/es/es2018/revenue-sales-transaction-contexts.js"
|
|
19
|
+
},
|
|
20
|
+
"./sfdc": {
|
|
21
|
+
"types": "./sfdc/index.d.ts",
|
|
22
|
+
"import": "./sfdc/index.js",
|
|
23
|
+
"default": "./sfdc/index.js"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"sfdc": {
|
|
27
|
+
"namespace": "lightning",
|
|
28
|
+
"module": "revenueSalesTransactionContextsApi"
|
|
29
|
+
},
|
|
30
|
+
"contributors": [
|
|
31
|
+
"skundaliya@salesforce.com"
|
|
32
|
+
],
|
|
33
|
+
"scripts": {
|
|
34
|
+
"build": "yarn build:services",
|
|
35
|
+
"build:raml": "luvio generate src/raml/luvio.raml src/generated -p '../lds-compiler-plugins'",
|
|
36
|
+
"build:services": "rollup --bundleConfigAsCjs --config rollup.config.js",
|
|
37
|
+
"clean": "rm -rf dist sfdc src/generated",
|
|
38
|
+
"release:core": "../../scripts/release/core.js --adapter=lds-adapters-revenue-sales-transaction-contexts",
|
|
39
|
+
"release:corejar": "yarn build && ../core-build/scripts/core.js --adapter=lds-adapters-revenue-sales-transaction-contexts",
|
|
40
|
+
"test:unit": "jest"
|
|
41
|
+
},
|
|
42
|
+
"dependencies": {
|
|
43
|
+
"@salesforce/lds-bindings": "^1.303.0"
|
|
44
|
+
},
|
|
45
|
+
"devDependencies": {
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.303.0",
|
|
47
|
+
"@salesforce/lds-karma": "^1.303.0"
|
|
48
|
+
},
|
|
49
|
+
"nx": {
|
|
50
|
+
"targets": {
|
|
51
|
+
"build": {
|
|
52
|
+
"outputs": [
|
|
53
|
+
"{projectRoot}/dist",
|
|
54
|
+
"{projectRoot}/sfdc"
|
|
55
|
+
]
|
|
56
|
+
},
|
|
57
|
+
"build:raml": {
|
|
58
|
+
"outputs": [
|
|
59
|
+
"{projectRoot}/src/generated"
|
|
60
|
+
]
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"volta": {
|
|
65
|
+
"extends": "../../package.json"
|
|
66
|
+
}
|
|
67
|
+
}
|
package/sfdc/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/es/es2018/types/src/generated/artifacts/sfdc';
|