-
Notifications
You must be signed in to change notification settings - Fork 5
/
types.d.ts
835 lines (832 loc) · 38.4 KB
/
types.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
/**
* Returns a Promise that resolves with a new CustomerProfileAPI object.
* @param tenantId - the tenant id
* @param iMSOrgId - the iMSOrgId for your integration
* @param apiKey - the API key for your integration
* @param accessToken - the access token for your integration
* @param [sandbox] - sandbox name
* @returns a Promise with a CustomerProfileAPI object
*/
export function init(tenantId: string, iMSOrgId: string, apiKey: string, accessToken: string, sandbox?: string): Promise<CustomerProfileAPI>;
export class CustomerProfileAPI {
/**
* Initializes a CustomerProfileAPI object and returns it.
* @param tenantId - the tenant id
* @param iMSOrgId - the iMSOrgId for your integration
* @param apiKey - the API key for your integration
* @param accessToken - the access token for your integration
* @param [sandbox] - sandbox name
* @returns a CustomerProfileAPI object
*/
init(tenantId: string, iMSOrgId: string, apiKey: string, accessToken: string, sandbox?: string): Promise<CustomerProfileAPI>;
/**
* The tenant id
*/
tenantId: string;
/**
* The iMSOrgId
*/
iMSOrgId: string;
/**
* The api key from your integration
*/
apiKey: string;
/**
* The access token from your integration
*/
accessToken: string;
/**
* The sandbox name
*/
sandbox: string;
/**
* Get Profile by ID.
* @param [parameters = {}] - parameters to pass
* @returns the response
*/
getProfile(parameters?: any): Promise<Response>;
/**
* Get ExperienceEvents.
* @param [parameters = {}] - parameters to pass
* @returns the response
*/
getExperienceEvents(parameters?: any): Promise<Response>;
/**
* Retrieve a list of computed attributes.
* @param [parameters = {}] - parameters to pass
* @returns the response
*/
listComputedAttributes(parameters?: any): Promise<Response>;
/**
* Create a computed attribute.
* @param [parameters = {}] - parameters to pass
* @returns the response
*/
createComputedAttribute(parameters?: any): Promise<Response>;
/**
* Retrieve a specific computed attribute by its ID.
* @param [parameters = {}] - parameters to pass
* @param parameters.ATTRIBUTE_ID - The unique, read-only ID of the computed attribute that is generated by the system when the attribute is created.
* @returns the response
*/
lookupComputedAttribute(parameters?: {
ATTRIBUTE_ID: string;
}): Promise<Response>;
/**
* Update a computed attribute by its ID.
* @param [parameters = {}] - parameters to pass
* @param parameters.ATTRIBUTE_ID - The unique, read-only ID of the computed attribute that is generated by the system when the attribute is created.
* @returns the response
*/
updateComputedAttribute(parameters?: {
ATTRIBUTE_ID: string;
}): Promise<Response>;
/**
* Delete a computed attribute by its ID.
* @param [parameters = {}] - parameters to pass
* @param parameters.ATTRIBUTE_ID - The unique, read-only ID of the computed attribute that is generated by the system when the attribute is created.
* @returns the response
*/
deleteComputedAttribute(parameters?: {
ATTRIBUTE_ID: string;
}): Promise<Response>;
/**
* Retrieve a list of merge policies.
* @param [parameters = {}] - parameters to pass
* @param [parameters.'x-request-id'] - Request Id
* @param [parameters.start] - Page offset - As per created time of resource
* @param [parameters.limit] - Page Size
* @param [parameters.orderBy] - Model attribute which will be using for ordering
* @param [parameters.'schema.name'] - Schema class ID
* @param [parameters.default] - default flag
* @returns the response
*/
getConfigMergePolicies(parameters?: {
'x-request-id'?: string;
start?: string;
limit?: number;
orderBy?: string;
default?: boolean;
}): Promise<Response>;
/**
* Create a new merge policy.
* @param [parameters = {}] - parameters to pass
* @param parameters.'Content-Type' - Type of content being sent in the body of the request. Should be 'application/json'.
* @param parameters.'x-profile-instance-id' - Profile Instance ID
* @param [parameters.'x-request-id'] - Request Id
* @returns the response
*/
postConfigMergePolicies(parameters?: {
'Content-Type': string;
'x-profile-instance-id': string;
'x-request-id'?: string;
}): Promise<Response>;
/**
* Lookup a merge policy by ID.
* @param [parameters = {}] - parameters to pass
* @param parameters.mergePolicyId - Merge policy ID.
* @param [parameters.'x-request-id'] - Request Id
* @returns the response
*/
getConfigMergePoliciesMergePolicyId(parameters?: {
mergePolicyId: string;
'x-request-id'?: string;
}): Promise<Response>;
/**
* Update a merge policy by ID.
* @param [parameters = {}] - parameters to pass
* @param parameters.mergePolicyId - Merge policy ID.
* @param parameters.'x-profile-instance-id' - Profile Instance ID
* @param [parameters.'x-request-id'] - Request Id
* @returns the response
*/
putConfigMergePoliciesMergePolicyId(parameters?: {
mergePolicyId: string;
'x-profile-instance-id': string;
'x-request-id'?: string;
}): Promise<Response>;
/**
* Update one or more attributes of a merge policy specified by ID.
* @param [parameters = {}] - parameters to pass
* @param parameters.mergePolicyId - Merge policy ID.
* @param parameters.'x-profile-instance-id' - Profile Instance ID
* @param [parameters.'x-request-id'] - Request Id
* @returns the response
*/
patchConfigMergePoliciesMergePolicyId(parameters?: {
mergePolicyId: string;
'x-profile-instance-id': string;
'x-request-id'?: string;
}): Promise<Response>;
/**
* Delete a merge policy by ID.
* @param [parameters = {}] - parameters to pass
* @param parameters.mergePolicyId - Merge policy ID.
* @param [parameters.'x-request-id'] - Request Id
* @returns the response
*/
deleteConfigMergePoliciesMergePolicyId(parameters?: {
mergePolicyId: string;
'x-request-id'?: string;
}): Promise<Response>;
/**
* Lookup an entity by ID or namespace.
* @param [parameters = {}] - parameters to pass
* @param parameters.'schema.name' - XED schema class name.
* @param [parameters.'relatedSchema.name'] - XDM schema class name that the ExperienceEvent is associated with. Used when looking up ExperienceEvents.
* @param [parameters.entityId] - ID of the entity. For Native XID lookup, use `entityId=<XID>` and leave `entityIdNS` absent; For ID:NS lookup, use both `entityId` and `entityIdNS` fields.
* @param [parameters.entityIdNS] - Identity Namespace code. Used for ID:NS lookup. If this field is used, `entityId` cannot be empty.
* @param [parameters.relatedEntityId] - ID of the entity that the ExperienceEvents are associated with. Used when looking up ExperienceEvents. For Native XID lookup, use `relatedEntityId=<XID>` and leave `relatedEntityIdNS` absent; For ID:NS lookup, use both `relatedEntityId` and `relatedEntityIdNS` fields.
* @param [parameters.relatedEntityIdNS] - Identity Namespace code of the related entity ID of ExperienceEvent. Used when looking up ExperienceEvents. If this field is used, `entityId` cannot be empty.
* @param [parameters.fields] - Fields for the model object. By default, all fields will be fetched. Separated by comma.
* @param [parameters.mergePolicyId] - ID of the merge policy. A merge policy includes information for Identity stitching and key-value XDM object merging. If not present, the default merge policy will be used.
* @param [parameters.startTime] - Start time of Time range filter for ExperienceEvents. Should be at millisecond granularity. Included. Default: From beginning.
* @param [parameters.endTime] - End time of Time range filter for ExperienceEvents. Should be at millisecond granularity. Excluded. Default: To the end.
* @param [parameters.limit] - Number of records to return from the result. Only for time-series objects. Default: 1000
* @param [parameters.orderby] - The sort order of retrieved ExperienceEvents by timestamp. Syntax: (+/-)timestamp. Default: +timestamp
* @returns the response
*/
getAccessEntities(parameters?: {
entityId?: string;
entityIdNS?: string;
relatedEntityId?: string;
relatedEntityIdNS?: string;
fields?: string;
mergePolicyId?: string;
startTime?: number;
endTime?: number;
limit?: number;
orderby?: string;
}): Promise<Response>;
/**
* Lookup multiple entities by IDs or namespaces.
* @param [parameters = {}] - parameters to pass
* @param parameters.'Content-Type' - Type of content being sent in the body of the request. Should be 'application/json'.
* @returns the response
*/
postAccessEntities(parameters?: {
'Content-Type': string;
}): Promise<Response>;
/**
* Delete an entity by ID.
* @param [parameters = {}] - parameters to pass
* @param parameters.'schema.name' - Name of the associated XDM schema.
* @param [parameters.entityId] - ID of the entity. For Native XID, use `entityId=<XID>` and leave `entityIdNS` absent; For ID:NS, use both `entityId` and `entityIdNS` fields.
* @param [parameters.entityIdNS] - Identity Namespace code. Used for ID:NS. If this field is used, `entityId` cannot be empty.
* @param [parameters.mergePolicyId] - ID of the merge policy. A merge policy includes information for Identity stitching and key-value XDM object merging. If not present, the default merge policy will be used.
* @returns the response
*/
deleteAccessEntities(parameters?: {
entityId?: string;
entityIdNS?: string;
mergePolicyId?: string;
}): Promise<Response>;
/**
* Retrieve a list of all export jobs.
* @param [parameters = {}] - parameters to pass
* @param [parameters.limit] - Limit the number of export jobs returned in the list.
* @param [parameters.offset] - Offset the page of results returned (ordered by created time of resource)
* @param [parameters.status] - Filter the export jobs returned by job status. Possible values are "NEW", "SUCCEEDED", and "FAILED".
* @returns the response
*/
getScanJobsRoute(parameters?: {
limit?: number;
offset?: string;
status?: string;
}): Promise<Response>;
/**
* Create a new export job.
* @param [parameters = {}] - parameters to pass
* @param parameters.'Content-Type' - Type of content being sent in the body of the request. Should be 'application/json'.
* @param [parameters.'x-profile-instance-id'] - Profile Instance ID
* @returns the response
*/
postScanJobRoute(parameters?: {
'Content-Type': string;
'x-profile-instance-id'?: string;
}): Promise<Response>;
/**
* Lookup an export job by ID.
* @param [parameters = {}] - parameters to pass
* @param parameters.exportJobId - Export job ID
* @returns the response
*/
getScanJobRoute(parameters?: {
exportJobId: string;
}): Promise<Response>;
/**
* Cancel or delete an export job by ID.
* @param [parameters = {}] - parameters to pass
* @param parameters.exportJobId - Export job ID
* @returns the response
*/
cancelScanJobRoute(parameters?: {
exportJobId: string;
}): Promise<Response>;
/**
* Retrieve a list of segment definitions.
* @param [parameters = {}] - parameters to pass
* @param parameters.'x-request-id' - Unique ID per request
* @param [parameters.start] - Page offset - As per created time of resource
* @param [parameters.limit] - Page size
* @param [parameters.page] - Page number
* @param [parameters.sort] - Sort parameters
* @returns the response
*/
getSegmentsRoute(parameters?: {
'x-request-id': string;
start?: number;
limit?: number;
page?: number;
sort?: string;
}): Promise<Response>;
/**
* Create a new segment definition.
* @param [parameters = {}] - parameters to pass
* @param parameters.'Content-Type' - Type of content being sent in the body of the request. Should be 'application/json'.
* @param parameters.'x-request-id' - Unique ID per request
* @returns the response
*/
postSegmentRoute(parameters?: {
'Content-Type': string;
'x-request-id': string;
}): Promise<Response>;
/**
* Lookup a segment definition by ID.
* @param [parameters = {}] - parameters to pass
* @param parameters.segmentId - Segment Definition ID.
* @param parameters.'x-request-id' - Unique ID per request
* @returns the response
*/
getSegmentRoute(parameters?: {
segmentId: string;
'x-request-id': string;
}): Promise<Response>;
/**
* Delete a segment definition by ID.
* @param [parameters = {}] - parameters to pass
* @param parameters.segmentId - Segment Definition ID.
* @param parameters.'x-request-id' - Unique ID per request
* @returns the response
*/
deleteSegmentRoute(parameters?: {
segmentId: string;
'x-request-id': string;
}): Promise<Response>;
/**
* Overwrite a segment definition.
* @param [parameters = {}] - parameters to pass
* @param parameters.segmentId - Segment Definition ID.
* @param parameters.'Content-Type' - Type of content being sent in the body of the request. Should be 'application/json'.
* @param parameters.'x-request-id' - Unique ID per request
* @returns the response
*/
patchSegmentRoute(parameters?: {
segmentId: string;
'Content-Type': string;
'x-request-id': string;
}): Promise<Response>;
/**
* Convert PQL formatting between pql/text and pql/json.
* @param [parameters = {}] - parameters to pass
* @param parameters.'Content-Type' - Type of content being sent in the body of the request. Should be 'application/json'.
* @param parameters.'x-request-id' - Unique ID per request
* @returns the response
*/
postSegmentConversionRoute(parameters?: {
'Content-Type': string;
'x-request-id': string;
}): Promise<Response>;
/**
* Retrieve a list of all segment job requests.
* @param [parameters = {}] - parameters to pass
* @param [parameters.'x-request-id'] - Request ID
* @param [parameters.start] - Page Offset - As per created Time of resource
* @param [parameters.limit] - Page Size
* @param [parameters.status] - The job status
* @returns the response
*/
getSegmentJobs(parameters?: {
'x-request-id'?: string;
start?: number;
limit?: number;
status?: string;
}): Promise<Response>;
/**
* Create a new segment job request.
* @param [parameters = {}] - parameters to pass
* @param parameters.'Content-Type' - Type of content being sent in the body of the request. Should be 'application/json'.
* @param parameters.'x-profile-instance-id' - Profile Instance ID
* @param [parameters.'x-request-id'] - Request ID
* @returns the response
*/
postSJRRoute(parameters?: {
'Content-Type': string;
'x-profile-instance-id': string;
'x-request-id'?: string;
}): Promise<Response>;
/**
* Lookup a segment job request by ID.
* @param [parameters = {}] - parameters to pass
* @param parameters.segmentJobId - Segment job request ID.
* @param [parameters.'x-request-id'] - Request ID
* @returns the response
*/
getSegmentJobsSegmentJobId(parameters?: {
segmentJobId: string;
'x-request-id'?: string;
}): Promise<Response>;
/**
* Cancel or delete a segment job request by ID.
* @param [parameters = {}] - parameters to pass
* @param parameters.segmentJobId - Segment job request ID.
* @param [parameters.'x-request-id'] - Request ID
* @returns the response
*/
deleteSegmentJobsSegmentJobId(parameters?: {
segmentJobId: string;
'x-request-id'?: string;
}): Promise<Response>;
/**
* Create a new preview job.
* @param [parameters = {}] - parameters to pass
* @param parameters.'Content-Type' - Type of content being sent in the body of the request. Should be 'application/json'.
* @returns the response
*/
postSessionlessPreviewRoute(parameters?: {
'Content-Type': string;
}): Promise<Response>;
/**
* Lookup the results of a preview job by ID.
* @param [parameters = {}] - parameters to pass
* @param parameters.previewId - ID of the preview job.
* @param [parameters.offset] - Page offset
* @param [parameters.limit] - How many entries should be present in a page. 1000 if not specified.
* @returns the response
*/
getSessionlessPreviewStatusRoute(parameters?: {
previewId: string;
offset?: string;
limit?: number;
}): Promise<Response>;
/**
* Cancel or delete a preview job by ID.
* @param [parameters = {}] - parameters to pass
* @param parameters.previewId - ID of the preview job.
* @returns the response
*/
deleteSessionLessPreviewStatusRoute(parameters?: {
previewId: string;
}): Promise<Response>;
/**
* Lookup the results of an estimate job by ID.
* @param [parameters = {}] - parameters to pass
* @param parameters.previewId - ID of the preview job.
* @returns the response
*/
getEstimateStatusRoute(parameters?: {
previewId: string;
}): Promise<Response>;
/**
* Retrieve a list of edge projection configurations. The latest definitions are returned.
* @param [parameters = {}] - parameters to pass
* @param parameters.'x-gw-ims-authorization' - Gateway IMS service token.
* @param [parameters.schemaName] - XDM schema name
* @param [parameters.name] - projection name
* @param [parameters.'x-user-token'] - User access token.
* @param [parameters.'x-request-id'] - Optional header that may be used for debugging purposes when investigating issues with a client flow. The same ID can be used to identify a single request to the service from a flow. A new ID should be created for each request.
* @returns the response
*/
listProjectionConfigurations(parameters?: {
'x-gw-ims-authorization': string;
schemaName?: string;
name?: string;
'x-user-token'?: string;
'x-request-id'?: string;
}): Promise<Response>;
/**
* Create a new edge projection configuration.
* @param [parameters = {}] - parameters to pass
* @param parameters.schemaName - XDM schema name
* @param parameters.'x-gw-ims-authorization' - Gateway IMS service token.
* @param [parameters.'x-user-token'] - User access token.
* @param [parameters.'x-request-id'] - Optional header that may be used for debugging purposes when investigating issues with a client flow. The same ID can be used to identify a single request to the service from a flow. A new ID should be created for each request.
* @returns the response
*/
createProjectionConfiguration(parameters?: {
schemaName: string;
'x-gw-ims-authorization': string;
'x-user-token'?: string;
'x-request-id'?: string;
}): Promise<Response>;
/**
* Lookup an edge projection configuration by ID. The latest definition is returned.
* @param [parameters = {}] - parameters to pass
* @param parameters.projectionid - undefined
* @param parameters.'x-gw-ims-authorization' - Gateway IMS service token.
* @param [parameters.'x-user-token'] - User access token.
* @param [parameters.'x-request-id'] - Optional header that may be used for debugging purposes when investigating issues with a client flow. The same ID can be used to identify a single request to the service from a flow. A new ID should be created for each request.
* @returns the response
*/
getProjectionConfiguration(parameters?: {
projectionid: string;
'x-gw-ims-authorization': string;
'x-user-token'?: string;
'x-request-id'?: string;
}): Promise<Response>;
/**
* Create or update an edge projection configuration by ID. Overwrites the entire configuration.
* @param [parameters = {}] - parameters to pass
* @param parameters.projectionid - undefined
* @param parameters.'x-gw-ims-authorization' - Gateway IMS service token.
* @param [parameters.'x-user-token'] - User access token.
* @param [parameters.'x-request-id'] - Optional header that may be used for debugging purposes when investigating issues with a client flow. The same ID can be used to identify a single request to the service from a flow. A new ID should be created for each request.
* @returns the response
*/
updateProjectionConfiguration(parameters?: {
projectionid: string;
'x-gw-ims-authorization': string;
'x-user-token'?: string;
'x-request-id'?: string;
}): Promise<Response>;
/**
* Delete an edge projection configuration by ID.
* @param [parameters = {}] - parameters to pass
* @param parameters.projectionid - undefined
* @param parameters.'x-gw-ims-authorization' - Gateway IMS service token.
* @param [parameters.'x-user-token'] - User access token.
* @param [parameters.'x-request-id'] - Optional header that may be used for debugging purposes when investigating issues with a client flow. The same ID can be used to identify a single request to the service from a flow. A new ID should be created for each request.
* @returns the response
*/
deleteProjectionConfiguration(parameters?: {
projectionid: string;
'x-gw-ims-authorization': string;
'x-user-token'?: string;
'x-request-id'?: string;
}): Promise<Response>;
/**
* Retrieve a list of edge projection destinations. The latest definitions are returned.
* @param [parameters = {}] - parameters to pass
* @param [parameters.'x-request-id'] - Optional header that may be used for debugging purposes when investigating issues with a workflow. The same ID can be used to identify a single request to the service from a flow. A new ID should be created for each request.
* @returns the response
*/
listProjectionDestinations(parameters?: {
'x-request-id'?: string;
}): Promise<Response>;
/**
* Create a new edge projection destination.
* @param [parameters = {}] - parameters to pass
* @param parameters.'x-gw-ims-authorization' - Gateway IMS service token.
* @param [parameters.'x-user-token'] - User access token.
* @param [parameters.'x-request-id'] - Optional header that may be used for debugging purposes when investigating issues with a client flow. The same ID can be used to identify a single request to the service from a flow. A new ID should be created for each request.
* @returns the response
*/
createProjectionDestination(parameters?: {
'x-gw-ims-authorization': string;
'x-user-token'?: string;
'x-request-id'?: string;
}): Promise<Response>;
/**
* Lookup an edge projection destination by ID. The latest definition is returned.
* @param [parameters = {}] - parameters to pass
* @param parameters.destinationId - undefined
* @param parameters.'x-gw-ims-authorization' - Gateway IMS service token.
* @param [parameters.'x-user-token'] - User access token.
* @param [parameters.'x-request-id'] - Optional header that may be used for debugging purposes when investigating issues with a client flow. The same ID can be used to identify a single request to the service from a flow. A new ID should be created for each request.
* @returns the response
*/
getProjectionDestination(parameters?: {
destinationId: string;
'x-gw-ims-authorization': string;
'x-user-token'?: string;
'x-request-id'?: string;
}): Promise<Response>;
/**
* Create or update an edge projection destination by ID. Overwrites the entire configuration.
* @param [parameters = {}] - parameters to pass
* @param parameters.destinationId - undefined
* @param parameters.'x-gw-ims-authorization' - Gateway IMS service token.
* @param [parameters.'x-user-token'] - User access token.
* @param [parameters.'x-request-id'] - Optional header that may be used for debugging purposes when investigating issues with a client flow. The same ID can be used to identify a single request to the service from a flow. A new ID should be created for each request.
* @returns the response
*/
putProjectionDestination(parameters?: {
destinationId: string;
'x-gw-ims-authorization': string;
'x-user-token'?: string;
'x-request-id'?: string;
}): Promise<Response>;
/**
* Delete an edge projection destination by ID.
* @param [parameters = {}] - parameters to pass
* @param parameters.destinationId - undefined
* @param parameters.'x-gw-ims-authorization' - Gateway IMS service token.
* @param [parameters.'x-user-token'] - User access token.
* @param [parameters.'x-request-id'] - Optional header that may be used for debugging purposes when investigating issues with a client flow. The same ID can be used to identify a single request to the service from a flow. A new ID should be created for each request.
* @returns the response
*/
deleteProjectionDestination(parameters?: {
destinationId: string;
'x-gw-ims-authorization': string;
'x-user-token'?: string;
'x-request-id'?: string;
}): Promise<Response>;
/**
* Retrieve a list of event types.
* @param [parameters = {}] - parameters to pass
* @param [parameters.'x-request-id'] - Optional header that may be used for debugging purposes when investigating issues with a workflow. The same ID can be used to identify a single request to the service from a flow. A new ID should be created for each request.
* @param [parameters.start] - Page offset for the response. Default is 0.
* @param [parameters.limit] - Page size
* @param [parameters.orderBy] - The model attribute to be used for ordering.
* @returns the response
*/
getConfigEventTypes(parameters?: {
'x-request-id'?: string;
start?: number;
limit?: number;
orderBy?: string;
}): Promise<Response>;
/**
* Create a new event type.
* @param [parameters = {}] - parameters to pass
* @param parameters.'x-profile-instance-id' - Profile instance ID.
* @param [parameters.'x-request-id'] - Optional header that may be used for debugging purposes when investigating issues with a workflow. The same ID can be used to identify a single request to the service from a flow. A new ID should be created for each request.
* @returns the response
*/
postConfigEventTypes(parameters?: {
'x-profile-instance-id': string;
'x-request-id'?: string;
}): Promise<Response>;
/**
* Lookup an event type by ID.
* @param [parameters = {}] - parameters to pass
* @param parameters.eventTypeId - Event type ID.
* @param [parameters.'x-request-id'] - Optional header that may be used for debugging purposes when investigating issues with a workflow. The same ID can be used to identify a single request to the service from a flow. A new ID should be created for each request.
* @returns the response
*/
getConfigEventTypesEventTypeId(parameters?: {
eventTypeId: string;
'x-request-id'?: string;
}): Promise<Response>;
/**
* Overwrite an event type by ID.
* @param [parameters = {}] - parameters to pass
* @param parameters.eventTypeId - Event type ID.
* @param parameters.'x-profile-instance-id' - Profile instance ID.
* @param [parameters.'x-request-id'] - Optional header that may be used for debugging purposes when investigating issues with a workflow. The same ID can be used to identify a single request to the service from a flow. A new ID should be created for each request.
* @returns the response
*/
putConfigEventTypesEventTypeId(parameters?: {
eventTypeId: string;
'x-profile-instance-id': string;
'x-request-id'?: string;
}): Promise<Response>;
/**
* Update one or more attributes of an event type by ID.
* @param [parameters = {}] - parameters to pass
* @param parameters.eventTypeId - Event type ID.
* @param parameters.'x-profile-instance-id' - Profile instance ID.
* @param [parameters.'x-request-id'] - Optional header that may be used for debugging purposes when investigating issues with a workflow. The same ID can be used to identify a single request to the service from a flow. A new ID should be created for each request.
* @returns the response
*/
patchConfigEventTypesEventTypeId(parameters?: {
eventTypeId: string;
'x-profile-instance-id': string;
'x-request-id'?: string;
}): Promise<Response>;
/**
* Delete an event type by ID.
* @param [parameters = {}] - parameters to pass
* @param parameters.eventTypeId - Event type ID.
* @param [parameters.'x-request-id'] - Optional header that may be used for debugging purposes when investigating issues with a workflow. The same ID can be used to identify a single request to the service from a flow. A new ID should be created for each request.
* @returns the response
*/
deleteConfigEventTypesEventTypeId(parameters?: {
eventTypeId: string;
'x-request-id'?: string;
}): Promise<Response>;
/**
* Retrieve a list of all macros for your organization.
* @param [parameters = {}] - parameters to pass
* @param [parameters.'x-request-id'] - Request ID
* @param [parameters.start] - Page offset (at the created time of resource)
* @param [parameters.limit] - Maximum number of objects to display on each page.
* @param [parameters.orderBy] - Model attribute which will be using for ordering.
* @param [parameters.dataSetId] - Dataset ID.
* @param [parameters.schemaClassId] - Schema class ID.
* @param [parameters.value] - Event type value.
* @returns the response
*/
getConfigMacros(parameters?: {
'x-request-id'?: string;
start?: string;
limit?: number;
orderBy?: string;
dataSetId?: string;
schemaClassId?: string;
value?: string;
}): Promise<Response>;
/**
* Create a new macro.
* @param [parameters = {}] - parameters to pass
* @param parameters.'x-profile-instance-id' - Profile Instance ID
* @param [parameters.'x-request-id'] - Request ID
* @returns the response
*/
postConfigMacros(parameters?: {
'x-profile-instance-id': string;
'x-request-id'?: string;
}): Promise<Response>;
/**
* Lookup a macro by ID.
* @param [parameters = {}] - parameters to pass
* @param parameters.macroId - Macro ID. For example, `ca8fe8a8-0f38-478a-9905-fd515d1d2988`
* @param [parameters.'x-request-id'] - Request Id
* @returns the response
*/
getConfigMacrosMacroId(parameters?: {
macroId: string;
'x-request-id'?: string;
}): Promise<Response>;
/**
* Overwrite a macro by ID.
* @param [parameters = {}] - parameters to pass
* @param parameters.macroId - Macro ID. For example, `ca8fe8a8-0f38-478a-9905-fd515d1d2988`
* @param parameters.'x-profile-instance-id' - Profile Instance ID
* @param [parameters.'x-request-id'] - Request ID
* @returns the response
*/
putConfigMacrosMacroId(parameters?: {
macroId: string;
'x-profile-instance-id': string;
'x-request-id'?: string;
}): Promise<Response>;
/**
* Update a macro by ID.
* @param [parameters = {}] - parameters to pass
* @param parameters.macroId - Macro ID. For example, `ca8fe8a8-0f38-478a-9905-fd515d1d2988`
* @param parameters.'x-profile-instance-id' - Profile Instance ID.
* @param [parameters.'x-request-id'] - Request ID.
* @returns the response
*/
patchConfigMacrosMacroId(parameters?: {
macroId: string;
'x-profile-instance-id': string;
'x-request-id'?: string;
}): Promise<Response>;
/**
* Delete a macro by ID.
* @param [parameters = {}] - parameters to pass
* @param parameters.macroId - Macro ID. For example, `ca8fe8a8-0f38-478a-9905-fd515d1d2988`
* @param [parameters.'x-request-id'] - Request ID.
* @returns the response
*/
deleteConfigMacrosMacroId(parameters?: {
macroId: string;
'x-request-id'?: string;
}): Promise<Response>;
/**
* Retrieve a list of schedules for your IMS Org
* @param [parameters = {}] - parameters to pass
* @param [parameters.'x-request-id'] - Optional header that may be used for debugging purposes when investigating issues with a workflow. The same ID can be used to identify a single request to the service from a flow. A new ID should be created for each request.
* @param [parameters.start] - Return results from a specific page offset. For example, `start=3`
* @param [parameters.limit] - Limit response to a specific number of objects. Must be a positive number. For example, `limit=10`
* @returns the response
*/
getSchedules(parameters?: {
'x-request-id'?: string;
start?: number;
limit?: number;
}): Promise<Response>;
/**
* Create a schedule, including specifying the time when the schedule should be triggered.
* @param [parameters = {}] - parameters to pass
* @param parameters.'Content-Type' - Type of content being sent in the body of the request. Should be 'application/json'.
* @param [parameters.'x-request-id'] - Optional header that may be used for debugging purposes when investigating issues with a workflow. The same ID can be used to identify a single request to the service from a flow. A new ID should be created for each request.
* @returns the response
*/
createSchedule(parameters?: {
'Content-Type': string;
'x-request-id'?: string;
}): Promise<Response>;
/**
* Lookup a schedule by its ID.
* @param [parameters = {}] - parameters to pass
* @param parameters.SCHEDULE_ID - The ID of the schedule against which the operation is being performed.
* @param [parameters.'x-request-id'] - Optional header that may be used for debugging purposes when investigating issues with a workflow. The same ID can be used to identify a single request to the service from a flow. A new ID should be created for each request.
* @returns the response
*/
getScheduleById(parameters?: {
SCHEDULE_ID: string;
'x-request-id'?: string;
}): Promise<Response>;
/**
* Update a schedule, including changing the trigger time or enabling/disabling the schedule.
* @param [parameters = {}] - parameters to pass
* @param parameters.SCHEDULE_ID - The ID of the schedule against which the operation is being performed.
* @param [parameters.'x-request-id'] - Optional header that may be used for debugging purposes when investigating issues with a workflow. The same ID can be used to identify a single request to the service from a flow. A new ID should be created for each request.
* @returns the response
*/
updateSchedule(parameters?: {
SCHEDULE_ID: string;
'x-request-id'?: string;
}): Promise<Response>;
/**
* Delete a schedule by its ID.
* @param [parameters = {}] - parameters to pass
* @param parameters.SCHEDULE_ID - The ID of the schedule against which the operation is being performed.
* @param [parameters.'x-request-id'] - Optional header that may be used for debugging purposes when investigating issues with a workflow. The same ID can be used to identify a single request to the service from a flow. A new ID should be created for each request.
* @returns the response
*/
deleteSchedule(parameters?: {
SCHEDULE_ID: string;
'x-request-id'?: string;
}): Promise<Response>;
/**
* Retrieve a list of all delete requests (Profile System Jobs) created by your organization.
* @param [parameters = {}] - parameters to pass
* @param [parameters.start] - Return results from a specific page offset. For example, `start=3`
* @param [parameters.limit] - Limit response to a specific number of objects. Must be a positive number. For example, `limit=10`
* @param [parameters.page] - Return a specific page of results, as per the create time of the request. For example, `page=0`
* @param [parameters.sort] - Sort results by a specific field in ascending (`asc`) or descending (`desc`) order. The sort parameter does not work when returning multiple pages of results. For example, `sort=batchId:asc`
* @returns the response
*/
listDeleteRequests(parameters?: {
start?: number;
limit?: number;
page?: number;
sort?: string;
}): Promise<Response>;
/**
* Create a delete request (Profile System Job)
* @param [parameters = {}] - parameters to pass
* @param parameters.'Content-Type' - Type of content being sent in the body of the request. Should be 'application/json'.
* @returns the response
*/
createDeleteRequest(parameters?: {
'Content-Type': string;
}): Promise<Response>;
/**
* View a specific delete request (Profile System Job) by its ID.
* @param [parameters = {}] - parameters to pass
* @param parameters.ID - ID of the delete request (Profile System Job) that you wish to view. For example, '3e64ad31-5e6b-4399-80ad-ccfab54254ae'.
* @returns the response
*/
viewDeleteRequest(parameters?: {
ID: string;
}): Promise<Response>;
/**
* Remove a specific delete request (Profile System Job) by its ID.
* @param [parameters = {}] - parameters to pass
* @param parameters.ID - ID of the delete request (Profile System Job) that you wish to view. For example, '3e64ad31-5e6b-4399-80ad-ccfab54254ae'.
* @returns the response
*/
deleteDeleteRequest(parameters?: {
ID: string;
}): Promise<Response>;
}
/**
* Create dynamic methods from openApi spec file
*/
export class OpenApi {
}