@distilled.cloud/cloudflare 0.6.1 → 0.7.1
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/lib/services/accounts.d.ts +901 -36
- package/lib/services/accounts.d.ts.map +1 -1
- package/lib/services/accounts.js +1386 -32
- package/lib/services/accounts.js.map +1 -1
- package/lib/services/addressing.d.ts +8 -2
- package/lib/services/addressing.d.ts.map +1 -1
- package/lib/services/addressing.js +14 -2
- package/lib/services/addressing.js.map +1 -1
- package/lib/services/ai-gateway.d.ts.map +1 -1
- package/lib/services/ai-gateway.js +7 -7
- package/lib/services/ai-gateway.js.map +1 -1
- package/lib/services/aisearch.d.ts.map +1 -1
- package/lib/services/aisearch.js +24 -9
- package/lib/services/aisearch.js.map +1 -1
- package/lib/services/alerting.js +2 -2
- package/lib/services/alerting.js.map +1 -1
- package/lib/services/api-gateway.d.ts +114 -16
- package/lib/services/api-gateway.d.ts.map +1 -1
- package/lib/services/api-gateway.js +187 -15
- package/lib/services/api-gateway.js.map +1 -1
- package/lib/services/audit-logs.d.ts +63 -3
- package/lib/services/audit-logs.d.ts.map +1 -1
- package/lib/services/audit-logs.js +62 -3
- package/lib/services/audit-logs.js.map +1 -1
- package/lib/services/bot-management.d.ts +54 -8
- package/lib/services/bot-management.d.ts.map +1 -1
- package/lib/services/bot-management.js +128 -16
- package/lib/services/bot-management.js.map +1 -1
- package/lib/services/brand-protection.d.ts.map +1 -1
- package/lib/services/brand-protection.js +26 -8
- package/lib/services/brand-protection.js.map +1 -1
- package/lib/services/browser-rendering.d.ts.map +1 -1
- package/lib/services/browser-rendering.js +13 -10
- package/lib/services/browser-rendering.js.map +1 -1
- package/lib/services/cloudforce-one.d.ts +61 -6
- package/lib/services/cloudforce-one.d.ts.map +1 -1
- package/lib/services/cloudforce-one.js +107 -6
- package/lib/services/cloudforce-one.js.map +1 -1
- package/lib/services/custom-certificates.d.ts +145 -8
- package/lib/services/custom-certificates.d.ts.map +1 -1
- package/lib/services/custom-certificates.js +226 -7
- package/lib/services/custom-certificates.js.map +1 -1
- package/lib/services/custom-hostnames.d.ts +8 -8
- package/lib/services/custom-hostnames.d.ts.map +1 -1
- package/lib/services/custom-hostnames.js +17 -14
- package/lib/services/custom-hostnames.js.map +1 -1
- package/lib/services/d1.d.ts +68 -8
- package/lib/services/d1.d.ts.map +1 -1
- package/lib/services/d1.js +96 -8
- package/lib/services/d1.js.map +1 -1
- package/lib/services/dns-firewall.d.ts +57 -4
- package/lib/services/dns-firewall.d.ts.map +1 -1
- package/lib/services/dns-firewall.js +86 -5
- package/lib/services/dns-firewall.js.map +1 -1
- package/lib/services/dns.d.ts +85 -745
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +118 -1424
- package/lib/services/dns.js.map +1 -1
- package/lib/services/email-routing.d.ts +59 -7
- package/lib/services/email-routing.d.ts.map +1 -1
- package/lib/services/email-routing.js +165 -7
- package/lib/services/email-routing.js.map +1 -1
- package/lib/services/firewall.d.ts +228 -39
- package/lib/services/firewall.d.ts.map +1 -1
- package/lib/services/firewall.js +220 -33
- package/lib/services/firewall.js.map +1 -1
- package/lib/services/healthchecks.d.ts +112 -6
- package/lib/services/healthchecks.d.ts.map +1 -1
- package/lib/services/healthchecks.js +248 -14
- package/lib/services/healthchecks.js.map +1 -1
- package/lib/services/hostnames.d.ts +5 -5
- package/lib/services/hostnames.d.ts.map +1 -1
- package/lib/services/hostnames.js +16 -4
- package/lib/services/hostnames.js.map +1 -1
- package/lib/services/hyperdrive.d.ts +223 -11
- package/lib/services/hyperdrive.d.ts.map +1 -1
- package/lib/services/hyperdrive.js +351 -11
- package/lib/services/hyperdrive.js.map +1 -1
- package/lib/services/iam.d.ts +62 -2
- package/lib/services/iam.d.ts.map +1 -1
- package/lib/services/iam.js +82 -11
- package/lib/services/iam.js.map +1 -1
- package/lib/services/images.d.ts +9 -1
- package/lib/services/images.d.ts.map +1 -1
- package/lib/services/images.js +12 -1
- package/lib/services/images.js.map +1 -1
- package/lib/services/intel.d.ts +4 -4
- package/lib/services/intel.d.ts.map +1 -1
- package/lib/services/intel.js +2 -3
- package/lib/services/intel.js.map +1 -1
- package/lib/services/kv.d.ts.map +1 -1
- package/lib/services/kv.js +2 -2
- package/lib/services/kv.js.map +1 -1
- package/lib/services/load-balancers.d.ts +537 -108
- package/lib/services/load-balancers.d.ts.map +1 -1
- package/lib/services/load-balancers.js +1266 -161
- package/lib/services/load-balancers.js.map +1 -1
- package/lib/services/logpush.d.ts +153 -9
- package/lib/services/logpush.d.ts.map +1 -1
- package/lib/services/logpush.js +246 -9
- package/lib/services/logpush.js.map +1 -1
- package/lib/services/magic-cloud-networking.d.ts.map +1 -1
- package/lib/services/magic-cloud-networking.js +54 -30
- package/lib/services/magic-cloud-networking.js.map +1 -1
- package/lib/services/magic-network-monitoring.d.ts +46 -5
- package/lib/services/magic-network-monitoring.d.ts.map +1 -1
- package/lib/services/magic-network-monitoring.js +79 -5
- package/lib/services/magic-network-monitoring.js.map +1 -1
- package/lib/services/magic-transit.d.ts +127 -21
- package/lib/services/magic-transit.d.ts.map +1 -1
- package/lib/services/magic-transit.js +291 -29
- package/lib/services/magic-transit.js.map +1 -1
- package/lib/services/memberships.d.ts +248 -52
- package/lib/services/memberships.d.ts.map +1 -1
- package/lib/services/memberships.js +360 -39
- package/lib/services/memberships.js.map +1 -1
- package/lib/services/page-rules.d.ts +432 -8
- package/lib/services/page-rules.d.ts.map +1 -1
- package/lib/services/page-rules.js +877 -33
- package/lib/services/page-rules.js.map +1 -1
- package/lib/services/pages.d.ts +457 -297
- package/lib/services/pages.d.ts.map +1 -1
- package/lib/services/pages.js +1366 -491
- package/lib/services/pages.js.map +1 -1
- package/lib/services/pipelines.d.ts +96 -76
- package/lib/services/pipelines.d.ts.map +1 -1
- package/lib/services/pipelines.js +145 -197
- package/lib/services/pipelines.js.map +1 -1
- package/lib/services/queues.d.ts +228 -12
- package/lib/services/queues.d.ts.map +1 -1
- package/lib/services/queues.js +487 -11
- package/lib/services/queues.js.map +1 -1
- package/lib/services/radar.d.ts +82 -18
- package/lib/services/radar.d.ts.map +1 -1
- package/lib/services/radar.js +111 -47
- package/lib/services/radar.js.map +1 -1
- package/lib/services/realtime-kit.d.ts +650 -334
- package/lib/services/realtime-kit.d.ts.map +1 -1
- package/lib/services/realtime-kit.js +1472 -693
- package/lib/services/realtime-kit.js.map +1 -1
- package/lib/services/request-tracers.d.ts +12 -1
- package/lib/services/request-tracers.d.ts.map +1 -1
- package/lib/services/request-tracers.js +28 -3
- package/lib/services/request-tracers.js.map +1 -1
- package/lib/services/rules.d.ts +65 -10
- package/lib/services/rules.d.ts.map +1 -1
- package/lib/services/rules.js +102 -8
- package/lib/services/rules.js.map +1 -1
- package/lib/services/rulesets.d.ts +7892 -1806
- package/lib/services/rulesets.d.ts.map +1 -1
- package/lib/services/rulesets.js +18720 -4149
- package/lib/services/rulesets.js.map +1 -1
- package/lib/services/rum.d.ts +45 -5
- package/lib/services/rum.d.ts.map +1 -1
- package/lib/services/rum.js +80 -4
- package/lib/services/rum.js.map +1 -1
- package/lib/services/schema-validation.js +2 -2
- package/lib/services/schema-validation.js.map +1 -1
- package/lib/services/spectrum.d.ts +139 -33
- package/lib/services/spectrum.d.ts.map +1 -1
- package/lib/services/spectrum.js +190 -34
- package/lib/services/spectrum.js.map +1 -1
- package/lib/services/speed.d.ts +345 -24
- package/lib/services/speed.d.ts.map +1 -1
- package/lib/services/speed.js +785 -19
- package/lib/services/speed.js.map +1 -1
- package/lib/services/ssl.d.ts +6 -6
- package/lib/services/ssl.d.ts.map +1 -1
- package/lib/services/ssl.js +5 -5
- package/lib/services/ssl.js.map +1 -1
- package/lib/services/stream.d.ts +171 -17
- package/lib/services/stream.d.ts.map +1 -1
- package/lib/services/stream.js +164 -11
- package/lib/services/stream.js.map +1 -1
- package/lib/services/token-validation.d.ts +16 -2
- package/lib/services/token-validation.d.ts.map +1 -1
- package/lib/services/token-validation.js +32 -2
- package/lib/services/token-validation.js.map +1 -1
- package/lib/services/url-scanner.d.ts +43 -11
- package/lib/services/url-scanner.d.ts.map +1 -1
- package/lib/services/url-scanner.js +46 -11
- package/lib/services/url-scanner.js.map +1 -1
- package/lib/services/user.d.ts +312 -21
- package/lib/services/user.d.ts.map +1 -1
- package/lib/services/user.js +442 -19
- package/lib/services/user.js.map +1 -1
- package/lib/services/workers-for-platforms.d.ts +223 -13
- package/lib/services/workers-for-platforms.d.ts.map +1 -1
- package/lib/services/workers-for-platforms.js +481 -13
- package/lib/services/workers-for-platforms.js.map +1 -1
- package/lib/services/workers.d.ts +345 -31
- package/lib/services/workers.d.ts.map +1 -1
- package/lib/services/workers.js +649 -34
- package/lib/services/workers.js.map +1 -1
- package/lib/services/zaraz.d.ts +212 -11
- package/lib/services/zaraz.d.ts.map +1 -1
- package/lib/services/zaraz.js +311 -30
- package/lib/services/zaraz.js.map +1 -1
- package/lib/services/zero-trust.d.ts +19333 -1905
- package/lib/services/zero-trust.d.ts.map +1 -1
- package/lib/services/zero-trust.js +30269 -5710
- package/lib/services/zero-trust.js.map +1 -1
- package/lib/services/zones.d.ts +61 -7
- package/lib/services/zones.d.ts.map +1 -1
- package/lib/services/zones.js +188 -7
- package/lib/services/zones.js.map +1 -1
- package/package.json +2 -2
- package/src/services/accounts.ts +2897 -63
- package/src/services/addressing.ts +28 -4
- package/src/services/ai-gateway.ts +9 -7
- package/src/services/aisearch.ts +28 -9
- package/src/services/alerting.ts +2 -2
- package/src/services/api-gateway.ts +410 -27
- package/src/services/audit-logs.ts +135 -5
- package/src/services/bot-management.ts +282 -24
- package/src/services/brand-protection.ts +28 -8
- package/src/services/browser-rendering.ts +31 -11
- package/src/services/cloudforce-one.ts +201 -9
- package/src/services/custom-certificates.ts +405 -14
- package/src/services/custom-hostnames.ts +29 -22
- package/src/services/d1.ts +180 -12
- package/src/services/dns-firewall.ts +163 -7
- package/src/services/dns.ts +213 -2389
- package/src/services/email-routing.ts +346 -12
- package/src/services/firewall.ts +556 -72
- package/src/services/healthchecks.ts +463 -18
- package/src/services/hostnames.ts +21 -9
- package/src/services/hyperdrive.ts +730 -17
- package/src/services/iam.ts +228 -24
- package/src/services/images.ts +29 -2
- package/src/services/intel.ts +6 -5
- package/src/services/kv.ts +6 -2
- package/src/services/load-balancers.ts +2387 -294
- package/src/services/logpush.ts +659 -15
- package/src/services/magic-cloud-networking.ts +74 -30
- package/src/services/magic-network-monitoring.ts +170 -8
- package/src/services/magic-transit.ts +631 -62
- package/src/services/memberships.ts +710 -91
- package/src/services/page-rules.ts +1592 -88
- package/src/services/pages.ts +2011 -1098
- package/src/services/pipelines.ts +285 -331
- package/src/services/queues.ts +1110 -22
- package/src/services/radar.ts +128 -64
- package/src/services/realtime-kit.ts +2829 -1603
- package/src/services/request-tracers.ts +54 -4
- package/src/services/rules.ts +214 -18
- package/src/services/rulesets.ts +34524 -6913
- package/src/services/rum.ts +187 -9
- package/src/services/schema-validation.ts +2 -2
- package/src/services/spectrum.ts +357 -67
- package/src/services/speed.ts +1845 -42
- package/src/services/ssl.ts +11 -11
- package/src/services/stream.ts +397 -22
- package/src/services/token-validation.ts +64 -4
- package/src/services/url-scanner.ts +92 -20
- package/src/services/user.ts +973 -34
- package/src/services/workers-for-platforms.ts +1012 -39
- package/src/services/workers.ts +1472 -120
- package/src/services/zaraz.ts +640 -37
- package/src/services/zero-trust.ts +55498 -12667
- package/src/services/zones.ts +360 -14
|
@@ -450,8 +450,90 @@ export interface GetMemberRequest {
|
|
|
450
450
|
accountId: string;
|
|
451
451
|
}
|
|
452
452
|
export declare const GetMemberRequest: Schema.Schema<GetMemberRequest>;
|
|
453
|
-
export
|
|
454
|
-
|
|
453
|
+
export interface GetMemberResponse {
|
|
454
|
+
/** Membership identifier tag. */
|
|
455
|
+
id?: string | null;
|
|
456
|
+
/** The contact email address of the user. */
|
|
457
|
+
email?: string | null;
|
|
458
|
+
/** Access policy for the membership */
|
|
459
|
+
policies?: {
|
|
460
|
+
id?: string | null;
|
|
461
|
+
access?: "allow" | "deny" | null;
|
|
462
|
+
permissionGroups?: {
|
|
463
|
+
id: string;
|
|
464
|
+
}[] | null;
|
|
465
|
+
resourceGroups?: {
|
|
466
|
+
id: string;
|
|
467
|
+
}[] | null;
|
|
468
|
+
}[] | null;
|
|
469
|
+
/** Roles assigned to this Member. */
|
|
470
|
+
roles?: {
|
|
471
|
+
id: string;
|
|
472
|
+
description: string;
|
|
473
|
+
name: string;
|
|
474
|
+
permissions: {
|
|
475
|
+
analytics?: {
|
|
476
|
+
read?: boolean | null;
|
|
477
|
+
write?: boolean | null;
|
|
478
|
+
} | null;
|
|
479
|
+
billing?: {
|
|
480
|
+
read?: boolean | null;
|
|
481
|
+
write?: boolean | null;
|
|
482
|
+
} | null;
|
|
483
|
+
cachePurge?: {
|
|
484
|
+
read?: boolean | null;
|
|
485
|
+
write?: boolean | null;
|
|
486
|
+
} | null;
|
|
487
|
+
dns?: {
|
|
488
|
+
read?: boolean | null;
|
|
489
|
+
write?: boolean | null;
|
|
490
|
+
} | null;
|
|
491
|
+
dnsRecords?: {
|
|
492
|
+
read?: boolean | null;
|
|
493
|
+
write?: boolean | null;
|
|
494
|
+
} | null;
|
|
495
|
+
lb?: {
|
|
496
|
+
read?: boolean | null;
|
|
497
|
+
write?: boolean | null;
|
|
498
|
+
} | null;
|
|
499
|
+
logs?: {
|
|
500
|
+
read?: boolean | null;
|
|
501
|
+
write?: boolean | null;
|
|
502
|
+
} | null;
|
|
503
|
+
organization?: {
|
|
504
|
+
read?: boolean | null;
|
|
505
|
+
write?: boolean | null;
|
|
506
|
+
} | null;
|
|
507
|
+
ssl?: {
|
|
508
|
+
read?: boolean | null;
|
|
509
|
+
write?: boolean | null;
|
|
510
|
+
} | null;
|
|
511
|
+
waf?: {
|
|
512
|
+
read?: boolean | null;
|
|
513
|
+
write?: boolean | null;
|
|
514
|
+
} | null;
|
|
515
|
+
zoneSettings?: {
|
|
516
|
+
read?: boolean | null;
|
|
517
|
+
write?: boolean | null;
|
|
518
|
+
} | null;
|
|
519
|
+
zones?: {
|
|
520
|
+
read?: boolean | null;
|
|
521
|
+
write?: boolean | null;
|
|
522
|
+
} | null;
|
|
523
|
+
};
|
|
524
|
+
}[] | null;
|
|
525
|
+
/** A member's status in the account. */
|
|
526
|
+
status?: "accepted" | "pending" | null;
|
|
527
|
+
/** Details of the user associated to the membership. */
|
|
528
|
+
user?: {
|
|
529
|
+
email: string;
|
|
530
|
+
id?: string | null;
|
|
531
|
+
firstName?: string | null;
|
|
532
|
+
lastName?: string | null;
|
|
533
|
+
twoFactorAuthenticationEnabled?: boolean | null;
|
|
534
|
+
} | null;
|
|
535
|
+
}
|
|
536
|
+
export declare const GetMemberResponse: Schema.Schema<GetMemberResponse>;
|
|
455
537
|
export type GetMemberError = DefaultErrors | MemberNotFound | InvalidRoute;
|
|
456
538
|
export declare const getMember: API.OperationMethod<GetMemberRequest, GetMemberResponse, GetMemberError, Credentials | HttpClient.HttpClient>;
|
|
457
539
|
export interface ListMembersRequest {
|
|
@@ -465,10 +547,173 @@ export interface ListMembersRequest {
|
|
|
465
547
|
status?: "accepted" | "pending" | "rejected";
|
|
466
548
|
}
|
|
467
549
|
export declare const ListMembersRequest: Schema.Schema<ListMembersRequest>;
|
|
468
|
-
export
|
|
469
|
-
|
|
550
|
+
export interface ListMembersResponse {
|
|
551
|
+
result: {
|
|
552
|
+
id?: string | null;
|
|
553
|
+
email?: string | null;
|
|
554
|
+
policies?: {
|
|
555
|
+
id?: string | null;
|
|
556
|
+
access?: "allow" | "deny" | null;
|
|
557
|
+
permissionGroups?: {
|
|
558
|
+
id: string;
|
|
559
|
+
}[] | null;
|
|
560
|
+
resourceGroups?: {
|
|
561
|
+
id: string;
|
|
562
|
+
}[] | null;
|
|
563
|
+
}[] | null;
|
|
564
|
+
roles?: {
|
|
565
|
+
id: string;
|
|
566
|
+
description: string;
|
|
567
|
+
name: string;
|
|
568
|
+
permissions: {
|
|
569
|
+
analytics?: {
|
|
570
|
+
read?: boolean | null;
|
|
571
|
+
write?: boolean | null;
|
|
572
|
+
} | null;
|
|
573
|
+
billing?: {
|
|
574
|
+
read?: boolean | null;
|
|
575
|
+
write?: boolean | null;
|
|
576
|
+
} | null;
|
|
577
|
+
cachePurge?: {
|
|
578
|
+
read?: boolean | null;
|
|
579
|
+
write?: boolean | null;
|
|
580
|
+
} | null;
|
|
581
|
+
dns?: {
|
|
582
|
+
read?: boolean | null;
|
|
583
|
+
write?: boolean | null;
|
|
584
|
+
} | null;
|
|
585
|
+
dnsRecords?: {
|
|
586
|
+
read?: boolean | null;
|
|
587
|
+
write?: boolean | null;
|
|
588
|
+
} | null;
|
|
589
|
+
lb?: {
|
|
590
|
+
read?: boolean | null;
|
|
591
|
+
write?: boolean | null;
|
|
592
|
+
} | null;
|
|
593
|
+
logs?: {
|
|
594
|
+
read?: boolean | null;
|
|
595
|
+
write?: boolean | null;
|
|
596
|
+
} | null;
|
|
597
|
+
organization?: {
|
|
598
|
+
read?: boolean | null;
|
|
599
|
+
write?: boolean | null;
|
|
600
|
+
} | null;
|
|
601
|
+
ssl?: {
|
|
602
|
+
read?: boolean | null;
|
|
603
|
+
write?: boolean | null;
|
|
604
|
+
} | null;
|
|
605
|
+
waf?: {
|
|
606
|
+
read?: boolean | null;
|
|
607
|
+
write?: boolean | null;
|
|
608
|
+
} | null;
|
|
609
|
+
zoneSettings?: {
|
|
610
|
+
read?: boolean | null;
|
|
611
|
+
write?: boolean | null;
|
|
612
|
+
} | null;
|
|
613
|
+
zones?: {
|
|
614
|
+
read?: boolean | null;
|
|
615
|
+
write?: boolean | null;
|
|
616
|
+
} | null;
|
|
617
|
+
};
|
|
618
|
+
}[] | null;
|
|
619
|
+
status?: "accepted" | "pending" | null;
|
|
620
|
+
user?: {
|
|
621
|
+
email: string;
|
|
622
|
+
id?: string | null;
|
|
623
|
+
firstName?: string | null;
|
|
624
|
+
lastName?: string | null;
|
|
625
|
+
twoFactorAuthenticationEnabled?: boolean | null;
|
|
626
|
+
} | null;
|
|
627
|
+
}[];
|
|
628
|
+
resultInfo: {
|
|
629
|
+
count?: number | null;
|
|
630
|
+
page?: number | null;
|
|
631
|
+
perPage?: number | null;
|
|
632
|
+
totalCount?: number | null;
|
|
633
|
+
};
|
|
634
|
+
}
|
|
635
|
+
export declare const ListMembersResponse: Schema.Schema<ListMembersResponse>;
|
|
470
636
|
export type ListMembersError = DefaultErrors;
|
|
471
|
-
export declare const listMembers: API.
|
|
637
|
+
export declare const listMembers: API.PaginatedOperationMethod<ListMembersRequest, ListMembersResponse, ListMembersError, Credentials | HttpClient.HttpClient> & {
|
|
638
|
+
pages: (input: ListMembersRequest) => stream.Stream<ListMembersResponse, ListMembersError, Credentials | HttpClient.HttpClient>;
|
|
639
|
+
items: (input: ListMembersRequest) => stream.Stream<{
|
|
640
|
+
id?: string | null;
|
|
641
|
+
email?: string | null;
|
|
642
|
+
policies?: {
|
|
643
|
+
id?: string | null;
|
|
644
|
+
access?: "allow" | "deny" | null;
|
|
645
|
+
permissionGroups?: {
|
|
646
|
+
id: string;
|
|
647
|
+
}[] | null;
|
|
648
|
+
resourceGroups?: {
|
|
649
|
+
id: string;
|
|
650
|
+
}[] | null;
|
|
651
|
+
}[] | null;
|
|
652
|
+
roles?: {
|
|
653
|
+
id: string;
|
|
654
|
+
description: string;
|
|
655
|
+
name: string;
|
|
656
|
+
permissions: {
|
|
657
|
+
analytics?: {
|
|
658
|
+
read?: boolean | null;
|
|
659
|
+
write?: boolean | null;
|
|
660
|
+
} | null;
|
|
661
|
+
billing?: {
|
|
662
|
+
read?: boolean | null;
|
|
663
|
+
write?: boolean | null;
|
|
664
|
+
} | null;
|
|
665
|
+
cachePurge?: {
|
|
666
|
+
read?: boolean | null;
|
|
667
|
+
write?: boolean | null;
|
|
668
|
+
} | null;
|
|
669
|
+
dns?: {
|
|
670
|
+
read?: boolean | null;
|
|
671
|
+
write?: boolean | null;
|
|
672
|
+
} | null;
|
|
673
|
+
dnsRecords?: {
|
|
674
|
+
read?: boolean | null;
|
|
675
|
+
write?: boolean | null;
|
|
676
|
+
} | null;
|
|
677
|
+
lb?: {
|
|
678
|
+
read?: boolean | null;
|
|
679
|
+
write?: boolean | null;
|
|
680
|
+
} | null;
|
|
681
|
+
logs?: {
|
|
682
|
+
read?: boolean | null;
|
|
683
|
+
write?: boolean | null;
|
|
684
|
+
} | null;
|
|
685
|
+
organization?: {
|
|
686
|
+
read?: boolean | null;
|
|
687
|
+
write?: boolean | null;
|
|
688
|
+
} | null;
|
|
689
|
+
ssl?: {
|
|
690
|
+
read?: boolean | null;
|
|
691
|
+
write?: boolean | null;
|
|
692
|
+
} | null;
|
|
693
|
+
waf?: {
|
|
694
|
+
read?: boolean | null;
|
|
695
|
+
write?: boolean | null;
|
|
696
|
+
} | null;
|
|
697
|
+
zoneSettings?: {
|
|
698
|
+
read?: boolean | null;
|
|
699
|
+
write?: boolean | null;
|
|
700
|
+
} | null;
|
|
701
|
+
zones?: {
|
|
702
|
+
read?: boolean | null;
|
|
703
|
+
write?: boolean | null;
|
|
704
|
+
} | null;
|
|
705
|
+
};
|
|
706
|
+
}[] | null;
|
|
707
|
+
status?: "accepted" | "pending" | null;
|
|
708
|
+
user?: {
|
|
709
|
+
email: string;
|
|
710
|
+
id?: string | null;
|
|
711
|
+
firstName?: string | null;
|
|
712
|
+
lastName?: string | null;
|
|
713
|
+
twoFactorAuthenticationEnabled?: boolean | null;
|
|
714
|
+
} | null;
|
|
715
|
+
}, ListMembersError, Credentials | HttpClient.HttpClient>;
|
|
716
|
+
};
|
|
472
717
|
export interface CreateMemberRequest {
|
|
473
718
|
/** Path param: Account identifier tag. */
|
|
474
719
|
accountId: string;
|
|
@@ -480,8 +725,90 @@ export interface CreateMemberRequest {
|
|
|
480
725
|
status?: "accepted" | "pending";
|
|
481
726
|
}
|
|
482
727
|
export declare const CreateMemberRequest: Schema.Schema<CreateMemberRequest>;
|
|
483
|
-
export
|
|
484
|
-
|
|
728
|
+
export interface CreateMemberResponse {
|
|
729
|
+
/** Membership identifier tag. */
|
|
730
|
+
id?: string | null;
|
|
731
|
+
/** The contact email address of the user. */
|
|
732
|
+
email?: string | null;
|
|
733
|
+
/** Access policy for the membership */
|
|
734
|
+
policies?: {
|
|
735
|
+
id?: string | null;
|
|
736
|
+
access?: "allow" | "deny" | null;
|
|
737
|
+
permissionGroups?: {
|
|
738
|
+
id: string;
|
|
739
|
+
}[] | null;
|
|
740
|
+
resourceGroups?: {
|
|
741
|
+
id: string;
|
|
742
|
+
}[] | null;
|
|
743
|
+
}[] | null;
|
|
744
|
+
/** Roles assigned to this Member. */
|
|
745
|
+
roles?: {
|
|
746
|
+
id: string;
|
|
747
|
+
description: string;
|
|
748
|
+
name: string;
|
|
749
|
+
permissions: {
|
|
750
|
+
analytics?: {
|
|
751
|
+
read?: boolean | null;
|
|
752
|
+
write?: boolean | null;
|
|
753
|
+
} | null;
|
|
754
|
+
billing?: {
|
|
755
|
+
read?: boolean | null;
|
|
756
|
+
write?: boolean | null;
|
|
757
|
+
} | null;
|
|
758
|
+
cachePurge?: {
|
|
759
|
+
read?: boolean | null;
|
|
760
|
+
write?: boolean | null;
|
|
761
|
+
} | null;
|
|
762
|
+
dns?: {
|
|
763
|
+
read?: boolean | null;
|
|
764
|
+
write?: boolean | null;
|
|
765
|
+
} | null;
|
|
766
|
+
dnsRecords?: {
|
|
767
|
+
read?: boolean | null;
|
|
768
|
+
write?: boolean | null;
|
|
769
|
+
} | null;
|
|
770
|
+
lb?: {
|
|
771
|
+
read?: boolean | null;
|
|
772
|
+
write?: boolean | null;
|
|
773
|
+
} | null;
|
|
774
|
+
logs?: {
|
|
775
|
+
read?: boolean | null;
|
|
776
|
+
write?: boolean | null;
|
|
777
|
+
} | null;
|
|
778
|
+
organization?: {
|
|
779
|
+
read?: boolean | null;
|
|
780
|
+
write?: boolean | null;
|
|
781
|
+
} | null;
|
|
782
|
+
ssl?: {
|
|
783
|
+
read?: boolean | null;
|
|
784
|
+
write?: boolean | null;
|
|
785
|
+
} | null;
|
|
786
|
+
waf?: {
|
|
787
|
+
read?: boolean | null;
|
|
788
|
+
write?: boolean | null;
|
|
789
|
+
} | null;
|
|
790
|
+
zoneSettings?: {
|
|
791
|
+
read?: boolean | null;
|
|
792
|
+
write?: boolean | null;
|
|
793
|
+
} | null;
|
|
794
|
+
zones?: {
|
|
795
|
+
read?: boolean | null;
|
|
796
|
+
write?: boolean | null;
|
|
797
|
+
} | null;
|
|
798
|
+
};
|
|
799
|
+
}[] | null;
|
|
800
|
+
/** A member's status in the account. */
|
|
801
|
+
status?: "accepted" | "pending" | null;
|
|
802
|
+
/** Details of the user associated to the membership. */
|
|
803
|
+
user?: {
|
|
804
|
+
email: string;
|
|
805
|
+
id?: string | null;
|
|
806
|
+
firstName?: string | null;
|
|
807
|
+
lastName?: string | null;
|
|
808
|
+
twoFactorAuthenticationEnabled?: boolean | null;
|
|
809
|
+
} | null;
|
|
810
|
+
}
|
|
811
|
+
export declare const CreateMemberResponse: Schema.Schema<CreateMemberResponse>;
|
|
485
812
|
export type CreateMemberError = DefaultErrors | InvalidRoute | ValidationError;
|
|
486
813
|
export declare const createMember: API.OperationMethod<CreateMemberRequest, CreateMemberResponse, CreateMemberError, Credentials | HttpClient.HttpClient>;
|
|
487
814
|
export interface UpdateMemberRequest {
|
|
@@ -489,11 +816,95 @@ export interface UpdateMemberRequest {
|
|
|
489
816
|
/** Path param: Account identifier tag. */
|
|
490
817
|
accountId: string;
|
|
491
818
|
/** Body param: Roles assigned to this member. */
|
|
492
|
-
roles?:
|
|
819
|
+
roles?: {
|
|
820
|
+
id: string;
|
|
821
|
+
}[];
|
|
493
822
|
}
|
|
494
823
|
export declare const UpdateMemberRequest: Schema.Schema<UpdateMemberRequest>;
|
|
495
|
-
export
|
|
496
|
-
|
|
824
|
+
export interface UpdateMemberResponse {
|
|
825
|
+
/** Membership identifier tag. */
|
|
826
|
+
id?: string | null;
|
|
827
|
+
/** The contact email address of the user. */
|
|
828
|
+
email?: string | null;
|
|
829
|
+
/** Access policy for the membership */
|
|
830
|
+
policies?: {
|
|
831
|
+
id?: string | null;
|
|
832
|
+
access?: "allow" | "deny" | null;
|
|
833
|
+
permissionGroups?: {
|
|
834
|
+
id: string;
|
|
835
|
+
}[] | null;
|
|
836
|
+
resourceGroups?: {
|
|
837
|
+
id: string;
|
|
838
|
+
}[] | null;
|
|
839
|
+
}[] | null;
|
|
840
|
+
/** Roles assigned to this Member. */
|
|
841
|
+
roles?: {
|
|
842
|
+
id: string;
|
|
843
|
+
description: string;
|
|
844
|
+
name: string;
|
|
845
|
+
permissions: {
|
|
846
|
+
analytics?: {
|
|
847
|
+
read?: boolean | null;
|
|
848
|
+
write?: boolean | null;
|
|
849
|
+
} | null;
|
|
850
|
+
billing?: {
|
|
851
|
+
read?: boolean | null;
|
|
852
|
+
write?: boolean | null;
|
|
853
|
+
} | null;
|
|
854
|
+
cachePurge?: {
|
|
855
|
+
read?: boolean | null;
|
|
856
|
+
write?: boolean | null;
|
|
857
|
+
} | null;
|
|
858
|
+
dns?: {
|
|
859
|
+
read?: boolean | null;
|
|
860
|
+
write?: boolean | null;
|
|
861
|
+
} | null;
|
|
862
|
+
dnsRecords?: {
|
|
863
|
+
read?: boolean | null;
|
|
864
|
+
write?: boolean | null;
|
|
865
|
+
} | null;
|
|
866
|
+
lb?: {
|
|
867
|
+
read?: boolean | null;
|
|
868
|
+
write?: boolean | null;
|
|
869
|
+
} | null;
|
|
870
|
+
logs?: {
|
|
871
|
+
read?: boolean | null;
|
|
872
|
+
write?: boolean | null;
|
|
873
|
+
} | null;
|
|
874
|
+
organization?: {
|
|
875
|
+
read?: boolean | null;
|
|
876
|
+
write?: boolean | null;
|
|
877
|
+
} | null;
|
|
878
|
+
ssl?: {
|
|
879
|
+
read?: boolean | null;
|
|
880
|
+
write?: boolean | null;
|
|
881
|
+
} | null;
|
|
882
|
+
waf?: {
|
|
883
|
+
read?: boolean | null;
|
|
884
|
+
write?: boolean | null;
|
|
885
|
+
} | null;
|
|
886
|
+
zoneSettings?: {
|
|
887
|
+
read?: boolean | null;
|
|
888
|
+
write?: boolean | null;
|
|
889
|
+
} | null;
|
|
890
|
+
zones?: {
|
|
891
|
+
read?: boolean | null;
|
|
892
|
+
write?: boolean | null;
|
|
893
|
+
} | null;
|
|
894
|
+
};
|
|
895
|
+
}[] | null;
|
|
896
|
+
/** A member's status in the account. */
|
|
897
|
+
status?: "accepted" | "pending" | null;
|
|
898
|
+
/** Details of the user associated to the membership. */
|
|
899
|
+
user?: {
|
|
900
|
+
email: string;
|
|
901
|
+
id?: string | null;
|
|
902
|
+
firstName?: string | null;
|
|
903
|
+
lastName?: string | null;
|
|
904
|
+
twoFactorAuthenticationEnabled?: boolean | null;
|
|
905
|
+
} | null;
|
|
906
|
+
}
|
|
907
|
+
export declare const UpdateMemberResponse: Schema.Schema<UpdateMemberResponse>;
|
|
497
908
|
export type UpdateMemberError = DefaultErrors | MemberNotFound | InvalidRoute | BadRequest | MethodNotAllowed;
|
|
498
909
|
export declare const updateMember: API.OperationMethod<UpdateMemberRequest, UpdateMemberResponse, UpdateMemberError, Credentials | HttpClient.HttpClient>;
|
|
499
910
|
export interface DeleteMemberRequest {
|
|
@@ -515,8 +926,65 @@ export interface GetRoleRequest {
|
|
|
515
926
|
accountId: string;
|
|
516
927
|
}
|
|
517
928
|
export declare const GetRoleRequest: Schema.Schema<GetRoleRequest>;
|
|
518
|
-
export
|
|
519
|
-
|
|
929
|
+
export interface GetRoleResponse {
|
|
930
|
+
/** Role identifier tag. */
|
|
931
|
+
id: string;
|
|
932
|
+
/** Description of role's permissions. */
|
|
933
|
+
description: string;
|
|
934
|
+
/** Role name. */
|
|
935
|
+
name: string;
|
|
936
|
+
permissions: {
|
|
937
|
+
analytics?: {
|
|
938
|
+
read?: boolean | null;
|
|
939
|
+
write?: boolean | null;
|
|
940
|
+
} | null;
|
|
941
|
+
billing?: {
|
|
942
|
+
read?: boolean | null;
|
|
943
|
+
write?: boolean | null;
|
|
944
|
+
} | null;
|
|
945
|
+
cachePurge?: {
|
|
946
|
+
read?: boolean | null;
|
|
947
|
+
write?: boolean | null;
|
|
948
|
+
} | null;
|
|
949
|
+
dns?: {
|
|
950
|
+
read?: boolean | null;
|
|
951
|
+
write?: boolean | null;
|
|
952
|
+
} | null;
|
|
953
|
+
dnsRecords?: {
|
|
954
|
+
read?: boolean | null;
|
|
955
|
+
write?: boolean | null;
|
|
956
|
+
} | null;
|
|
957
|
+
lb?: {
|
|
958
|
+
read?: boolean | null;
|
|
959
|
+
write?: boolean | null;
|
|
960
|
+
} | null;
|
|
961
|
+
logs?: {
|
|
962
|
+
read?: boolean | null;
|
|
963
|
+
write?: boolean | null;
|
|
964
|
+
} | null;
|
|
965
|
+
organization?: {
|
|
966
|
+
read?: boolean | null;
|
|
967
|
+
write?: boolean | null;
|
|
968
|
+
} | null;
|
|
969
|
+
ssl?: {
|
|
970
|
+
read?: boolean | null;
|
|
971
|
+
write?: boolean | null;
|
|
972
|
+
} | null;
|
|
973
|
+
waf?: {
|
|
974
|
+
read?: boolean | null;
|
|
975
|
+
write?: boolean | null;
|
|
976
|
+
} | null;
|
|
977
|
+
zoneSettings?: {
|
|
978
|
+
read?: boolean | null;
|
|
979
|
+
write?: boolean | null;
|
|
980
|
+
} | null;
|
|
981
|
+
zones?: {
|
|
982
|
+
read?: boolean | null;
|
|
983
|
+
write?: boolean | null;
|
|
984
|
+
} | null;
|
|
985
|
+
};
|
|
986
|
+
}
|
|
987
|
+
export declare const GetRoleResponse: Schema.Schema<GetRoleResponse>;
|
|
520
988
|
export type GetRoleError = DefaultErrors | InvalidRoute;
|
|
521
989
|
export declare const getRole: API.OperationMethod<GetRoleRequest, GetRoleResponse, GetRoleError, Credentials | HttpClient.HttpClient>;
|
|
522
990
|
export interface ListRolesRequest {
|
|
@@ -524,30 +992,221 @@ export interface ListRolesRequest {
|
|
|
524
992
|
accountId: string;
|
|
525
993
|
}
|
|
526
994
|
export declare const ListRolesRequest: Schema.Schema<ListRolesRequest>;
|
|
527
|
-
export
|
|
528
|
-
|
|
995
|
+
export interface ListRolesResponse {
|
|
996
|
+
result: {
|
|
997
|
+
id: string;
|
|
998
|
+
description: string;
|
|
999
|
+
name: string;
|
|
1000
|
+
permissions: {
|
|
1001
|
+
analytics?: {
|
|
1002
|
+
read?: boolean | null;
|
|
1003
|
+
write?: boolean | null;
|
|
1004
|
+
} | null;
|
|
1005
|
+
billing?: {
|
|
1006
|
+
read?: boolean | null;
|
|
1007
|
+
write?: boolean | null;
|
|
1008
|
+
} | null;
|
|
1009
|
+
cachePurge?: {
|
|
1010
|
+
read?: boolean | null;
|
|
1011
|
+
write?: boolean | null;
|
|
1012
|
+
} | null;
|
|
1013
|
+
dns?: {
|
|
1014
|
+
read?: boolean | null;
|
|
1015
|
+
write?: boolean | null;
|
|
1016
|
+
} | null;
|
|
1017
|
+
dnsRecords?: {
|
|
1018
|
+
read?: boolean | null;
|
|
1019
|
+
write?: boolean | null;
|
|
1020
|
+
} | null;
|
|
1021
|
+
lb?: {
|
|
1022
|
+
read?: boolean | null;
|
|
1023
|
+
write?: boolean | null;
|
|
1024
|
+
} | null;
|
|
1025
|
+
logs?: {
|
|
1026
|
+
read?: boolean | null;
|
|
1027
|
+
write?: boolean | null;
|
|
1028
|
+
} | null;
|
|
1029
|
+
organization?: {
|
|
1030
|
+
read?: boolean | null;
|
|
1031
|
+
write?: boolean | null;
|
|
1032
|
+
} | null;
|
|
1033
|
+
ssl?: {
|
|
1034
|
+
read?: boolean | null;
|
|
1035
|
+
write?: boolean | null;
|
|
1036
|
+
} | null;
|
|
1037
|
+
waf?: {
|
|
1038
|
+
read?: boolean | null;
|
|
1039
|
+
write?: boolean | null;
|
|
1040
|
+
} | null;
|
|
1041
|
+
zoneSettings?: {
|
|
1042
|
+
read?: boolean | null;
|
|
1043
|
+
write?: boolean | null;
|
|
1044
|
+
} | null;
|
|
1045
|
+
zones?: {
|
|
1046
|
+
read?: boolean | null;
|
|
1047
|
+
write?: boolean | null;
|
|
1048
|
+
} | null;
|
|
1049
|
+
};
|
|
1050
|
+
}[];
|
|
1051
|
+
resultInfo: {
|
|
1052
|
+
count?: number | null;
|
|
1053
|
+
page?: number | null;
|
|
1054
|
+
perPage?: number | null;
|
|
1055
|
+
totalCount?: number | null;
|
|
1056
|
+
};
|
|
1057
|
+
}
|
|
1058
|
+
export declare const ListRolesResponse: Schema.Schema<ListRolesResponse>;
|
|
529
1059
|
export type ListRolesError = DefaultErrors;
|
|
530
|
-
export declare const listRoles: API.
|
|
1060
|
+
export declare const listRoles: API.PaginatedOperationMethod<ListRolesRequest, ListRolesResponse, ListRolesError, Credentials | HttpClient.HttpClient> & {
|
|
1061
|
+
pages: (input: ListRolesRequest) => stream.Stream<ListRolesResponse, ListRolesError, Credentials | HttpClient.HttpClient>;
|
|
1062
|
+
items: (input: ListRolesRequest) => stream.Stream<{
|
|
1063
|
+
id: string;
|
|
1064
|
+
description: string;
|
|
1065
|
+
name: string;
|
|
1066
|
+
permissions: {
|
|
1067
|
+
analytics?: {
|
|
1068
|
+
read?: boolean | null;
|
|
1069
|
+
write?: boolean | null;
|
|
1070
|
+
} | null;
|
|
1071
|
+
billing?: {
|
|
1072
|
+
read?: boolean | null;
|
|
1073
|
+
write?: boolean | null;
|
|
1074
|
+
} | null;
|
|
1075
|
+
cachePurge?: {
|
|
1076
|
+
read?: boolean | null;
|
|
1077
|
+
write?: boolean | null;
|
|
1078
|
+
} | null;
|
|
1079
|
+
dns?: {
|
|
1080
|
+
read?: boolean | null;
|
|
1081
|
+
write?: boolean | null;
|
|
1082
|
+
} | null;
|
|
1083
|
+
dnsRecords?: {
|
|
1084
|
+
read?: boolean | null;
|
|
1085
|
+
write?: boolean | null;
|
|
1086
|
+
} | null;
|
|
1087
|
+
lb?: {
|
|
1088
|
+
read?: boolean | null;
|
|
1089
|
+
write?: boolean | null;
|
|
1090
|
+
} | null;
|
|
1091
|
+
logs?: {
|
|
1092
|
+
read?: boolean | null;
|
|
1093
|
+
write?: boolean | null;
|
|
1094
|
+
} | null;
|
|
1095
|
+
organization?: {
|
|
1096
|
+
read?: boolean | null;
|
|
1097
|
+
write?: boolean | null;
|
|
1098
|
+
} | null;
|
|
1099
|
+
ssl?: {
|
|
1100
|
+
read?: boolean | null;
|
|
1101
|
+
write?: boolean | null;
|
|
1102
|
+
} | null;
|
|
1103
|
+
waf?: {
|
|
1104
|
+
read?: boolean | null;
|
|
1105
|
+
write?: boolean | null;
|
|
1106
|
+
} | null;
|
|
1107
|
+
zoneSettings?: {
|
|
1108
|
+
read?: boolean | null;
|
|
1109
|
+
write?: boolean | null;
|
|
1110
|
+
} | null;
|
|
1111
|
+
zones?: {
|
|
1112
|
+
read?: boolean | null;
|
|
1113
|
+
write?: boolean | null;
|
|
1114
|
+
} | null;
|
|
1115
|
+
};
|
|
1116
|
+
}, ListRolesError, Credentials | HttpClient.HttpClient>;
|
|
1117
|
+
};
|
|
531
1118
|
export interface GetSubscriptionRequest {
|
|
532
1119
|
/** Identifier */
|
|
533
1120
|
accountId: string;
|
|
534
1121
|
}
|
|
535
1122
|
export declare const GetSubscriptionRequest: Schema.Schema<GetSubscriptionRequest>;
|
|
536
|
-
export
|
|
537
|
-
|
|
1123
|
+
export interface GetSubscriptionResponse {
|
|
1124
|
+
result: {
|
|
1125
|
+
id?: string | null;
|
|
1126
|
+
currency?: string | null;
|
|
1127
|
+
currentPeriodEnd?: string | null;
|
|
1128
|
+
currentPeriodStart?: string | null;
|
|
1129
|
+
frequency?: "weekly" | "monthly" | "quarterly" | "yearly" | null;
|
|
1130
|
+
price?: number | null;
|
|
1131
|
+
ratePlan?: {
|
|
1132
|
+
id?: "free" | "lite" | "pro" | "pro_plus" | "business" | "enterprise" | "partners_free" | "partners_pro" | "partners_business" | "partners_enterprise" | null;
|
|
1133
|
+
currency?: string | null;
|
|
1134
|
+
externallyManaged?: boolean | null;
|
|
1135
|
+
isContract?: boolean | null;
|
|
1136
|
+
publicName?: string | null;
|
|
1137
|
+
scope?: string | null;
|
|
1138
|
+
sets?: string[] | null;
|
|
1139
|
+
} | null;
|
|
1140
|
+
state?: "Trial" | "Provisioned" | "Paid" | "AwaitingPayment" | "Cancelled" | "Failed" | "Expired" | null;
|
|
1141
|
+
}[];
|
|
1142
|
+
}
|
|
1143
|
+
export declare const GetSubscriptionResponse: Schema.Schema<GetSubscriptionResponse>;
|
|
538
1144
|
export type GetSubscriptionError = DefaultErrors;
|
|
539
|
-
export declare const getSubscription: API.
|
|
1145
|
+
export declare const getSubscription: API.PaginatedOperationMethod<GetSubscriptionRequest, GetSubscriptionResponse, GetSubscriptionError, Credentials | HttpClient.HttpClient> & {
|
|
1146
|
+
pages: (input: GetSubscriptionRequest) => stream.Stream<GetSubscriptionResponse, GetSubscriptionError, Credentials | HttpClient.HttpClient>;
|
|
1147
|
+
items: (input: GetSubscriptionRequest) => stream.Stream<{
|
|
1148
|
+
id?: string | null;
|
|
1149
|
+
currency?: string | null;
|
|
1150
|
+
currentPeriodEnd?: string | null;
|
|
1151
|
+
currentPeriodStart?: string | null;
|
|
1152
|
+
frequency?: "weekly" | "monthly" | "quarterly" | "yearly" | null;
|
|
1153
|
+
price?: number | null;
|
|
1154
|
+
ratePlan?: {
|
|
1155
|
+
id?: "free" | "lite" | "pro" | "pro_plus" | "business" | "enterprise" | "partners_free" | "partners_pro" | "partners_business" | "partners_enterprise" | null;
|
|
1156
|
+
currency?: string | null;
|
|
1157
|
+
externallyManaged?: boolean | null;
|
|
1158
|
+
isContract?: boolean | null;
|
|
1159
|
+
publicName?: string | null;
|
|
1160
|
+
scope?: string | null;
|
|
1161
|
+
sets?: string[] | null;
|
|
1162
|
+
} | null;
|
|
1163
|
+
state?: "Trial" | "Provisioned" | "Paid" | "AwaitingPayment" | "Cancelled" | "Failed" | "Expired" | null;
|
|
1164
|
+
}, GetSubscriptionError, Credentials | HttpClient.HttpClient>;
|
|
1165
|
+
};
|
|
540
1166
|
export interface CreateSubscriptionRequest {
|
|
541
1167
|
/** Path param: Identifier */
|
|
542
1168
|
accountId: string;
|
|
543
1169
|
/** Body param: How often the subscription is renewed automatically. */
|
|
544
1170
|
frequency?: "weekly" | "monthly" | "quarterly" | "yearly";
|
|
545
1171
|
/** Body param: The rate plan applied to the subscription. */
|
|
546
|
-
ratePlan?:
|
|
1172
|
+
ratePlan?: {
|
|
1173
|
+
id?: "free" | "lite" | "pro" | "pro_plus" | "business" | "enterprise" | "partners_free" | "partners_pro" | "partners_business" | "partners_enterprise";
|
|
1174
|
+
currency?: string;
|
|
1175
|
+
externallyManaged?: boolean;
|
|
1176
|
+
isContract?: boolean;
|
|
1177
|
+
publicName?: string;
|
|
1178
|
+
scope?: string;
|
|
1179
|
+
sets?: string[];
|
|
1180
|
+
};
|
|
547
1181
|
}
|
|
548
1182
|
export declare const CreateSubscriptionRequest: Schema.Schema<CreateSubscriptionRequest>;
|
|
549
|
-
export
|
|
550
|
-
|
|
1183
|
+
export interface CreateSubscriptionResponse {
|
|
1184
|
+
/** Subscription identifier tag. */
|
|
1185
|
+
id?: string | null;
|
|
1186
|
+
/** The monetary unit in which pricing information is displayed. */
|
|
1187
|
+
currency?: string | null;
|
|
1188
|
+
/** The end of the current period and also when the next billing is due. */
|
|
1189
|
+
currentPeriodEnd?: string | null;
|
|
1190
|
+
/** When the current billing period started. May match initial_period_start if this is the first period. */
|
|
1191
|
+
currentPeriodStart?: string | null;
|
|
1192
|
+
/** How often the subscription is renewed automatically. */
|
|
1193
|
+
frequency?: "weekly" | "monthly" | "quarterly" | "yearly" | null;
|
|
1194
|
+
/** The price of the subscription that will be billed, in US dollars. */
|
|
1195
|
+
price?: number | null;
|
|
1196
|
+
/** The rate plan applied to the subscription. */
|
|
1197
|
+
ratePlan?: {
|
|
1198
|
+
id?: "free" | "lite" | "pro" | "pro_plus" | "business" | "enterprise" | "partners_free" | "partners_pro" | "partners_business" | "partners_enterprise" | null;
|
|
1199
|
+
currency?: string | null;
|
|
1200
|
+
externallyManaged?: boolean | null;
|
|
1201
|
+
isContract?: boolean | null;
|
|
1202
|
+
publicName?: string | null;
|
|
1203
|
+
scope?: string | null;
|
|
1204
|
+
sets?: string[] | null;
|
|
1205
|
+
} | null;
|
|
1206
|
+
/** The state that the subscription is in. */
|
|
1207
|
+
state?: "Trial" | "Provisioned" | "Paid" | "AwaitingPayment" | "Cancelled" | "Failed" | "Expired" | null;
|
|
1208
|
+
}
|
|
1209
|
+
export declare const CreateSubscriptionResponse: Schema.Schema<CreateSubscriptionResponse>;
|
|
551
1210
|
export type CreateSubscriptionError = DefaultErrors | JsonDecodeFailure | InvalidRoute;
|
|
552
1211
|
export declare const createSubscription: API.OperationMethod<CreateSubscriptionRequest, CreateSubscriptionResponse, CreateSubscriptionError, Credentials | HttpClient.HttpClient>;
|
|
553
1212
|
export interface UpdateSubscriptionRequest {
|
|
@@ -557,11 +1216,44 @@ export interface UpdateSubscriptionRequest {
|
|
|
557
1216
|
/** Body param: How often the subscription is renewed automatically. */
|
|
558
1217
|
frequency?: "weekly" | "monthly" | "quarterly" | "yearly";
|
|
559
1218
|
/** Body param: The rate plan applied to the subscription. */
|
|
560
|
-
ratePlan?:
|
|
1219
|
+
ratePlan?: {
|
|
1220
|
+
id?: "free" | "lite" | "pro" | "pro_plus" | "business" | "enterprise" | "partners_free" | "partners_pro" | "partners_business" | "partners_enterprise";
|
|
1221
|
+
currency?: string;
|
|
1222
|
+
externallyManaged?: boolean;
|
|
1223
|
+
isContract?: boolean;
|
|
1224
|
+
publicName?: string;
|
|
1225
|
+
scope?: string;
|
|
1226
|
+
sets?: string[];
|
|
1227
|
+
};
|
|
561
1228
|
}
|
|
562
1229
|
export declare const UpdateSubscriptionRequest: Schema.Schema<UpdateSubscriptionRequest>;
|
|
563
|
-
export
|
|
564
|
-
|
|
1230
|
+
export interface UpdateSubscriptionResponse {
|
|
1231
|
+
/** Subscription identifier tag. */
|
|
1232
|
+
id?: string | null;
|
|
1233
|
+
/** The monetary unit in which pricing information is displayed. */
|
|
1234
|
+
currency?: string | null;
|
|
1235
|
+
/** The end of the current period and also when the next billing is due. */
|
|
1236
|
+
currentPeriodEnd?: string | null;
|
|
1237
|
+
/** When the current billing period started. May match initial_period_start if this is the first period. */
|
|
1238
|
+
currentPeriodStart?: string | null;
|
|
1239
|
+
/** How often the subscription is renewed automatically. */
|
|
1240
|
+
frequency?: "weekly" | "monthly" | "quarterly" | "yearly" | null;
|
|
1241
|
+
/** The price of the subscription that will be billed, in US dollars. */
|
|
1242
|
+
price?: number | null;
|
|
1243
|
+
/** The rate plan applied to the subscription. */
|
|
1244
|
+
ratePlan?: {
|
|
1245
|
+
id?: "free" | "lite" | "pro" | "pro_plus" | "business" | "enterprise" | "partners_free" | "partners_pro" | "partners_business" | "partners_enterprise" | null;
|
|
1246
|
+
currency?: string | null;
|
|
1247
|
+
externallyManaged?: boolean | null;
|
|
1248
|
+
isContract?: boolean | null;
|
|
1249
|
+
publicName?: string | null;
|
|
1250
|
+
scope?: string | null;
|
|
1251
|
+
sets?: string[] | null;
|
|
1252
|
+
} | null;
|
|
1253
|
+
/** The state that the subscription is in. */
|
|
1254
|
+
state?: "Trial" | "Provisioned" | "Paid" | "AwaitingPayment" | "Cancelled" | "Failed" | "Expired" | null;
|
|
1255
|
+
}
|
|
1256
|
+
export declare const UpdateSubscriptionResponse: Schema.Schema<UpdateSubscriptionResponse>;
|
|
565
1257
|
export type UpdateSubscriptionError = DefaultErrors | JsonDecodeFailure | InvalidRoute | EndpointNotFound;
|
|
566
1258
|
export declare const updateSubscription: API.OperationMethod<UpdateSubscriptionRequest, UpdateSubscriptionResponse, UpdateSubscriptionError, Credentials | HttpClient.HttpClient>;
|
|
567
1259
|
export interface DeleteSubscriptionRequest {
|
|
@@ -583,8 +1275,45 @@ export interface GetTokenRequest {
|
|
|
583
1275
|
accountId: string;
|
|
584
1276
|
}
|
|
585
1277
|
export declare const GetTokenRequest: Schema.Schema<GetTokenRequest>;
|
|
586
|
-
export
|
|
587
|
-
|
|
1278
|
+
export interface GetTokenResponse {
|
|
1279
|
+
/** Token identifier tag. */
|
|
1280
|
+
id?: string | null;
|
|
1281
|
+
condition?: {
|
|
1282
|
+
requestIp?: {
|
|
1283
|
+
in?: string[] | null;
|
|
1284
|
+
notIn?: string[] | null;
|
|
1285
|
+
} | null;
|
|
1286
|
+
} | null;
|
|
1287
|
+
/** The expiration time on or after which the JWT MUST NOT be accepted for processing. */
|
|
1288
|
+
expiresOn?: string | null;
|
|
1289
|
+
/** The time on which the token was created. */
|
|
1290
|
+
issuedOn?: string | null;
|
|
1291
|
+
/** Last time the token was used. */
|
|
1292
|
+
lastUsedOn?: string | null;
|
|
1293
|
+
/** Last time the token was modified. */
|
|
1294
|
+
modifiedOn?: string | null;
|
|
1295
|
+
/** Token name. */
|
|
1296
|
+
name?: string | null;
|
|
1297
|
+
/** The time before which the token MUST NOT be accepted for processing. */
|
|
1298
|
+
notBefore?: string | null;
|
|
1299
|
+
/** List of access policies assigned to the token. */
|
|
1300
|
+
policies?: {
|
|
1301
|
+
id: string;
|
|
1302
|
+
effect: "allow" | "deny";
|
|
1303
|
+
permissionGroups: {
|
|
1304
|
+
id: string;
|
|
1305
|
+
meta?: {
|
|
1306
|
+
key?: string | null;
|
|
1307
|
+
value?: string | null;
|
|
1308
|
+
} | null;
|
|
1309
|
+
name?: string | null;
|
|
1310
|
+
}[];
|
|
1311
|
+
resources: Record<string, unknown>;
|
|
1312
|
+
}[] | null;
|
|
1313
|
+
/** Status of the token. */
|
|
1314
|
+
status?: "active" | "disabled" | "expired" | null;
|
|
1315
|
+
}
|
|
1316
|
+
export declare const GetTokenResponse: Schema.Schema<GetTokenResponse>;
|
|
588
1317
|
export type GetTokenError = DefaultErrors | InvalidRoute;
|
|
589
1318
|
export declare const getToken: API.OperationMethod<GetTokenRequest, GetTokenResponse, GetTokenError, Credentials | HttpClient.HttpClient>;
|
|
590
1319
|
export interface ListTokensRequest {
|
|
@@ -594,17 +1323,94 @@ export interface ListTokensRequest {
|
|
|
594
1323
|
direction?: "asc" | "desc";
|
|
595
1324
|
}
|
|
596
1325
|
export declare const ListTokensRequest: Schema.Schema<ListTokensRequest>;
|
|
597
|
-
export
|
|
598
|
-
|
|
1326
|
+
export interface ListTokensResponse {
|
|
1327
|
+
result: {
|
|
1328
|
+
id?: string | null;
|
|
1329
|
+
condition?: {
|
|
1330
|
+
requestIp?: {
|
|
1331
|
+
in?: string[] | null;
|
|
1332
|
+
notIn?: string[] | null;
|
|
1333
|
+
} | null;
|
|
1334
|
+
} | null;
|
|
1335
|
+
expiresOn?: string | null;
|
|
1336
|
+
issuedOn?: string | null;
|
|
1337
|
+
lastUsedOn?: string | null;
|
|
1338
|
+
modifiedOn?: string | null;
|
|
1339
|
+
name?: string | null;
|
|
1340
|
+
notBefore?: string | null;
|
|
1341
|
+
policies?: {
|
|
1342
|
+
id: string;
|
|
1343
|
+
effect: "allow" | "deny";
|
|
1344
|
+
permissionGroups: {
|
|
1345
|
+
id: string;
|
|
1346
|
+
meta?: {
|
|
1347
|
+
key?: string | null;
|
|
1348
|
+
value?: string | null;
|
|
1349
|
+
} | null;
|
|
1350
|
+
name?: string | null;
|
|
1351
|
+
}[];
|
|
1352
|
+
resources: Record<string, unknown>;
|
|
1353
|
+
}[] | null;
|
|
1354
|
+
status?: "active" | "disabled" | "expired" | null;
|
|
1355
|
+
}[];
|
|
1356
|
+
resultInfo: {
|
|
1357
|
+
count?: number | null;
|
|
1358
|
+
page?: number | null;
|
|
1359
|
+
perPage?: number | null;
|
|
1360
|
+
totalCount?: number | null;
|
|
1361
|
+
};
|
|
1362
|
+
}
|
|
1363
|
+
export declare const ListTokensResponse: Schema.Schema<ListTokensResponse>;
|
|
599
1364
|
export type ListTokensError = DefaultErrors;
|
|
600
|
-
export declare const listTokens: API.
|
|
1365
|
+
export declare const listTokens: API.PaginatedOperationMethod<ListTokensRequest, ListTokensResponse, ListTokensError, Credentials | HttpClient.HttpClient> & {
|
|
1366
|
+
pages: (input: ListTokensRequest) => stream.Stream<ListTokensResponse, ListTokensError, Credentials | HttpClient.HttpClient>;
|
|
1367
|
+
items: (input: ListTokensRequest) => stream.Stream<{
|
|
1368
|
+
id?: string | null;
|
|
1369
|
+
condition?: {
|
|
1370
|
+
requestIp?: {
|
|
1371
|
+
in?: string[] | null;
|
|
1372
|
+
notIn?: string[] | null;
|
|
1373
|
+
} | null;
|
|
1374
|
+
} | null;
|
|
1375
|
+
expiresOn?: string | null;
|
|
1376
|
+
issuedOn?: string | null;
|
|
1377
|
+
lastUsedOn?: string | null;
|
|
1378
|
+
modifiedOn?: string | null;
|
|
1379
|
+
name?: string | null;
|
|
1380
|
+
notBefore?: string | null;
|
|
1381
|
+
policies?: {
|
|
1382
|
+
id: string;
|
|
1383
|
+
effect: "allow" | "deny";
|
|
1384
|
+
permissionGroups: {
|
|
1385
|
+
id: string;
|
|
1386
|
+
meta?: {
|
|
1387
|
+
key?: string | null;
|
|
1388
|
+
value?: string | null;
|
|
1389
|
+
} | null;
|
|
1390
|
+
name?: string | null;
|
|
1391
|
+
}[];
|
|
1392
|
+
resources: Record<string, unknown>;
|
|
1393
|
+
}[] | null;
|
|
1394
|
+
status?: "active" | "disabled" | "expired" | null;
|
|
1395
|
+
}, ListTokensError, Credentials | HttpClient.HttpClient>;
|
|
1396
|
+
};
|
|
601
1397
|
export interface CreateTokenRequest {
|
|
602
1398
|
/** Path param: Account identifier tag. */
|
|
603
1399
|
accountId: string;
|
|
604
1400
|
/** Body param: Token name. */
|
|
605
1401
|
name: string;
|
|
606
1402
|
/** Body param: List of access policies assigned to the token. */
|
|
607
|
-
policies:
|
|
1403
|
+
policies: {
|
|
1404
|
+
effect: "allow" | "deny";
|
|
1405
|
+
permissionGroups: {
|
|
1406
|
+
id: string;
|
|
1407
|
+
meta?: {
|
|
1408
|
+
key?: string;
|
|
1409
|
+
value?: string;
|
|
1410
|
+
};
|
|
1411
|
+
}[];
|
|
1412
|
+
resources: Record<string, unknown>;
|
|
1413
|
+
}[];
|
|
608
1414
|
/** Body param: */
|
|
609
1415
|
condition?: {
|
|
610
1416
|
requestIp?: {
|
|
@@ -640,7 +1446,19 @@ export interface CreateTokenResponse {
|
|
|
640
1446
|
/** The time before which the token MUST NOT be accepted for processing. */
|
|
641
1447
|
notBefore?: string | null;
|
|
642
1448
|
/** List of access policies assigned to the token. */
|
|
643
|
-
policies?:
|
|
1449
|
+
policies?: {
|
|
1450
|
+
id: string;
|
|
1451
|
+
effect: "allow" | "deny";
|
|
1452
|
+
permissionGroups: {
|
|
1453
|
+
id: string;
|
|
1454
|
+
meta?: {
|
|
1455
|
+
key?: string | null;
|
|
1456
|
+
value?: string | null;
|
|
1457
|
+
} | null;
|
|
1458
|
+
name?: string | null;
|
|
1459
|
+
}[];
|
|
1460
|
+
resources: Record<string, unknown>;
|
|
1461
|
+
}[] | null;
|
|
644
1462
|
/** Status of the token. */
|
|
645
1463
|
status?: "active" | "disabled" | "expired" | null;
|
|
646
1464
|
/** The token value. */
|
|
@@ -656,7 +1474,17 @@ export interface UpdateTokenRequest {
|
|
|
656
1474
|
/** Body param: Token name. */
|
|
657
1475
|
name: string;
|
|
658
1476
|
/** Body param: List of access policies assigned to the token. */
|
|
659
|
-
policies:
|
|
1477
|
+
policies: {
|
|
1478
|
+
effect: "allow" | "deny";
|
|
1479
|
+
permissionGroups: {
|
|
1480
|
+
id: string;
|
|
1481
|
+
meta?: {
|
|
1482
|
+
key?: string;
|
|
1483
|
+
value?: string;
|
|
1484
|
+
};
|
|
1485
|
+
}[];
|
|
1486
|
+
resources: Record<string, unknown>;
|
|
1487
|
+
}[];
|
|
660
1488
|
/** Body param: */
|
|
661
1489
|
condition?: {
|
|
662
1490
|
requestIp?: {
|
|
@@ -672,8 +1500,45 @@ export interface UpdateTokenRequest {
|
|
|
672
1500
|
status?: "active" | "disabled" | "expired";
|
|
673
1501
|
}
|
|
674
1502
|
export declare const UpdateTokenRequest: Schema.Schema<UpdateTokenRequest>;
|
|
675
|
-
export
|
|
676
|
-
|
|
1503
|
+
export interface UpdateTokenResponse {
|
|
1504
|
+
/** Token identifier tag. */
|
|
1505
|
+
id?: string | null;
|
|
1506
|
+
condition?: {
|
|
1507
|
+
requestIp?: {
|
|
1508
|
+
in?: string[] | null;
|
|
1509
|
+
notIn?: string[] | null;
|
|
1510
|
+
} | null;
|
|
1511
|
+
} | null;
|
|
1512
|
+
/** The expiration time on or after which the JWT MUST NOT be accepted for processing. */
|
|
1513
|
+
expiresOn?: string | null;
|
|
1514
|
+
/** The time on which the token was created. */
|
|
1515
|
+
issuedOn?: string | null;
|
|
1516
|
+
/** Last time the token was used. */
|
|
1517
|
+
lastUsedOn?: string | null;
|
|
1518
|
+
/** Last time the token was modified. */
|
|
1519
|
+
modifiedOn?: string | null;
|
|
1520
|
+
/** Token name. */
|
|
1521
|
+
name?: string | null;
|
|
1522
|
+
/** The time before which the token MUST NOT be accepted for processing. */
|
|
1523
|
+
notBefore?: string | null;
|
|
1524
|
+
/** List of access policies assigned to the token. */
|
|
1525
|
+
policies?: {
|
|
1526
|
+
id: string;
|
|
1527
|
+
effect: "allow" | "deny";
|
|
1528
|
+
permissionGroups: {
|
|
1529
|
+
id: string;
|
|
1530
|
+
meta?: {
|
|
1531
|
+
key?: string | null;
|
|
1532
|
+
value?: string | null;
|
|
1533
|
+
} | null;
|
|
1534
|
+
name?: string | null;
|
|
1535
|
+
}[];
|
|
1536
|
+
resources: Record<string, unknown>;
|
|
1537
|
+
}[] | null;
|
|
1538
|
+
/** Status of the token. */
|
|
1539
|
+
status?: "active" | "disabled" | "expired" | null;
|
|
1540
|
+
}
|
|
1541
|
+
export declare const UpdateTokenResponse: Schema.Schema<UpdateTokenResponse>;
|
|
677
1542
|
export type UpdateTokenError = DefaultErrors | InvalidRoute | MethodNotAllowed;
|
|
678
1543
|
export declare const updateToken: API.OperationMethod<UpdateTokenRequest, UpdateTokenResponse, UpdateTokenError, Credentials | HttpClient.HttpClient>;
|
|
679
1544
|
export interface DeleteTokenRequest {
|
|
@@ -758,8 +1623,8 @@ export interface PutTokenValueRequest {
|
|
|
758
1623
|
body: unknown;
|
|
759
1624
|
}
|
|
760
1625
|
export declare const PutTokenValueRequest: Schema.Schema<PutTokenValueRequest>;
|
|
761
|
-
export type PutTokenValueResponse =
|
|
762
|
-
export declare const PutTokenValueResponse: Schema.Schema<
|
|
1626
|
+
export type PutTokenValueResponse = string;
|
|
1627
|
+
export declare const PutTokenValueResponse: Schema.Schema<string>;
|
|
763
1628
|
export type PutTokenValueError = DefaultErrors | InvalidRoute;
|
|
764
1629
|
export declare const putTokenValue: API.OperationMethod<PutTokenValueRequest, PutTokenValueResponse, PutTokenValueError, Credentials | HttpClient.HttpClient>;
|
|
765
1630
|
export {};
|