@salesforce/lds-adapters-revenue-sales-transaction-contexts 1.303.0 → 1.305.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/dist/es/es2018/revenue-sales-transaction-contexts.js +47 -141
- package/dist/es/es2018/types/src/generated/adapters/createRampDeal.d.ts +8 -2
- package/dist/es/es2018/types/src/generated/adapters/deleteRampDeal.d.ts +1 -2
- package/dist/es/es2018/types/src/generated/adapters/updateRampDeal.d.ts +4 -2
- package/dist/es/es2018/types/src/generated/resources/postConnectRevenueManagementSalesTransactionContextsActionsRampDealCreateByResourceId.d.ts +8 -2
- package/dist/es/es2018/types/src/generated/resources/postConnectRevenueManagementSalesTransactionContextsActionsRampDealDeleteByResourceId.d.ts +1 -2
- package/dist/es/es2018/types/src/generated/resources/postConnectRevenueManagementSalesTransactionContextsActionsRampDealUpdateByResourceId.d.ts +4 -2
- package/dist/es/es2018/types/src/generated/types/CreateRampDealInputRepresentation.d.ts +3 -3
- package/dist/es/es2018/types/src/generated/types/UpdateRampDealInputRepresentation.d.ts +9 -9
- package/package.json +4 -4
- package/sfdc/index.js +48 -142
- package/src/raml/api.raml +8 -26
- package/dist/es/es2018/types/src/generated/types/CreateRampDealInputWrapperRepresentation.d.ts +0 -28
- package/dist/es/es2018/types/src/generated/types/DeleteRampDealInputWrapperRepresentation.d.ts +0 -28
- package/dist/es/es2018/types/src/generated/types/UpdateRampDealInputWrapperRepresentation.d.ts +0 -28
|
@@ -112,57 +112,8 @@ function createLink(ref) {
|
|
|
112
112
|
};
|
|
113
113
|
}
|
|
114
114
|
|
|
115
|
-
function validate$4(obj, path = 'CreateRampDealInputRepresentation') {
|
|
116
|
-
const v_error = (() => {
|
|
117
|
-
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
118
|
-
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
119
|
-
}
|
|
120
|
-
const obj_executionSettings = obj.executionSettings;
|
|
121
|
-
const path_executionSettings = path + '.executionSettings';
|
|
122
|
-
if (typeof obj_executionSettings !== 'object' || ArrayIsArray(obj_executionSettings) || obj_executionSettings === null) {
|
|
123
|
-
return new TypeError('Expected "object" but received "' + typeof obj_executionSettings + '" (at "' + path_executionSettings + '")');
|
|
124
|
-
}
|
|
125
|
-
const obj_segmentType = obj.segmentType;
|
|
126
|
-
const path_segmentType = path + '.segmentType';
|
|
127
|
-
if (typeof obj_segmentType !== 'string') {
|
|
128
|
-
return new TypeError('Expected "string" but received "' + typeof obj_segmentType + '" (at "' + path_segmentType + '")');
|
|
129
|
-
}
|
|
130
|
-
const obj_subscriptionTerm = obj.subscriptionTerm;
|
|
131
|
-
const path_subscriptionTerm = path + '.subscriptionTerm';
|
|
132
|
-
if (typeof obj_subscriptionTerm !== 'number' || (typeof obj_subscriptionTerm === 'number' && Math.floor(obj_subscriptionTerm) !== obj_subscriptionTerm)) {
|
|
133
|
-
return new TypeError('Expected "integer" but received "' + typeof obj_subscriptionTerm + '" (at "' + path_subscriptionTerm + '")');
|
|
134
|
-
}
|
|
135
|
-
const obj_subscriptionTermUnit = obj.subscriptionTermUnit;
|
|
136
|
-
const path_subscriptionTermUnit = path + '.subscriptionTermUnit';
|
|
137
|
-
if (typeof obj_subscriptionTermUnit !== 'string') {
|
|
138
|
-
return new TypeError('Expected "string" but received "' + typeof obj_subscriptionTermUnit + '" (at "' + path_subscriptionTermUnit + '")');
|
|
139
|
-
}
|
|
140
|
-
const obj_transactionId = obj.transactionId;
|
|
141
|
-
const path_transactionId = path + '.transactionId';
|
|
142
|
-
if (typeof obj_transactionId !== 'string') {
|
|
143
|
-
return new TypeError('Expected "string" but received "' + typeof obj_transactionId + '" (at "' + path_transactionId + '")');
|
|
144
|
-
}
|
|
145
|
-
const obj_transactionLineId = obj.transactionLineId;
|
|
146
|
-
const path_transactionLineId = path + '.transactionLineId';
|
|
147
|
-
if (typeof obj_transactionLineId !== 'string') {
|
|
148
|
-
return new TypeError('Expected "string" but received "' + typeof obj_transactionLineId + '" (at "' + path_transactionLineId + '")');
|
|
149
|
-
}
|
|
150
|
-
const obj_trialTerm = obj.trialTerm;
|
|
151
|
-
const path_trialTerm = path + '.trialTerm';
|
|
152
|
-
if (typeof obj_trialTerm !== 'number' || (typeof obj_trialTerm === 'number' && Math.floor(obj_trialTerm) !== obj_trialTerm)) {
|
|
153
|
-
return new TypeError('Expected "integer" but received "' + typeof obj_trialTerm + '" (at "' + path_trialTerm + '")');
|
|
154
|
-
}
|
|
155
|
-
const obj_trialTermUnit = obj.trialTermUnit;
|
|
156
|
-
const path_trialTermUnit = path + '.trialTermUnit';
|
|
157
|
-
if (typeof obj_trialTermUnit !== 'string') {
|
|
158
|
-
return new TypeError('Expected "string" but received "' + typeof obj_trialTermUnit + '" (at "' + path_trialTermUnit + '")');
|
|
159
|
-
}
|
|
160
|
-
})();
|
|
161
|
-
return v_error === undefined ? null : v_error;
|
|
162
|
-
}
|
|
163
|
-
|
|
164
115
|
const VERSION$1 = "a0c4d1b3fd4cdd35e2f33ce19475d010";
|
|
165
|
-
function validate$
|
|
116
|
+
function validate$1(obj, path = 'RampDealServiceErrorResponseRepresentation') {
|
|
166
117
|
const v_error = (() => {
|
|
167
118
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
168
119
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -213,7 +164,7 @@ function equals$1(existing, incoming) {
|
|
|
213
164
|
|
|
214
165
|
const TTL = 1000;
|
|
215
166
|
const VERSION = "416cf27851f4dd8b8185076dd39a72bd";
|
|
216
|
-
function validate
|
|
167
|
+
function validate(obj, path = 'RampDealServiceOutputRepresentation') {
|
|
217
168
|
const v_error = (() => {
|
|
218
169
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
219
170
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -226,7 +177,7 @@ function validate$2(obj, path = 'RampDealServiceOutputRepresentation') {
|
|
|
226
177
|
for (let i = 0; i < obj_errors.length; i++) {
|
|
227
178
|
const obj_errors_item = obj_errors[i];
|
|
228
179
|
const path_errors_item = path_errors + '[' + i + ']';
|
|
229
|
-
const referencepath_errors_itemValidationError = validate$
|
|
180
|
+
const referencepath_errors_itemValidationError = validate$1(obj_errors_item, path_errors_item);
|
|
230
181
|
if (referencepath_errors_itemValidationError !== null) {
|
|
231
182
|
let message = 'Object doesn\'t match RampDealServiceErrorResponseRepresentation (at "' + path_errors_item + '")\n';
|
|
232
183
|
message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -337,7 +288,7 @@ function equals(existing, incoming) {
|
|
|
337
288
|
}
|
|
338
289
|
const ingest = function RampDealServiceOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
339
290
|
if (process.env.NODE_ENV !== 'production') {
|
|
340
|
-
const validateError = validate
|
|
291
|
+
const validateError = validate(input);
|
|
341
292
|
if (validateError !== null) {
|
|
342
293
|
throw validateError;
|
|
343
294
|
}
|
|
@@ -397,18 +348,22 @@ function createResourceRequest$3(config) {
|
|
|
397
348
|
const adapterName$3 = 'createRampDeal';
|
|
398
349
|
const createRampDeal_ConfigPropertyMetadata = [
|
|
399
350
|
generateParamConfigMetadata('resourceId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
400
|
-
generateParamConfigMetadata('
|
|
351
|
+
generateParamConfigMetadata('executionSettings', true, 2 /* Body */, 4 /* Unsupported */),
|
|
352
|
+
generateParamConfigMetadata('segmentType', true, 2 /* Body */, 0 /* String */),
|
|
353
|
+
generateParamConfigMetadata('subscriptionTerm', true, 2 /* Body */, 3 /* Integer */),
|
|
354
|
+
generateParamConfigMetadata('subscriptionTermUnit', true, 2 /* Body */, 0 /* String */),
|
|
355
|
+
generateParamConfigMetadata('transactionId', true, 2 /* Body */, 0 /* String */),
|
|
356
|
+
generateParamConfigMetadata('transactionLineId', true, 2 /* Body */, 0 /* String */),
|
|
357
|
+
generateParamConfigMetadata('trialTerm', true, 2 /* Body */, 3 /* Integer */),
|
|
358
|
+
generateParamConfigMetadata('trialTermUnit', true, 2 /* Body */, 0 /* String */),
|
|
401
359
|
];
|
|
402
360
|
const createRampDeal_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, createRampDeal_ConfigPropertyMetadata);
|
|
403
361
|
const createResourceParams$3 = /*#__PURE__*/ createResourceParams$4(createRampDeal_ConfigPropertyMetadata);
|
|
404
362
|
function typeCheckConfig$3(untrustedConfig) {
|
|
405
363
|
const config = {};
|
|
406
364
|
typeCheckConfig$4(untrustedConfig, config, createRampDeal_ConfigPropertyMetadata);
|
|
407
|
-
const
|
|
408
|
-
|
|
409
|
-
if (referenceCreateRampDealInputRepresentationValidationError === null) {
|
|
410
|
-
config.createRampDealInputParam = untrustedConfig_createRampDealInputParam;
|
|
411
|
-
}
|
|
365
|
+
const untrustedConfig_executionSettings = untrustedConfig.executionSettings;
|
|
366
|
+
config.executionSettings = untrustedConfig_executionSettings;
|
|
412
367
|
return config;
|
|
413
368
|
}
|
|
414
369
|
function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
|
|
@@ -453,27 +408,6 @@ const createRampDealAdapterFactory = (luvio) => {
|
|
|
453
408
|
};
|
|
454
409
|
};
|
|
455
410
|
|
|
456
|
-
function validate$1(obj, path = 'DeleteRampDealInputRepresentation') {
|
|
457
|
-
const v_error = (() => {
|
|
458
|
-
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
459
|
-
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
460
|
-
}
|
|
461
|
-
const obj_rampDealIds = obj.rampDealIds;
|
|
462
|
-
const path_rampDealIds = path + '.rampDealIds';
|
|
463
|
-
if (!ArrayIsArray(obj_rampDealIds)) {
|
|
464
|
-
return new TypeError('Expected "array" but received "' + typeof obj_rampDealIds + '" (at "' + path_rampDealIds + '")');
|
|
465
|
-
}
|
|
466
|
-
for (let i = 0; i < obj_rampDealIds.length; i++) {
|
|
467
|
-
const obj_rampDealIds_item = obj_rampDealIds[i];
|
|
468
|
-
const path_rampDealIds_item = path_rampDealIds + '[' + i + ']';
|
|
469
|
-
if (typeof obj_rampDealIds_item !== 'string') {
|
|
470
|
-
return new TypeError('Expected "string" but received "' + typeof obj_rampDealIds_item + '" (at "' + path_rampDealIds_item + '")');
|
|
471
|
-
}
|
|
472
|
-
}
|
|
473
|
-
})();
|
|
474
|
-
return v_error === undefined ? null : v_error;
|
|
475
|
-
}
|
|
476
|
-
|
|
477
411
|
function select$2(luvio, params) {
|
|
478
412
|
return select$4();
|
|
479
413
|
}
|
|
@@ -514,18 +448,13 @@ function createResourceRequest$2(config) {
|
|
|
514
448
|
const adapterName$2 = 'deleteRampDeal';
|
|
515
449
|
const deleteRampDeal_ConfigPropertyMetadata = [
|
|
516
450
|
generateParamConfigMetadata('resourceId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
517
|
-
generateParamConfigMetadata('
|
|
451
|
+
generateParamConfigMetadata('rampDealIds', true, 2 /* Body */, 0 /* String */, true),
|
|
518
452
|
];
|
|
519
453
|
const deleteRampDeal_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, deleteRampDeal_ConfigPropertyMetadata);
|
|
520
454
|
const createResourceParams$2 = /*#__PURE__*/ createResourceParams$4(deleteRampDeal_ConfigPropertyMetadata);
|
|
521
455
|
function typeCheckConfig$2(untrustedConfig) {
|
|
522
456
|
const config = {};
|
|
523
457
|
typeCheckConfig$4(untrustedConfig, config, deleteRampDeal_ConfigPropertyMetadata);
|
|
524
|
-
const untrustedConfig_deleteRampDealInputParam = untrustedConfig.deleteRampDealInputParam;
|
|
525
|
-
const referenceDeleteRampDealInputRepresentationValidationError = validate$1(untrustedConfig_deleteRampDealInputParam);
|
|
526
|
-
if (referenceDeleteRampDealInputRepresentationValidationError === null) {
|
|
527
|
-
config.deleteRampDealInputParam = untrustedConfig_deleteRampDealInputParam;
|
|
528
|
-
}
|
|
529
458
|
return config;
|
|
530
459
|
}
|
|
531
460
|
function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
|
|
@@ -570,56 +499,6 @@ const deleteRampDealAdapterFactory = (luvio) => {
|
|
|
570
499
|
};
|
|
571
500
|
};
|
|
572
501
|
|
|
573
|
-
function validate(obj, path = 'UpdateRampDealInputRepresentation') {
|
|
574
|
-
const v_error = (() => {
|
|
575
|
-
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
576
|
-
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
577
|
-
}
|
|
578
|
-
const obj_addedNodes = obj.addedNodes;
|
|
579
|
-
const path_addedNodes = path + '.addedNodes';
|
|
580
|
-
if (!ArrayIsArray(obj_addedNodes)) {
|
|
581
|
-
return new TypeError('Expected "array" but received "' + typeof obj_addedNodes + '" (at "' + path_addedNodes + '")');
|
|
582
|
-
}
|
|
583
|
-
for (let i = 0; i < obj_addedNodes.length; i++) {
|
|
584
|
-
const obj_addedNodes_item = obj_addedNodes[i];
|
|
585
|
-
const path_addedNodes_item = path_addedNodes + '[' + i + ']';
|
|
586
|
-
if (typeof obj_addedNodes_item !== 'object' || ArrayIsArray(obj_addedNodes_item) || obj_addedNodes_item === null) {
|
|
587
|
-
return new TypeError('Expected "object" but received "' + typeof obj_addedNodes_item + '" (at "' + path_addedNodes_item + '")');
|
|
588
|
-
}
|
|
589
|
-
}
|
|
590
|
-
const obj_deletedNodes = obj.deletedNodes;
|
|
591
|
-
const path_deletedNodes = path + '.deletedNodes';
|
|
592
|
-
if (!ArrayIsArray(obj_deletedNodes)) {
|
|
593
|
-
return new TypeError('Expected "array" but received "' + typeof obj_deletedNodes + '" (at "' + path_deletedNodes + '")');
|
|
594
|
-
}
|
|
595
|
-
for (let i = 0; i < obj_deletedNodes.length; i++) {
|
|
596
|
-
const obj_deletedNodes_item = obj_deletedNodes[i];
|
|
597
|
-
const path_deletedNodes_item = path_deletedNodes + '[' + i + ']';
|
|
598
|
-
if (typeof obj_deletedNodes_item !== 'object' || ArrayIsArray(obj_deletedNodes_item) || obj_deletedNodes_item === null) {
|
|
599
|
-
return new TypeError('Expected "object" but received "' + typeof obj_deletedNodes_item + '" (at "' + path_deletedNodes_item + '")');
|
|
600
|
-
}
|
|
601
|
-
}
|
|
602
|
-
const obj_executionSettings = obj.executionSettings;
|
|
603
|
-
const path_executionSettings = path + '.executionSettings';
|
|
604
|
-
if (typeof obj_executionSettings !== 'object' || ArrayIsArray(obj_executionSettings) || obj_executionSettings === null) {
|
|
605
|
-
return new TypeError('Expected "object" but received "' + typeof obj_executionSettings + '" (at "' + path_executionSettings + '")');
|
|
606
|
-
}
|
|
607
|
-
const obj_updatedNodes = obj.updatedNodes;
|
|
608
|
-
const path_updatedNodes = path + '.updatedNodes';
|
|
609
|
-
if (!ArrayIsArray(obj_updatedNodes)) {
|
|
610
|
-
return new TypeError('Expected "array" but received "' + typeof obj_updatedNodes + '" (at "' + path_updatedNodes + '")');
|
|
611
|
-
}
|
|
612
|
-
for (let i = 0; i < obj_updatedNodes.length; i++) {
|
|
613
|
-
const obj_updatedNodes_item = obj_updatedNodes[i];
|
|
614
|
-
const path_updatedNodes_item = path_updatedNodes + '[' + i + ']';
|
|
615
|
-
if (typeof obj_updatedNodes_item !== 'object' || ArrayIsArray(obj_updatedNodes_item) || obj_updatedNodes_item === null) {
|
|
616
|
-
return new TypeError('Expected "object" but received "' + typeof obj_updatedNodes_item + '" (at "' + path_updatedNodes_item + '")');
|
|
617
|
-
}
|
|
618
|
-
}
|
|
619
|
-
})();
|
|
620
|
-
return v_error === undefined ? null : v_error;
|
|
621
|
-
}
|
|
622
|
-
|
|
623
502
|
function select$1(luvio, params) {
|
|
624
503
|
return select$4();
|
|
625
504
|
}
|
|
@@ -660,17 +539,44 @@ function createResourceRequest$1(config) {
|
|
|
660
539
|
const adapterName$1 = 'updateRampDeal';
|
|
661
540
|
const updateRampDeal_ConfigPropertyMetadata = [
|
|
662
541
|
generateParamConfigMetadata('resourceId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
663
|
-
generateParamConfigMetadata('
|
|
542
|
+
generateParamConfigMetadata('addedNodes', true, 2 /* Body */, 4 /* Unsupported */, true),
|
|
543
|
+
generateParamConfigMetadata('deletedNodes', true, 2 /* Body */, 4 /* Unsupported */, true),
|
|
544
|
+
generateParamConfigMetadata('executionSettings', true, 2 /* Body */, 4 /* Unsupported */),
|
|
545
|
+
generateParamConfigMetadata('updatedNodes', true, 2 /* Body */, 4 /* Unsupported */, true),
|
|
664
546
|
];
|
|
665
547
|
const updateRampDeal_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, updateRampDeal_ConfigPropertyMetadata);
|
|
666
548
|
const createResourceParams$1 = /*#__PURE__*/ createResourceParams$4(updateRampDeal_ConfigPropertyMetadata);
|
|
667
549
|
function typeCheckConfig$1(untrustedConfig) {
|
|
668
550
|
const config = {};
|
|
669
551
|
typeCheckConfig$4(untrustedConfig, config, updateRampDeal_ConfigPropertyMetadata);
|
|
670
|
-
const
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
552
|
+
const untrustedConfig_addedNodes = untrustedConfig.addedNodes;
|
|
553
|
+
if (ArrayIsArray$1(untrustedConfig_addedNodes)) {
|
|
554
|
+
const untrustedConfig_addedNodes_array = [];
|
|
555
|
+
for (let i = 0, arrayLength = untrustedConfig_addedNodes.length; i < arrayLength; i++) {
|
|
556
|
+
const untrustedConfig_addedNodes_item = untrustedConfig_addedNodes[i];
|
|
557
|
+
untrustedConfig_addedNodes_array.push(untrustedConfig_addedNodes_item);
|
|
558
|
+
}
|
|
559
|
+
config.addedNodes = untrustedConfig_addedNodes_array;
|
|
560
|
+
}
|
|
561
|
+
const untrustedConfig_deletedNodes = untrustedConfig.deletedNodes;
|
|
562
|
+
if (ArrayIsArray$1(untrustedConfig_deletedNodes)) {
|
|
563
|
+
const untrustedConfig_deletedNodes_array = [];
|
|
564
|
+
for (let i = 0, arrayLength = untrustedConfig_deletedNodes.length; i < arrayLength; i++) {
|
|
565
|
+
const untrustedConfig_deletedNodes_item = untrustedConfig_deletedNodes[i];
|
|
566
|
+
untrustedConfig_deletedNodes_array.push(untrustedConfig_deletedNodes_item);
|
|
567
|
+
}
|
|
568
|
+
config.deletedNodes = untrustedConfig_deletedNodes_array;
|
|
569
|
+
}
|
|
570
|
+
const untrustedConfig_executionSettings = untrustedConfig.executionSettings;
|
|
571
|
+
config.executionSettings = untrustedConfig_executionSettings;
|
|
572
|
+
const untrustedConfig_updatedNodes = untrustedConfig.updatedNodes;
|
|
573
|
+
if (ArrayIsArray$1(untrustedConfig_updatedNodes)) {
|
|
574
|
+
const untrustedConfig_updatedNodes_array = [];
|
|
575
|
+
for (let i = 0, arrayLength = untrustedConfig_updatedNodes.length; i < arrayLength; i++) {
|
|
576
|
+
const untrustedConfig_updatedNodes_item = untrustedConfig_updatedNodes[i];
|
|
577
|
+
untrustedConfig_updatedNodes_array.push(untrustedConfig_updatedNodes_item);
|
|
578
|
+
}
|
|
579
|
+
config.updatedNodes = untrustedConfig_updatedNodes_array;
|
|
674
580
|
}
|
|
675
581
|
return config;
|
|
676
582
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
2
2
|
import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
|
|
3
|
-
import { CreateRampDealInputRepresentation as types_CreateRampDealInputRepresentation_CreateRampDealInputRepresentation } from '../types/CreateRampDealInputRepresentation';
|
|
4
3
|
import { ResourceRequestConfig as resources_postConnectRevenueManagementSalesTransactionContextsActionsRampDealCreateByResourceId_ResourceRequestConfig } from '../resources/postConnectRevenueManagementSalesTransactionContextsActionsRampDealCreateByResourceId';
|
|
5
4
|
import { RampDealServiceOutputRepresentation as types_RampDealServiceOutputRepresentation_RampDealServiceOutputRepresentation } from '../types/RampDealServiceOutputRepresentation';
|
|
6
5
|
export declare const adapterName = "createRampDeal";
|
|
@@ -8,7 +7,14 @@ export declare const createRampDeal_ConfigPropertyMetadata: $64$luvio_engine_Ada
|
|
|
8
7
|
export declare const createRampDeal_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
9
8
|
export interface CreateRampDealConfig {
|
|
10
9
|
resourceId: string;
|
|
11
|
-
|
|
10
|
+
executionSettings: unknown;
|
|
11
|
+
segmentType: string;
|
|
12
|
+
subscriptionTerm: number;
|
|
13
|
+
subscriptionTermUnit: string;
|
|
14
|
+
transactionId: string;
|
|
15
|
+
transactionLineId: string;
|
|
16
|
+
trialTerm: number;
|
|
17
|
+
trialTermUnit: string;
|
|
12
18
|
}
|
|
13
19
|
export declare const createResourceParams: (config: CreateRampDealConfig) => resources_postConnectRevenueManagementSalesTransactionContextsActionsRampDealCreateByResourceId_ResourceRequestConfig;
|
|
14
20
|
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<CreateRampDealConfig>): adapter$45$utils_Untrusted<CreateRampDealConfig>;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
2
2
|
import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
|
|
3
|
-
import { DeleteRampDealInputRepresentation as types_DeleteRampDealInputRepresentation_DeleteRampDealInputRepresentation } from '../types/DeleteRampDealInputRepresentation';
|
|
4
3
|
import { ResourceRequestConfig as resources_postConnectRevenueManagementSalesTransactionContextsActionsRampDealDeleteByResourceId_ResourceRequestConfig } from '../resources/postConnectRevenueManagementSalesTransactionContextsActionsRampDealDeleteByResourceId';
|
|
5
4
|
import { RampDealServiceOutputRepresentation as types_RampDealServiceOutputRepresentation_RampDealServiceOutputRepresentation } from '../types/RampDealServiceOutputRepresentation';
|
|
6
5
|
export declare const adapterName = "deleteRampDeal";
|
|
@@ -8,7 +7,7 @@ export declare const deleteRampDeal_ConfigPropertyMetadata: $64$luvio_engine_Ada
|
|
|
8
7
|
export declare const deleteRampDeal_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
9
8
|
export interface DeleteRampDealConfig {
|
|
10
9
|
resourceId: string;
|
|
11
|
-
|
|
10
|
+
rampDealIds: Array<string>;
|
|
12
11
|
}
|
|
13
12
|
export declare const createResourceParams: (config: DeleteRampDealConfig) => resources_postConnectRevenueManagementSalesTransactionContextsActionsRampDealDeleteByResourceId_ResourceRequestConfig;
|
|
14
13
|
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<DeleteRampDealConfig>): adapter$45$utils_Untrusted<DeleteRampDealConfig>;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
2
2
|
import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
|
|
3
|
-
import { UpdateRampDealInputRepresentation as types_UpdateRampDealInputRepresentation_UpdateRampDealInputRepresentation } from '../types/UpdateRampDealInputRepresentation';
|
|
4
3
|
import { ResourceRequestConfig as resources_postConnectRevenueManagementSalesTransactionContextsActionsRampDealUpdateByResourceId_ResourceRequestConfig } from '../resources/postConnectRevenueManagementSalesTransactionContextsActionsRampDealUpdateByResourceId';
|
|
5
4
|
import { RampDealServiceOutputRepresentation as types_RampDealServiceOutputRepresentation_RampDealServiceOutputRepresentation } from '../types/RampDealServiceOutputRepresentation';
|
|
6
5
|
export declare const adapterName = "updateRampDeal";
|
|
@@ -8,7 +7,10 @@ export declare const updateRampDeal_ConfigPropertyMetadata: $64$luvio_engine_Ada
|
|
|
8
7
|
export declare const updateRampDeal_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
9
8
|
export interface UpdateRampDealConfig {
|
|
10
9
|
resourceId: string;
|
|
11
|
-
|
|
10
|
+
addedNodes: Array<unknown>;
|
|
11
|
+
deletedNodes: Array<unknown>;
|
|
12
|
+
executionSettings: unknown;
|
|
13
|
+
updatedNodes: Array<unknown>;
|
|
12
14
|
}
|
|
13
15
|
export declare const createResourceParams: (config: UpdateRampDealConfig) => resources_postConnectRevenueManagementSalesTransactionContextsActionsRampDealUpdateByResourceId_ResourceRequestConfig;
|
|
14
16
|
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<UpdateRampDealConfig>): adapter$45$utils_Untrusted<UpdateRampDealConfig>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { CreateRampDealInputRepresentation as types_CreateRampDealInputRepresentation_CreateRampDealInputRepresentation } from '../types/CreateRampDealInputRepresentation';
|
|
2
1
|
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, FetchResponse as $64$luvio_engine_FetchResponse, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
3
2
|
import { RampDealServiceOutputRepresentation as types_RampDealServiceOutputRepresentation_RampDealServiceOutputRepresentation } from '../types/RampDealServiceOutputRepresentation';
|
|
4
3
|
export interface ResourceRequestConfig {
|
|
@@ -6,7 +5,14 @@ export interface ResourceRequestConfig {
|
|
|
6
5
|
resourceId: string;
|
|
7
6
|
};
|
|
8
7
|
body: {
|
|
9
|
-
|
|
8
|
+
executionSettings: unknown;
|
|
9
|
+
segmentType: string;
|
|
10
|
+
subscriptionTerm: number;
|
|
11
|
+
subscriptionTermUnit: string;
|
|
12
|
+
transactionId: string;
|
|
13
|
+
transactionLineId: string;
|
|
14
|
+
trialTerm: number;
|
|
15
|
+
trialTermUnit: string;
|
|
10
16
|
};
|
|
11
17
|
}
|
|
12
18
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { DeleteRampDealInputRepresentation as types_DeleteRampDealInputRepresentation_DeleteRampDealInputRepresentation } from '../types/DeleteRampDealInputRepresentation';
|
|
2
1
|
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, FetchResponse as $64$luvio_engine_FetchResponse, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
3
2
|
import { RampDealServiceOutputRepresentation as types_RampDealServiceOutputRepresentation_RampDealServiceOutputRepresentation } from '../types/RampDealServiceOutputRepresentation';
|
|
4
3
|
export interface ResourceRequestConfig {
|
|
@@ -6,7 +5,7 @@ export interface ResourceRequestConfig {
|
|
|
6
5
|
resourceId: string;
|
|
7
6
|
};
|
|
8
7
|
body: {
|
|
9
|
-
|
|
8
|
+
rampDealIds: Array<string>;
|
|
10
9
|
};
|
|
11
10
|
}
|
|
12
11
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { UpdateRampDealInputRepresentation as types_UpdateRampDealInputRepresentation_UpdateRampDealInputRepresentation } from '../types/UpdateRampDealInputRepresentation';
|
|
2
1
|
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, FetchResponse as $64$luvio_engine_FetchResponse, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
3
2
|
import { RampDealServiceOutputRepresentation as types_RampDealServiceOutputRepresentation_RampDealServiceOutputRepresentation } from '../types/RampDealServiceOutputRepresentation';
|
|
4
3
|
export interface ResourceRequestConfig {
|
|
@@ -6,7 +5,10 @@ export interface ResourceRequestConfig {
|
|
|
6
5
|
resourceId: string;
|
|
7
6
|
};
|
|
8
7
|
body: {
|
|
9
|
-
|
|
8
|
+
addedNodes: Array<unknown>;
|
|
9
|
+
deletedNodes: Array<unknown>;
|
|
10
|
+
executionSettings: unknown;
|
|
11
|
+
updatedNodes: Array<unknown>;
|
|
10
12
|
};
|
|
11
13
|
}
|
|
12
14
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
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';
|
|
2
|
-
export declare const VERSION = "
|
|
2
|
+
export declare const VERSION = "1b1376c43a73fff7577fd384a7c73c51";
|
|
3
3
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
4
|
export declare const RepresentationType: string;
|
|
5
5
|
export declare function normalize(input: CreateRampDealInputRepresentation, existing: CreateRampDealInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CreateRampDealInputRepresentationNormalized;
|
|
@@ -15,7 +15,7 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
15
15
|
*/
|
|
16
16
|
export interface CreateRampDealInputRepresentationNormalized {
|
|
17
17
|
/** Execution Settings like run pricing, run config rules */
|
|
18
|
-
executionSettings:
|
|
18
|
+
executionSettings: unknown;
|
|
19
19
|
/** Segment type: FreeTrial/Custom/Annual */
|
|
20
20
|
segmentType: string;
|
|
21
21
|
/** Subscription term period */
|
|
@@ -38,7 +38,7 @@ export interface CreateRampDealInputRepresentationNormalized {
|
|
|
38
38
|
* (none)
|
|
39
39
|
*/
|
|
40
40
|
export interface CreateRampDealInputRepresentation {
|
|
41
|
-
executionSettings:
|
|
41
|
+
executionSettings: unknown;
|
|
42
42
|
segmentType: string;
|
|
43
43
|
subscriptionTerm: number;
|
|
44
44
|
subscriptionTermUnit: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
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';
|
|
2
|
-
export declare const VERSION = "
|
|
2
|
+
export declare const VERSION = "d413d2fa1c6dffba123bcdd3ff0812fd";
|
|
3
3
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
4
|
export declare const RepresentationType: string;
|
|
5
5
|
export declare function normalize(input: UpdateRampDealInputRepresentation, existing: UpdateRampDealInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): UpdateRampDealInputRepresentationNormalized;
|
|
@@ -15,13 +15,13 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
15
15
|
*/
|
|
16
16
|
export interface UpdateRampDealInputRepresentationNormalized {
|
|
17
17
|
/** Input Representation for adding new nodes */
|
|
18
|
-
addedNodes: Array<
|
|
18
|
+
addedNodes: Array<unknown>;
|
|
19
19
|
/** Input Representation for deleting new nodes */
|
|
20
|
-
deletedNodes: Array<
|
|
20
|
+
deletedNodes: Array<unknown>;
|
|
21
21
|
/** Execution Settings like run pricing, run config rules */
|
|
22
|
-
executionSettings:
|
|
22
|
+
executionSettings: unknown;
|
|
23
23
|
/** Input Representation for updating new nodes */
|
|
24
|
-
updatedNodes: Array<
|
|
24
|
+
updatedNodes: Array<unknown>;
|
|
25
25
|
}
|
|
26
26
|
/**
|
|
27
27
|
* Update ramp deal connect API input representation
|
|
@@ -30,8 +30,8 @@ export interface UpdateRampDealInputRepresentationNormalized {
|
|
|
30
30
|
* (none)
|
|
31
31
|
*/
|
|
32
32
|
export interface UpdateRampDealInputRepresentation {
|
|
33
|
-
addedNodes: Array<
|
|
34
|
-
deletedNodes: Array<
|
|
35
|
-
executionSettings:
|
|
36
|
-
updatedNodes: Array<
|
|
33
|
+
addedNodes: Array<unknown>;
|
|
34
|
+
deletedNodes: Array<unknown>;
|
|
35
|
+
executionSettings: unknown;
|
|
36
|
+
updatedNodes: Array<unknown>;
|
|
37
37
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-revenue-sales-transaction-contexts",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.305.0",
|
|
4
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
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "dist/es/es2018/revenue-sales-transaction-contexts.js",
|
|
@@ -40,11 +40,11 @@
|
|
|
40
40
|
"test:unit": "jest"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@salesforce/lds-bindings": "^1.
|
|
43
|
+
"@salesforce/lds-bindings": "^1.305.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
47
|
-
"@salesforce/lds-karma": "^1.
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.305.0",
|
|
47
|
+
"@salesforce/lds-karma": "^1.305.0"
|
|
48
48
|
},
|
|
49
49
|
"nx": {
|
|
50
50
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -122,57 +122,8 @@ function createLink(ref) {
|
|
|
122
122
|
};
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
-
function validate$4(obj, path = 'CreateRampDealInputRepresentation') {
|
|
126
|
-
const v_error = (() => {
|
|
127
|
-
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
128
|
-
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
129
|
-
}
|
|
130
|
-
const obj_executionSettings = obj.executionSettings;
|
|
131
|
-
const path_executionSettings = path + '.executionSettings';
|
|
132
|
-
if (typeof obj_executionSettings !== 'object' || ArrayIsArray(obj_executionSettings) || obj_executionSettings === null) {
|
|
133
|
-
return new TypeError('Expected "object" but received "' + typeof obj_executionSettings + '" (at "' + path_executionSettings + '")');
|
|
134
|
-
}
|
|
135
|
-
const obj_segmentType = obj.segmentType;
|
|
136
|
-
const path_segmentType = path + '.segmentType';
|
|
137
|
-
if (typeof obj_segmentType !== 'string') {
|
|
138
|
-
return new TypeError('Expected "string" but received "' + typeof obj_segmentType + '" (at "' + path_segmentType + '")');
|
|
139
|
-
}
|
|
140
|
-
const obj_subscriptionTerm = obj.subscriptionTerm;
|
|
141
|
-
const path_subscriptionTerm = path + '.subscriptionTerm';
|
|
142
|
-
if (typeof obj_subscriptionTerm !== 'number' || (typeof obj_subscriptionTerm === 'number' && Math.floor(obj_subscriptionTerm) !== obj_subscriptionTerm)) {
|
|
143
|
-
return new TypeError('Expected "integer" but received "' + typeof obj_subscriptionTerm + '" (at "' + path_subscriptionTerm + '")');
|
|
144
|
-
}
|
|
145
|
-
const obj_subscriptionTermUnit = obj.subscriptionTermUnit;
|
|
146
|
-
const path_subscriptionTermUnit = path + '.subscriptionTermUnit';
|
|
147
|
-
if (typeof obj_subscriptionTermUnit !== 'string') {
|
|
148
|
-
return new TypeError('Expected "string" but received "' + typeof obj_subscriptionTermUnit + '" (at "' + path_subscriptionTermUnit + '")');
|
|
149
|
-
}
|
|
150
|
-
const obj_transactionId = obj.transactionId;
|
|
151
|
-
const path_transactionId = path + '.transactionId';
|
|
152
|
-
if (typeof obj_transactionId !== 'string') {
|
|
153
|
-
return new TypeError('Expected "string" but received "' + typeof obj_transactionId + '" (at "' + path_transactionId + '")');
|
|
154
|
-
}
|
|
155
|
-
const obj_transactionLineId = obj.transactionLineId;
|
|
156
|
-
const path_transactionLineId = path + '.transactionLineId';
|
|
157
|
-
if (typeof obj_transactionLineId !== 'string') {
|
|
158
|
-
return new TypeError('Expected "string" but received "' + typeof obj_transactionLineId + '" (at "' + path_transactionLineId + '")');
|
|
159
|
-
}
|
|
160
|
-
const obj_trialTerm = obj.trialTerm;
|
|
161
|
-
const path_trialTerm = path + '.trialTerm';
|
|
162
|
-
if (typeof obj_trialTerm !== 'number' || (typeof obj_trialTerm === 'number' && Math.floor(obj_trialTerm) !== obj_trialTerm)) {
|
|
163
|
-
return new TypeError('Expected "integer" but received "' + typeof obj_trialTerm + '" (at "' + path_trialTerm + '")');
|
|
164
|
-
}
|
|
165
|
-
const obj_trialTermUnit = obj.trialTermUnit;
|
|
166
|
-
const path_trialTermUnit = path + '.trialTermUnit';
|
|
167
|
-
if (typeof obj_trialTermUnit !== 'string') {
|
|
168
|
-
return new TypeError('Expected "string" but received "' + typeof obj_trialTermUnit + '" (at "' + path_trialTermUnit + '")');
|
|
169
|
-
}
|
|
170
|
-
})();
|
|
171
|
-
return v_error === undefined ? null : v_error;
|
|
172
|
-
}
|
|
173
|
-
|
|
174
125
|
const VERSION$1 = "a0c4d1b3fd4cdd35e2f33ce19475d010";
|
|
175
|
-
function validate$
|
|
126
|
+
function validate$1(obj, path = 'RampDealServiceErrorResponseRepresentation') {
|
|
176
127
|
const v_error = (() => {
|
|
177
128
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
178
129
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -223,7 +174,7 @@ function equals$1(existing, incoming) {
|
|
|
223
174
|
|
|
224
175
|
const TTL = 1000;
|
|
225
176
|
const VERSION = "416cf27851f4dd8b8185076dd39a72bd";
|
|
226
|
-
function validate
|
|
177
|
+
function validate(obj, path = 'RampDealServiceOutputRepresentation') {
|
|
227
178
|
const v_error = (() => {
|
|
228
179
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
229
180
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -236,7 +187,7 @@ function validate$2(obj, path = 'RampDealServiceOutputRepresentation') {
|
|
|
236
187
|
for (let i = 0; i < obj_errors.length; i++) {
|
|
237
188
|
const obj_errors_item = obj_errors[i];
|
|
238
189
|
const path_errors_item = path_errors + '[' + i + ']';
|
|
239
|
-
const referencepath_errors_itemValidationError = validate$
|
|
190
|
+
const referencepath_errors_itemValidationError = validate$1(obj_errors_item, path_errors_item);
|
|
240
191
|
if (referencepath_errors_itemValidationError !== null) {
|
|
241
192
|
let message = 'Object doesn\'t match RampDealServiceErrorResponseRepresentation (at "' + path_errors_item + '")\n';
|
|
242
193
|
message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -347,7 +298,7 @@ function equals(existing, incoming) {
|
|
|
347
298
|
}
|
|
348
299
|
const ingest = function RampDealServiceOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
349
300
|
if (process.env.NODE_ENV !== 'production') {
|
|
350
|
-
const validateError = validate
|
|
301
|
+
const validateError = validate(input);
|
|
351
302
|
if (validateError !== null) {
|
|
352
303
|
throw validateError;
|
|
353
304
|
}
|
|
@@ -407,18 +358,22 @@ function createResourceRequest$3(config) {
|
|
|
407
358
|
const adapterName$3 = 'createRampDeal';
|
|
408
359
|
const createRampDeal_ConfigPropertyMetadata = [
|
|
409
360
|
generateParamConfigMetadata('resourceId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
410
|
-
generateParamConfigMetadata('
|
|
361
|
+
generateParamConfigMetadata('executionSettings', true, 2 /* Body */, 4 /* Unsupported */),
|
|
362
|
+
generateParamConfigMetadata('segmentType', true, 2 /* Body */, 0 /* String */),
|
|
363
|
+
generateParamConfigMetadata('subscriptionTerm', true, 2 /* Body */, 3 /* Integer */),
|
|
364
|
+
generateParamConfigMetadata('subscriptionTermUnit', true, 2 /* Body */, 0 /* String */),
|
|
365
|
+
generateParamConfigMetadata('transactionId', true, 2 /* Body */, 0 /* String */),
|
|
366
|
+
generateParamConfigMetadata('transactionLineId', true, 2 /* Body */, 0 /* String */),
|
|
367
|
+
generateParamConfigMetadata('trialTerm', true, 2 /* Body */, 3 /* Integer */),
|
|
368
|
+
generateParamConfigMetadata('trialTermUnit', true, 2 /* Body */, 0 /* String */),
|
|
411
369
|
];
|
|
412
370
|
const createRampDeal_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, createRampDeal_ConfigPropertyMetadata);
|
|
413
371
|
const createResourceParams$3 = /*#__PURE__*/ createResourceParams$4(createRampDeal_ConfigPropertyMetadata);
|
|
414
372
|
function typeCheckConfig$3(untrustedConfig) {
|
|
415
373
|
const config = {};
|
|
416
374
|
typeCheckConfig$4(untrustedConfig, config, createRampDeal_ConfigPropertyMetadata);
|
|
417
|
-
const
|
|
418
|
-
|
|
419
|
-
if (referenceCreateRampDealInputRepresentationValidationError === null) {
|
|
420
|
-
config.createRampDealInputParam = untrustedConfig_createRampDealInputParam;
|
|
421
|
-
}
|
|
375
|
+
const untrustedConfig_executionSettings = untrustedConfig.executionSettings;
|
|
376
|
+
config.executionSettings = untrustedConfig_executionSettings;
|
|
422
377
|
return config;
|
|
423
378
|
}
|
|
424
379
|
function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
|
|
@@ -463,27 +418,6 @@ const createRampDealAdapterFactory = (luvio) => {
|
|
|
463
418
|
};
|
|
464
419
|
};
|
|
465
420
|
|
|
466
|
-
function validate$1(obj, path = 'DeleteRampDealInputRepresentation') {
|
|
467
|
-
const v_error = (() => {
|
|
468
|
-
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
469
|
-
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
470
|
-
}
|
|
471
|
-
const obj_rampDealIds = obj.rampDealIds;
|
|
472
|
-
const path_rampDealIds = path + '.rampDealIds';
|
|
473
|
-
if (!ArrayIsArray(obj_rampDealIds)) {
|
|
474
|
-
return new TypeError('Expected "array" but received "' + typeof obj_rampDealIds + '" (at "' + path_rampDealIds + '")');
|
|
475
|
-
}
|
|
476
|
-
for (let i = 0; i < obj_rampDealIds.length; i++) {
|
|
477
|
-
const obj_rampDealIds_item = obj_rampDealIds[i];
|
|
478
|
-
const path_rampDealIds_item = path_rampDealIds + '[' + i + ']';
|
|
479
|
-
if (typeof obj_rampDealIds_item !== 'string') {
|
|
480
|
-
return new TypeError('Expected "string" but received "' + typeof obj_rampDealIds_item + '" (at "' + path_rampDealIds_item + '")');
|
|
481
|
-
}
|
|
482
|
-
}
|
|
483
|
-
})();
|
|
484
|
-
return v_error === undefined ? null : v_error;
|
|
485
|
-
}
|
|
486
|
-
|
|
487
421
|
function select$2(luvio, params) {
|
|
488
422
|
return select$4();
|
|
489
423
|
}
|
|
@@ -524,18 +458,13 @@ function createResourceRequest$2(config) {
|
|
|
524
458
|
const adapterName$2 = 'deleteRampDeal';
|
|
525
459
|
const deleteRampDeal_ConfigPropertyMetadata = [
|
|
526
460
|
generateParamConfigMetadata('resourceId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
527
|
-
generateParamConfigMetadata('
|
|
461
|
+
generateParamConfigMetadata('rampDealIds', true, 2 /* Body */, 0 /* String */, true),
|
|
528
462
|
];
|
|
529
463
|
const deleteRampDeal_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, deleteRampDeal_ConfigPropertyMetadata);
|
|
530
464
|
const createResourceParams$2 = /*#__PURE__*/ createResourceParams$4(deleteRampDeal_ConfigPropertyMetadata);
|
|
531
465
|
function typeCheckConfig$2(untrustedConfig) {
|
|
532
466
|
const config = {};
|
|
533
467
|
typeCheckConfig$4(untrustedConfig, config, deleteRampDeal_ConfigPropertyMetadata);
|
|
534
|
-
const untrustedConfig_deleteRampDealInputParam = untrustedConfig.deleteRampDealInputParam;
|
|
535
|
-
const referenceDeleteRampDealInputRepresentationValidationError = validate$1(untrustedConfig_deleteRampDealInputParam);
|
|
536
|
-
if (referenceDeleteRampDealInputRepresentationValidationError === null) {
|
|
537
|
-
config.deleteRampDealInputParam = untrustedConfig_deleteRampDealInputParam;
|
|
538
|
-
}
|
|
539
468
|
return config;
|
|
540
469
|
}
|
|
541
470
|
function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
|
|
@@ -580,56 +509,6 @@ const deleteRampDealAdapterFactory = (luvio) => {
|
|
|
580
509
|
};
|
|
581
510
|
};
|
|
582
511
|
|
|
583
|
-
function validate(obj, path = 'UpdateRampDealInputRepresentation') {
|
|
584
|
-
const v_error = (() => {
|
|
585
|
-
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
586
|
-
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
587
|
-
}
|
|
588
|
-
const obj_addedNodes = obj.addedNodes;
|
|
589
|
-
const path_addedNodes = path + '.addedNodes';
|
|
590
|
-
if (!ArrayIsArray(obj_addedNodes)) {
|
|
591
|
-
return new TypeError('Expected "array" but received "' + typeof obj_addedNodes + '" (at "' + path_addedNodes + '")');
|
|
592
|
-
}
|
|
593
|
-
for (let i = 0; i < obj_addedNodes.length; i++) {
|
|
594
|
-
const obj_addedNodes_item = obj_addedNodes[i];
|
|
595
|
-
const path_addedNodes_item = path_addedNodes + '[' + i + ']';
|
|
596
|
-
if (typeof obj_addedNodes_item !== 'object' || ArrayIsArray(obj_addedNodes_item) || obj_addedNodes_item === null) {
|
|
597
|
-
return new TypeError('Expected "object" but received "' + typeof obj_addedNodes_item + '" (at "' + path_addedNodes_item + '")');
|
|
598
|
-
}
|
|
599
|
-
}
|
|
600
|
-
const obj_deletedNodes = obj.deletedNodes;
|
|
601
|
-
const path_deletedNodes = path + '.deletedNodes';
|
|
602
|
-
if (!ArrayIsArray(obj_deletedNodes)) {
|
|
603
|
-
return new TypeError('Expected "array" but received "' + typeof obj_deletedNodes + '" (at "' + path_deletedNodes + '")');
|
|
604
|
-
}
|
|
605
|
-
for (let i = 0; i < obj_deletedNodes.length; i++) {
|
|
606
|
-
const obj_deletedNodes_item = obj_deletedNodes[i];
|
|
607
|
-
const path_deletedNodes_item = path_deletedNodes + '[' + i + ']';
|
|
608
|
-
if (typeof obj_deletedNodes_item !== 'object' || ArrayIsArray(obj_deletedNodes_item) || obj_deletedNodes_item === null) {
|
|
609
|
-
return new TypeError('Expected "object" but received "' + typeof obj_deletedNodes_item + '" (at "' + path_deletedNodes_item + '")');
|
|
610
|
-
}
|
|
611
|
-
}
|
|
612
|
-
const obj_executionSettings = obj.executionSettings;
|
|
613
|
-
const path_executionSettings = path + '.executionSettings';
|
|
614
|
-
if (typeof obj_executionSettings !== 'object' || ArrayIsArray(obj_executionSettings) || obj_executionSettings === null) {
|
|
615
|
-
return new TypeError('Expected "object" but received "' + typeof obj_executionSettings + '" (at "' + path_executionSettings + '")');
|
|
616
|
-
}
|
|
617
|
-
const obj_updatedNodes = obj.updatedNodes;
|
|
618
|
-
const path_updatedNodes = path + '.updatedNodes';
|
|
619
|
-
if (!ArrayIsArray(obj_updatedNodes)) {
|
|
620
|
-
return new TypeError('Expected "array" but received "' + typeof obj_updatedNodes + '" (at "' + path_updatedNodes + '")');
|
|
621
|
-
}
|
|
622
|
-
for (let i = 0; i < obj_updatedNodes.length; i++) {
|
|
623
|
-
const obj_updatedNodes_item = obj_updatedNodes[i];
|
|
624
|
-
const path_updatedNodes_item = path_updatedNodes + '[' + i + ']';
|
|
625
|
-
if (typeof obj_updatedNodes_item !== 'object' || ArrayIsArray(obj_updatedNodes_item) || obj_updatedNodes_item === null) {
|
|
626
|
-
return new TypeError('Expected "object" but received "' + typeof obj_updatedNodes_item + '" (at "' + path_updatedNodes_item + '")');
|
|
627
|
-
}
|
|
628
|
-
}
|
|
629
|
-
})();
|
|
630
|
-
return v_error === undefined ? null : v_error;
|
|
631
|
-
}
|
|
632
|
-
|
|
633
512
|
function select$1(luvio, params) {
|
|
634
513
|
return select$4();
|
|
635
514
|
}
|
|
@@ -670,17 +549,44 @@ function createResourceRequest$1(config) {
|
|
|
670
549
|
const adapterName$1 = 'updateRampDeal';
|
|
671
550
|
const updateRampDeal_ConfigPropertyMetadata = [
|
|
672
551
|
generateParamConfigMetadata('resourceId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
673
|
-
generateParamConfigMetadata('
|
|
552
|
+
generateParamConfigMetadata('addedNodes', true, 2 /* Body */, 4 /* Unsupported */, true),
|
|
553
|
+
generateParamConfigMetadata('deletedNodes', true, 2 /* Body */, 4 /* Unsupported */, true),
|
|
554
|
+
generateParamConfigMetadata('executionSettings', true, 2 /* Body */, 4 /* Unsupported */),
|
|
555
|
+
generateParamConfigMetadata('updatedNodes', true, 2 /* Body */, 4 /* Unsupported */, true),
|
|
674
556
|
];
|
|
675
557
|
const updateRampDeal_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, updateRampDeal_ConfigPropertyMetadata);
|
|
676
558
|
const createResourceParams$1 = /*#__PURE__*/ createResourceParams$4(updateRampDeal_ConfigPropertyMetadata);
|
|
677
559
|
function typeCheckConfig$1(untrustedConfig) {
|
|
678
560
|
const config = {};
|
|
679
561
|
typeCheckConfig$4(untrustedConfig, config, updateRampDeal_ConfigPropertyMetadata);
|
|
680
|
-
const
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
562
|
+
const untrustedConfig_addedNodes = untrustedConfig.addedNodes;
|
|
563
|
+
if (ArrayIsArray$1(untrustedConfig_addedNodes)) {
|
|
564
|
+
const untrustedConfig_addedNodes_array = [];
|
|
565
|
+
for (let i = 0, arrayLength = untrustedConfig_addedNodes.length; i < arrayLength; i++) {
|
|
566
|
+
const untrustedConfig_addedNodes_item = untrustedConfig_addedNodes[i];
|
|
567
|
+
untrustedConfig_addedNodes_array.push(untrustedConfig_addedNodes_item);
|
|
568
|
+
}
|
|
569
|
+
config.addedNodes = untrustedConfig_addedNodes_array;
|
|
570
|
+
}
|
|
571
|
+
const untrustedConfig_deletedNodes = untrustedConfig.deletedNodes;
|
|
572
|
+
if (ArrayIsArray$1(untrustedConfig_deletedNodes)) {
|
|
573
|
+
const untrustedConfig_deletedNodes_array = [];
|
|
574
|
+
for (let i = 0, arrayLength = untrustedConfig_deletedNodes.length; i < arrayLength; i++) {
|
|
575
|
+
const untrustedConfig_deletedNodes_item = untrustedConfig_deletedNodes[i];
|
|
576
|
+
untrustedConfig_deletedNodes_array.push(untrustedConfig_deletedNodes_item);
|
|
577
|
+
}
|
|
578
|
+
config.deletedNodes = untrustedConfig_deletedNodes_array;
|
|
579
|
+
}
|
|
580
|
+
const untrustedConfig_executionSettings = untrustedConfig.executionSettings;
|
|
581
|
+
config.executionSettings = untrustedConfig_executionSettings;
|
|
582
|
+
const untrustedConfig_updatedNodes = untrustedConfig.updatedNodes;
|
|
583
|
+
if (ArrayIsArray$1(untrustedConfig_updatedNodes)) {
|
|
584
|
+
const untrustedConfig_updatedNodes_array = [];
|
|
585
|
+
for (let i = 0, arrayLength = untrustedConfig_updatedNodes.length; i < arrayLength; i++) {
|
|
586
|
+
const untrustedConfig_updatedNodes_item = untrustedConfig_updatedNodes[i];
|
|
587
|
+
untrustedConfig_updatedNodes_array.push(untrustedConfig_updatedNodes_item);
|
|
588
|
+
}
|
|
589
|
+
config.updatedNodes = untrustedConfig_updatedNodes_array;
|
|
684
590
|
}
|
|
685
591
|
return config;
|
|
686
592
|
}
|
|
@@ -953,4 +859,4 @@ withDefaultLuvio((luvio) => {
|
|
|
953
859
|
});
|
|
954
860
|
|
|
955
861
|
export { createRampDeal, deleteRampDeal, updateRampDeal, viewRampDeal, viewRampDealNotifyChange, viewRampDeal_imperative };
|
|
956
|
-
// version: 1.
|
|
862
|
+
// version: 1.305.0-ec92f7304c
|
package/src/raml/api.raml
CHANGED
|
@@ -40,19 +40,13 @@ types:
|
|
|
40
40
|
type: array
|
|
41
41
|
items:
|
|
42
42
|
type: string
|
|
43
|
-
CreateRampDealInputWrapperRepresentation:
|
|
44
|
-
description: Input Wrapper Representation for Create ramp deal connect API
|
|
45
|
-
type: object
|
|
46
|
-
properties:
|
|
47
|
-
createRampDealInputParam:
|
|
48
|
-
type: CreateRampDealInputRepresentation
|
|
49
43
|
CreateRampDealInputRepresentation:
|
|
50
44
|
description: Create ramp deal connect API input representation
|
|
51
45
|
type: object
|
|
52
46
|
properties:
|
|
53
47
|
executionSettings:
|
|
54
48
|
description: Execution Settings like run pricing, run config rules
|
|
55
|
-
type:
|
|
49
|
+
type: any
|
|
56
50
|
segmentType:
|
|
57
51
|
description: 'Segment type: FreeTrial/Custom/Annual'
|
|
58
52
|
type: string
|
|
@@ -86,12 +80,6 @@ types:
|
|
|
86
80
|
- Annual
|
|
87
81
|
- Days
|
|
88
82
|
- Months
|
|
89
|
-
DeleteRampDealInputWrapperRepresentation:
|
|
90
|
-
description: Input Wrapper Representation for Delete ramp deal connect API
|
|
91
|
-
type: object
|
|
92
|
-
properties:
|
|
93
|
-
deleteRampDealInputParam:
|
|
94
|
-
type: DeleteRampDealInputRepresentation
|
|
95
83
|
DeleteRampDealInputRepresentation:
|
|
96
84
|
description: Delete ramp deal connect API input representation
|
|
97
85
|
type: object
|
|
@@ -142,12 +130,6 @@ types:
|
|
|
142
130
|
transactionContextId:
|
|
143
131
|
description: SalesTransaction context Id.
|
|
144
132
|
type: string
|
|
145
|
-
UpdateRampDealInputWrapperRepresentation:
|
|
146
|
-
description: Input Wrapper Representation for Update ramp deal connect API
|
|
147
|
-
type: object
|
|
148
|
-
properties:
|
|
149
|
-
updateRampDealInputParam:
|
|
150
|
-
type: UpdateRampDealInputRepresentation
|
|
151
133
|
UpdateRampDealInputRepresentation:
|
|
152
134
|
description: Update ramp deal connect API input representation
|
|
153
135
|
type: object
|
|
@@ -156,20 +138,20 @@ types:
|
|
|
156
138
|
description: Input Representation for adding new nodes
|
|
157
139
|
type: array
|
|
158
140
|
items:
|
|
159
|
-
type:
|
|
141
|
+
type: any
|
|
160
142
|
deletedNodes:
|
|
161
143
|
description: Input Representation for deleting new nodes
|
|
162
144
|
type: array
|
|
163
145
|
items:
|
|
164
|
-
type:
|
|
146
|
+
type: any
|
|
165
147
|
executionSettings:
|
|
166
148
|
description: Execution Settings like run pricing, run config rules
|
|
167
|
-
type:
|
|
149
|
+
type: any
|
|
168
150
|
updatedNodes:
|
|
169
151
|
description: Input Representation for updating new nodes
|
|
170
152
|
type: array
|
|
171
153
|
items:
|
|
172
|
-
type:
|
|
154
|
+
type: any
|
|
173
155
|
/connect/revenue-management/sales-transaction-contexts/{resourceId}/actions:
|
|
174
156
|
/ramp-deal-create:
|
|
175
157
|
post:
|
|
@@ -184,7 +166,7 @@ types:
|
|
|
184
166
|
type: RampDealServiceOutputRepresentation
|
|
185
167
|
body:
|
|
186
168
|
application/json:
|
|
187
|
-
type:
|
|
169
|
+
type: CreateRampDealInputRepresentation
|
|
188
170
|
(oas-body-name): createRampDealInputParam
|
|
189
171
|
uriParameters:
|
|
190
172
|
resourceId:
|
|
@@ -203,7 +185,7 @@ types:
|
|
|
203
185
|
type: RampDealServiceOutputRepresentation
|
|
204
186
|
body:
|
|
205
187
|
application/json:
|
|
206
|
-
type:
|
|
188
|
+
type: DeleteRampDealInputRepresentation
|
|
207
189
|
(oas-body-name): deleteRampDealInputParam
|
|
208
190
|
uriParameters:
|
|
209
191
|
resourceId:
|
|
@@ -222,7 +204,7 @@ types:
|
|
|
222
204
|
type: RampDealServiceOutputRepresentation
|
|
223
205
|
body:
|
|
224
206
|
application/json:
|
|
225
|
-
type:
|
|
207
|
+
type: UpdateRampDealInputRepresentation
|
|
226
208
|
(oas-body-name): updateRampDealInputParam
|
|
227
209
|
uriParameters:
|
|
228
210
|
resourceId:
|
package/dist/es/es2018/types/src/generated/types/CreateRampDealInputWrapperRepresentation.d.ts
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { CreateRampDealInputRepresentation as CreateRampDealInputRepresentation_CreateRampDealInputRepresentation } from './CreateRampDealInputRepresentation';
|
|
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 = "cf4d38af1dba6f975d1755cbb119c50d";
|
|
4
|
-
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
-
export declare const RepresentationType: string;
|
|
6
|
-
export declare function normalize(input: CreateRampDealInputWrapperRepresentation, existing: CreateRampDealInputWrapperRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CreateRampDealInputWrapperRepresentationNormalized;
|
|
7
|
-
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
-
export declare function equals(existing: CreateRampDealInputWrapperRepresentationNormalized, incoming: CreateRampDealInputWrapperRepresentationNormalized): 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: CreateRampDealInputWrapperRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
-
/**
|
|
12
|
-
* Input Wrapper Representation for Create ramp deal connect API
|
|
13
|
-
*
|
|
14
|
-
* Keys:
|
|
15
|
-
* (none)
|
|
16
|
-
*/
|
|
17
|
-
export interface CreateRampDealInputWrapperRepresentationNormalized {
|
|
18
|
-
createRampDealInputParam: CreateRampDealInputRepresentation_CreateRampDealInputRepresentation;
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* Input Wrapper Representation for Create ramp deal connect API
|
|
22
|
-
*
|
|
23
|
-
* Keys:
|
|
24
|
-
* (none)
|
|
25
|
-
*/
|
|
26
|
-
export interface CreateRampDealInputWrapperRepresentation {
|
|
27
|
-
createRampDealInputParam: CreateRampDealInputRepresentation_CreateRampDealInputRepresentation;
|
|
28
|
-
}
|
package/dist/es/es2018/types/src/generated/types/DeleteRampDealInputWrapperRepresentation.d.ts
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { DeleteRampDealInputRepresentation as DeleteRampDealInputRepresentation_DeleteRampDealInputRepresentation } from './DeleteRampDealInputRepresentation';
|
|
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 = "067b8fc7dcd86317639f89da8a34823a";
|
|
4
|
-
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
-
export declare const RepresentationType: string;
|
|
6
|
-
export declare function normalize(input: DeleteRampDealInputWrapperRepresentation, existing: DeleteRampDealInputWrapperRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): DeleteRampDealInputWrapperRepresentationNormalized;
|
|
7
|
-
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
-
export declare function equals(existing: DeleteRampDealInputWrapperRepresentationNormalized, incoming: DeleteRampDealInputWrapperRepresentationNormalized): 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: DeleteRampDealInputWrapperRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
-
/**
|
|
12
|
-
* Input Wrapper Representation for Delete ramp deal connect API
|
|
13
|
-
*
|
|
14
|
-
* Keys:
|
|
15
|
-
* (none)
|
|
16
|
-
*/
|
|
17
|
-
export interface DeleteRampDealInputWrapperRepresentationNormalized {
|
|
18
|
-
deleteRampDealInputParam: DeleteRampDealInputRepresentation_DeleteRampDealInputRepresentation;
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* Input Wrapper Representation for Delete ramp deal connect API
|
|
22
|
-
*
|
|
23
|
-
* Keys:
|
|
24
|
-
* (none)
|
|
25
|
-
*/
|
|
26
|
-
export interface DeleteRampDealInputWrapperRepresentation {
|
|
27
|
-
deleteRampDealInputParam: DeleteRampDealInputRepresentation_DeleteRampDealInputRepresentation;
|
|
28
|
-
}
|
package/dist/es/es2018/types/src/generated/types/UpdateRampDealInputWrapperRepresentation.d.ts
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
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
|
-
}
|