@raystack/frontier 0.56.0 → 0.58.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.
@@ -70,7 +70,8 @@ var __async = (__this, __arguments, generator) => {
70
70
  var api_client_exports = {};
71
71
  __export(api_client_exports, {
72
72
  ApiClient: () => ApiClient,
73
- ProtobufNullValue: () => ProtobufNullValue
73
+ ProtobufNullValue: () => ProtobufNullValue,
74
+ V1Beta1ProspectStatus: () => V1Beta1ProspectStatus
74
75
  });
75
76
  module.exports = __toCommonJS(api_client_exports);
76
77
 
@@ -305,6 +306,128 @@ var V1Beta1 = class extends HttpClient {
305
306
  secure: true,
306
307
  format: "json"
307
308
  }, params));
309
+ /**
310
+ * No description
311
+ *
312
+ * @tags Organization
313
+ * @name AdminServiceSearchOrganizationInvoices
314
+ * @summary Search organization invoices
315
+ * @request POST:/v1beta1/admin/organizations/{id}/invoices/search
316
+ * @secure
317
+ */
318
+ this.adminServiceSearchOrganizationInvoices = (id, query, params = {}) => this.request(__spreadValues({
319
+ path: `/v1beta1/admin/organizations/${id}/invoices/search`,
320
+ method: "POST",
321
+ body: query,
322
+ secure: true,
323
+ format: "json"
324
+ }, params));
325
+ /**
326
+ * @description Export organization projects with user IDs
327
+ *
328
+ * @tags Organization
329
+ * @name AdminServiceExportOrganizationProjects
330
+ * @summary Export organization projects
331
+ * @request GET:/v1beta1/admin/organizations/{id}/projects/export
332
+ * @secure
333
+ */
334
+ this.adminServiceExportOrganizationProjects = (id, params = {}) => this.request(__spreadValues({
335
+ path: `/v1beta1/admin/organizations/${id}/projects/export`,
336
+ method: "GET",
337
+ secure: true
338
+ }, params));
339
+ /**
340
+ * No description
341
+ *
342
+ * @tags Organization
343
+ * @name AdminServiceSearchOrganizationProjects
344
+ * @summary Search organization projects
345
+ * @request POST:/v1beta1/admin/organizations/{id}/projects/search
346
+ * @secure
347
+ */
348
+ this.adminServiceSearchOrganizationProjects = (id, query, params = {}) => this.request(__spreadValues({
349
+ path: `/v1beta1/admin/organizations/${id}/projects/search`,
350
+ method: "POST",
351
+ body: query,
352
+ secure: true,
353
+ format: "json"
354
+ }, params));
355
+ /**
356
+ * No description
357
+ *
358
+ * @tags Organization
359
+ * @name AdminServiceSearchOrganizationServiceUserCredentials
360
+ * @summary Search organization service user credentials
361
+ * @request POST:/v1beta1/admin/organizations/{id}/serviceuser_credentials/search
362
+ * @secure
363
+ */
364
+ this.adminServiceSearchOrganizationServiceUserCredentials = (id, query, params = {}) => this.request(__spreadValues({
365
+ path: `/v1beta1/admin/organizations/${id}/serviceuser_credentials/search`,
366
+ method: "POST",
367
+ body: query,
368
+ secure: true,
369
+ format: "json"
370
+ }, params));
371
+ /**
372
+ * @description Export organization tokens
373
+ *
374
+ * @tags Organization
375
+ * @name AdminServiceExportOrganizationTokens
376
+ * @summary Export organization tokens
377
+ * @request GET:/v1beta1/admin/organizations/{id}/tokens/export
378
+ * @secure
379
+ */
380
+ this.adminServiceExportOrganizationTokens = (id, params = {}) => this.request(__spreadValues({
381
+ path: `/v1beta1/admin/organizations/${id}/tokens/export`,
382
+ method: "GET",
383
+ secure: true
384
+ }, params));
385
+ /**
386
+ * No description
387
+ *
388
+ * @tags Organization
389
+ * @name AdminServiceSearchOrganizationTokens
390
+ * @summary Search organization tokens
391
+ * @request POST:/v1beta1/admin/organizations/{id}/tokens/search
392
+ * @secure
393
+ */
394
+ this.adminServiceSearchOrganizationTokens = (id, query, params = {}) => this.request(__spreadValues({
395
+ path: `/v1beta1/admin/organizations/${id}/tokens/search`,
396
+ method: "POST",
397
+ body: query,
398
+ secure: true,
399
+ format: "json"
400
+ }, params));
401
+ /**
402
+ * @description Export organization user their role details
403
+ *
404
+ * @tags Organization
405
+ * @name AdminServiceExportOrganizationUsers
406
+ * @summary Export organization users
407
+ * @request GET:/v1beta1/admin/organizations/{id}/users/export
408
+ * @secure
409
+ */
410
+ this.adminServiceExportOrganizationUsers = (id, params = {}) => this.request(__spreadValues({
411
+ path: `/v1beta1/admin/organizations/${id}/users/export`,
412
+ method: "GET",
413
+ secure: true
414
+ }, params));
415
+ /**
416
+ * No description
417
+ *
418
+ * @tags Organization
419
+ * @name AdminServiceSearchOrganizationUsers
420
+ * @summary Search organization users
421
+ * @request POST:/v1beta1/admin/organizations/{id}/users/search
422
+ * @secure
423
+ */
424
+ this.adminServiceSearchOrganizationUsers = (id, query, params = {}) => this.request(__spreadValues({
425
+ path: `/v1beta1/admin/organizations/${id}/users/search`,
426
+ method: "POST",
427
+ body: query,
428
+ secure: true,
429
+ format: "json"
430
+ }, params));
308
431
  /**
309
432
  * @description Checkout a product to buy it one time or start a subscription plan on a billing account manually. It bypasses billing engine.
310
433
  *
@@ -390,6 +513,51 @@ var V1Beta1 = class extends HttpClient {
390
513
  type: "application/json" /* Json */,
391
514
  format: "json"
392
515
  }, params));
516
+ /**
517
+ * @description Export organization with demographic properties and billing plan details
518
+ *
519
+ * @tags Organization
520
+ * @name AdminServiceExportOrganizations
521
+ * @summary Export organizations
522
+ * @request GET:/v1beta1/admin/organizations/export
523
+ * @secure
524
+ */
525
+ this.adminServiceExportOrganizations = (params = {}) => this.request(__spreadValues({
526
+ path: `/v1beta1/admin/organizations/export`,
527
+ method: "GET",
528
+ secure: true
529
+ }, params));
530
+ /**
531
+ * @description List KYC information of all organization
532
+ *
533
+ * @tags OrganizationKyc
534
+ * @name AdminServiceListOrganizationsKyc
535
+ * @summary List KYC information of all organizations
536
+ * @request GET:/v1beta1/admin/organizations/kyc
537
+ * @secure
538
+ */
539
+ this.adminServiceListOrganizationsKyc = (params = {}) => this.request(__spreadValues({
540
+ path: `/v1beta1/admin/organizations/kyc`,
541
+ method: "GET",
542
+ secure: true,
543
+ format: "json"
544
+ }, params));
545
+ /**
546
+ * @description Search organization based on org demographic properties and billing plan details
547
+ *
548
+ * @tags Organization
549
+ * @name AdminServiceSearchOrganizations
550
+ * @summary Search organizations
551
+ * @request POST:/v1beta1/admin/organizations/search
552
+ * @secure
553
+ */
554
+ this.adminServiceSearchOrganizations = (query, params = {}) => this.request(__spreadValues({
555
+ path: `/v1beta1/admin/organizations/search`,
556
+ method: "POST",
557
+ body: query,
558
+ secure: true,
559
+ format: "json"
560
+ }, params));
393
561
  /**
394
562
  * @description Lists all the users added to the platform.
395
563
  *
@@ -455,6 +623,102 @@ var V1Beta1 = class extends HttpClient {
455
623
  secure: true,
456
624
  format: "json"
457
625
  }, params));
626
+ /**
627
+ * No description
628
+ *
629
+ * @tags Project
630
+ * @name AdminServiceSearchProjectUsers
631
+ * @summary Search Project users
632
+ * @request POST:/v1beta1/admin/projects/{id}/users/search
633
+ * @secure
634
+ */
635
+ this.adminServiceSearchProjectUsers = (id, query, params = {}) => this.request(__spreadValues({
636
+ path: `/v1beta1/admin/projects/${id}/users/search`,
637
+ method: "POST",
638
+ body: query,
639
+ secure: true,
640
+ format: "json"
641
+ }, params));
642
+ /**
643
+ * @description Create prospect for given email and activity.
644
+ *
645
+ * @tags Prospect
646
+ * @name AdminServiceCreateProspect
647
+ * @summary Create prospect
648
+ * @request POST:/v1beta1/admin/prospects
649
+ * @secure
650
+ */
651
+ this.adminServiceCreateProspect = (body, params = {}) => this.request(__spreadValues({
652
+ path: `/v1beta1/admin/prospects`,
653
+ method: "POST",
654
+ body,
655
+ secure: true,
656
+ type: "application/json" /* Json */,
657
+ format: "json"
658
+ }, params));
659
+ /**
660
+ * @description Get prospect by ID
661
+ *
662
+ * @tags Prospect
663
+ * @name AdminServiceGetProspect
664
+ * @summary Get prospect
665
+ * @request GET:/v1beta1/admin/prospects/{id}
666
+ * @secure
667
+ */
668
+ this.adminServiceGetProspect = (id, params = {}) => this.request(__spreadValues({
669
+ path: `/v1beta1/admin/prospects/${id}`,
670
+ method: "GET",
671
+ secure: true,
672
+ format: "json"
673
+ }, params));
674
+ /**
675
+ * @description Delete prospect for given ID
676
+ *
677
+ * @tags Prospect
678
+ * @name AdminServiceDeleteProspect
679
+ * @summary Delete prospect
680
+ * @request DELETE:/v1beta1/admin/prospects/{id}
681
+ * @secure
682
+ */
683
+ this.adminServiceDeleteProspect = (id, params = {}) => this.request(__spreadValues({
684
+ path: `/v1beta1/admin/prospects/${id}`,
685
+ method: "DELETE",
686
+ secure: true,
687
+ format: "json"
688
+ }, params));
689
+ /**
690
+ * @description Update prospect for given ID
691
+ *
692
+ * @tags Prospect
693
+ * @name AdminServiceUpdateProspect
694
+ * @summary Update prospect
695
+ * @request PUT:/v1beta1/admin/prospects/{id}
696
+ * @secure
697
+ */
698
+ this.adminServiceUpdateProspect = (id, body, params = {}) => this.request(__spreadValues({
699
+ path: `/v1beta1/admin/prospects/${id}`,
700
+ method: "PUT",
701
+ body,
702
+ secure: true,
703
+ type: "application/json" /* Json */,
704
+ format: "json"
705
+ }, params));
706
+ /**
707
+ * @description List prospects and supports filters, sorting and pagination.
708
+ *
709
+ * @tags Prospect
710
+ * @name AdminServiceListProspects
711
+ * @summary List prospects
712
+ * @request POST:/v1beta1/admin/prospects/list
713
+ * @secure
714
+ */
715
+ this.adminServiceListProspects = (query, params = {}) => this.request(__spreadValues({
716
+ path: `/v1beta1/admin/prospects/list`,
717
+ method: "POST",
718
+ body: query,
719
+ secure: true,
720
+ format: "json"
721
+ }, params));
458
722
  /**
459
723
  * No description
460
724
  *
@@ -1471,6 +1735,21 @@ var V1Beta1 = class extends HttpClient {
1471
1735
  secure: true,
1472
1736
  format: "json"
1473
1737
  }, params));
1738
+ /**
1739
+ * @description Sum of amount of debited transactions including refunds
1740
+ *
1741
+ * @tags Transaction
1742
+ * @name FrontierServiceTotalDebitedTransactions
1743
+ * @summary Sum of amount of debited transactions including refunds
1744
+ * @request GET:/v1beta1/organizations/{org_id}/billing/{billing_id}/debited_transactions_total
1745
+ * @secure
1746
+ */
1747
+ this.frontierServiceTotalDebitedTransactions = (orgId, billingId, params = {}) => this.request(__spreadValues({
1748
+ path: `/v1beta1/organizations/${orgId}/billing/${billingId}/debited_transactions_total`,
1749
+ method: "GET",
1750
+ secure: true,
1751
+ format: "json"
1752
+ }, params));
1474
1753
  /**
1475
1754
  * @description List all invoices of a billing account.
1476
1755
  *
@@ -3105,6 +3384,23 @@ var V1Beta1 = class extends HttpClient {
3105
3384
  secure: true,
3106
3385
  format: "json"
3107
3386
  }, params));
3387
+ /**
3388
+ * @description Create prospect for given email and activity. Available for public access.
3389
+ *
3390
+ * @tags Prospect
3391
+ * @name FrontierServiceCreateProspectPublic
3392
+ * @summary Create prospect
3393
+ * @request POST:/v1beta1/prospects
3394
+ * @secure
3395
+ */
3396
+ this.frontierServiceCreateProspectPublic = (body, params = {}) => this.request(__spreadValues({
3397
+ path: `/v1beta1/prospects`,
3398
+ method: "POST",
3399
+ body,
3400
+ secure: true,
3401
+ type: "application/json" /* Json */,
3402
+ format: "json"
3403
+ }, params));
3108
3404
  /**
3109
3405
  * No description
3110
3406
  *
@@ -3566,11 +3862,18 @@ var ProtobufNullValue = /* @__PURE__ */ ((ProtobufNullValue2) => {
3566
3862
  ProtobufNullValue2["NULL_VALUE"] = "NULL_VALUE";
3567
3863
  return ProtobufNullValue2;
3568
3864
  })(ProtobufNullValue || {});
3865
+ var V1Beta1ProspectStatus = /* @__PURE__ */ ((V1Beta1ProspectStatus2) => {
3866
+ V1Beta1ProspectStatus2["STATUS_UNSPECIFIED"] = "STATUS_UNSPECIFIED";
3867
+ V1Beta1ProspectStatus2["STATUS_UNSUBSCRIBED"] = "STATUS_UNSUBSCRIBED";
3868
+ V1Beta1ProspectStatus2["STATUS_SUBSCRIBED"] = "STATUS_SUBSCRIBED";
3869
+ return V1Beta1ProspectStatus2;
3870
+ })(V1Beta1ProspectStatus || {});
3569
3871
 
3570
3872
  // api-client/index.ts
3571
3873
  var ApiClient = V1Beta1;
3572
3874
  // Annotate the CommonJS export names for ESM import in node:
3573
3875
  0 && (module.exports = {
3574
3876
  ApiClient,
3575
- ProtobufNullValue
3877
+ ProtobufNullValue,
3878
+ V1Beta1ProspectStatus
3576
3879
  });
@@ -281,6 +281,128 @@ var V1Beta1 = class extends HttpClient {
281
281
  secure: true,
282
282
  format: "json"
283
283
  }, params));
284
+ /**
285
+ * No description
286
+ *
287
+ * @tags Organization
288
+ * @name AdminServiceSearchOrganizationInvoices
289
+ * @summary Search organization invoices
290
+ * @request POST:/v1beta1/admin/organizations/{id}/invoices/search
291
+ * @secure
292
+ */
293
+ this.adminServiceSearchOrganizationInvoices = (id, query, params = {}) => this.request(__spreadValues({
294
+ path: `/v1beta1/admin/organizations/${id}/invoices/search`,
295
+ method: "POST",
296
+ body: query,
297
+ secure: true,
298
+ format: "json"
299
+ }, params));
300
+ /**
301
+ * @description Export organization projects with user IDs
302
+ *
303
+ * @tags Organization
304
+ * @name AdminServiceExportOrganizationProjects
305
+ * @summary Export organization projects
306
+ * @request GET:/v1beta1/admin/organizations/{id}/projects/export
307
+ * @secure
308
+ */
309
+ this.adminServiceExportOrganizationProjects = (id, params = {}) => this.request(__spreadValues({
310
+ path: `/v1beta1/admin/organizations/${id}/projects/export`,
311
+ method: "GET",
312
+ secure: true
313
+ }, params));
314
+ /**
315
+ * No description
316
+ *
317
+ * @tags Organization
318
+ * @name AdminServiceSearchOrganizationProjects
319
+ * @summary Search organization projects
320
+ * @request POST:/v1beta1/admin/organizations/{id}/projects/search
321
+ * @secure
322
+ */
323
+ this.adminServiceSearchOrganizationProjects = (id, query, params = {}) => this.request(__spreadValues({
324
+ path: `/v1beta1/admin/organizations/${id}/projects/search`,
325
+ method: "POST",
326
+ body: query,
327
+ secure: true,
328
+ format: "json"
329
+ }, params));
330
+ /**
331
+ * No description
332
+ *
333
+ * @tags Organization
334
+ * @name AdminServiceSearchOrganizationServiceUserCredentials
335
+ * @summary Search organization service user credentials
336
+ * @request POST:/v1beta1/admin/organizations/{id}/serviceuser_credentials/search
337
+ * @secure
338
+ */
339
+ this.adminServiceSearchOrganizationServiceUserCredentials = (id, query, params = {}) => this.request(__spreadValues({
340
+ path: `/v1beta1/admin/organizations/${id}/serviceuser_credentials/search`,
341
+ method: "POST",
342
+ body: query,
343
+ secure: true,
344
+ format: "json"
345
+ }, params));
346
+ /**
347
+ * @description Export organization tokens
348
+ *
349
+ * @tags Organization
350
+ * @name AdminServiceExportOrganizationTokens
351
+ * @summary Export organization tokens
352
+ * @request GET:/v1beta1/admin/organizations/{id}/tokens/export
353
+ * @secure
354
+ */
355
+ this.adminServiceExportOrganizationTokens = (id, params = {}) => this.request(__spreadValues({
356
+ path: `/v1beta1/admin/organizations/${id}/tokens/export`,
357
+ method: "GET",
358
+ secure: true
359
+ }, params));
360
+ /**
361
+ * No description
362
+ *
363
+ * @tags Organization
364
+ * @name AdminServiceSearchOrganizationTokens
365
+ * @summary Search organization tokens
366
+ * @request POST:/v1beta1/admin/organizations/{id}/tokens/search
367
+ * @secure
368
+ */
369
+ this.adminServiceSearchOrganizationTokens = (id, query, params = {}) => this.request(__spreadValues({
370
+ path: `/v1beta1/admin/organizations/${id}/tokens/search`,
371
+ method: "POST",
372
+ body: query,
373
+ secure: true,
374
+ format: "json"
375
+ }, params));
376
+ /**
377
+ * @description Export organization user their role details
378
+ *
379
+ * @tags Organization
380
+ * @name AdminServiceExportOrganizationUsers
381
+ * @summary Export organization users
382
+ * @request GET:/v1beta1/admin/organizations/{id}/users/export
383
+ * @secure
384
+ */
385
+ this.adminServiceExportOrganizationUsers = (id, params = {}) => this.request(__spreadValues({
386
+ path: `/v1beta1/admin/organizations/${id}/users/export`,
387
+ method: "GET",
388
+ secure: true
389
+ }, params));
390
+ /**
391
+ * No description
392
+ *
393
+ * @tags Organization
394
+ * @name AdminServiceSearchOrganizationUsers
395
+ * @summary Search organization users
396
+ * @request POST:/v1beta1/admin/organizations/{id}/users/search
397
+ * @secure
398
+ */
399
+ this.adminServiceSearchOrganizationUsers = (id, query, params = {}) => this.request(__spreadValues({
400
+ path: `/v1beta1/admin/organizations/${id}/users/search`,
401
+ method: "POST",
402
+ body: query,
403
+ secure: true,
404
+ format: "json"
405
+ }, params));
284
406
  /**
285
407
  * @description Checkout a product to buy it one time or start a subscription plan on a billing account manually. It bypasses billing engine.
286
408
  *
@@ -366,6 +488,51 @@ var V1Beta1 = class extends HttpClient {
366
488
  type: "application/json" /* Json */,
367
489
  format: "json"
368
490
  }, params));
491
+ /**
492
+ * @description Export organization with demographic properties and billing plan details
493
+ *
494
+ * @tags Organization
495
+ * @name AdminServiceExportOrganizations
496
+ * @summary Export organizations
497
+ * @request GET:/v1beta1/admin/organizations/export
498
+ * @secure
499
+ */
500
+ this.adminServiceExportOrganizations = (params = {}) => this.request(__spreadValues({
501
+ path: `/v1beta1/admin/organizations/export`,
502
+ method: "GET",
503
+ secure: true
504
+ }, params));
505
+ /**
506
+ * @description List KYC information of all organization
507
+ *
508
+ * @tags OrganizationKyc
509
+ * @name AdminServiceListOrganizationsKyc
510
+ * @summary List KYC information of all organizations
511
+ * @request GET:/v1beta1/admin/organizations/kyc
512
+ * @secure
513
+ */
514
+ this.adminServiceListOrganizationsKyc = (params = {}) => this.request(__spreadValues({
515
+ path: `/v1beta1/admin/organizations/kyc`,
516
+ method: "GET",
517
+ secure: true,
518
+ format: "json"
519
+ }, params));
520
+ /**
521
+ * @description Search organization based on org demographic properties and billing plan details
522
+ *
523
+ * @tags Organization
524
+ * @name AdminServiceSearchOrganizations
525
+ * @summary Search organizations
526
+ * @request POST:/v1beta1/admin/organizations/search
527
+ * @secure
528
+ */
529
+ this.adminServiceSearchOrganizations = (query, params = {}) => this.request(__spreadValues({
530
+ path: `/v1beta1/admin/organizations/search`,
531
+ method: "POST",
532
+ body: query,
533
+ secure: true,
534
+ format: "json"
535
+ }, params));
369
536
  /**
370
537
  * @description Lists all the users added to the platform.
371
538
  *
@@ -431,6 +598,102 @@ var V1Beta1 = class extends HttpClient {
431
598
  secure: true,
432
599
  format: "json"
433
600
  }, params));
601
+ /**
602
+ * No description
603
+ *
604
+ * @tags Project
605
+ * @name AdminServiceSearchProjectUsers
606
+ * @summary Search Project users
607
+ * @request POST:/v1beta1/admin/projects/{id}/users/search
608
+ * @secure
609
+ */
610
+ this.adminServiceSearchProjectUsers = (id, query, params = {}) => this.request(__spreadValues({
611
+ path: `/v1beta1/admin/projects/${id}/users/search`,
612
+ method: "POST",
613
+ body: query,
614
+ secure: true,
615
+ format: "json"
616
+ }, params));
617
+ /**
618
+ * @description Create prospect for given email and activity.
619
+ *
620
+ * @tags Prospect
621
+ * @name AdminServiceCreateProspect
622
+ * @summary Create prospect
623
+ * @request POST:/v1beta1/admin/prospects
624
+ * @secure
625
+ */
626
+ this.adminServiceCreateProspect = (body, params = {}) => this.request(__spreadValues({
627
+ path: `/v1beta1/admin/prospects`,
628
+ method: "POST",
629
+ body,
630
+ secure: true,
631
+ type: "application/json" /* Json */,
632
+ format: "json"
633
+ }, params));
634
+ /**
635
+ * @description Get prospect by ID
636
+ *
637
+ * @tags Prospect
638
+ * @name AdminServiceGetProspect
639
+ * @summary Get prospect
640
+ * @request GET:/v1beta1/admin/prospects/{id}
641
+ * @secure
642
+ */
643
+ this.adminServiceGetProspect = (id, params = {}) => this.request(__spreadValues({
644
+ path: `/v1beta1/admin/prospects/${id}`,
645
+ method: "GET",
646
+ secure: true,
647
+ format: "json"
648
+ }, params));
649
+ /**
650
+ * @description Delete prospect for given ID
651
+ *
652
+ * @tags Prospect
653
+ * @name AdminServiceDeleteProspect
654
+ * @summary Delete prospect
655
+ * @request DELETE:/v1beta1/admin/prospects/{id}
656
+ * @secure
657
+ */
658
+ this.adminServiceDeleteProspect = (id, params = {}) => this.request(__spreadValues({
659
+ path: `/v1beta1/admin/prospects/${id}`,
660
+ method: "DELETE",
661
+ secure: true,
662
+ format: "json"
663
+ }, params));
664
+ /**
665
+ * @description Update prospect for given ID
666
+ *
667
+ * @tags Prospect
668
+ * @name AdminServiceUpdateProspect
669
+ * @summary Update prospect
670
+ * @request PUT:/v1beta1/admin/prospects/{id}
671
+ * @secure
672
+ */
673
+ this.adminServiceUpdateProspect = (id, body, params = {}) => this.request(__spreadValues({
674
+ path: `/v1beta1/admin/prospects/${id}`,
675
+ method: "PUT",
676
+ body,
677
+ secure: true,
678
+ type: "application/json" /* Json */,
679
+ format: "json"
680
+ }, params));
681
+ /**
682
+ * @description List prospects and supports filters, sorting and pagination.
683
+ *
684
+ * @tags Prospect
685
+ * @name AdminServiceListProspects
686
+ * @summary List prospects
687
+ * @request POST:/v1beta1/admin/prospects/list
688
+ * @secure
689
+ */
690
+ this.adminServiceListProspects = (query, params = {}) => this.request(__spreadValues({
691
+ path: `/v1beta1/admin/prospects/list`,
692
+ method: "POST",
693
+ body: query,
694
+ secure: true,
695
+ format: "json"
696
+ }, params));
434
697
  /**
435
698
  * No description
436
699
  *
@@ -1447,6 +1710,21 @@ var V1Beta1 = class extends HttpClient {
1447
1710
  secure: true,
1448
1711
  format: "json"
1449
1712
  }, params));
1713
+ /**
1714
+ * @description Sum of amount of debited transactions including refunds
1715
+ *
1716
+ * @tags Transaction
1717
+ * @name FrontierServiceTotalDebitedTransactions
1718
+ * @summary Sum of amount of debited transactions including refunds
1719
+ * @request GET:/v1beta1/organizations/{org_id}/billing/{billing_id}/debited_transactions_total
1720
+ * @secure
1721
+ */
1722
+ this.frontierServiceTotalDebitedTransactions = (orgId, billingId, params = {}) => this.request(__spreadValues({
1723
+ path: `/v1beta1/organizations/${orgId}/billing/${billingId}/debited_transactions_total`,
1724
+ method: "GET",
1725
+ secure: true,
1726
+ format: "json"
1727
+ }, params));
1450
1728
  /**
1451
1729
  * @description List all invoices of a billing account.
1452
1730
  *
@@ -3081,6 +3359,23 @@ var V1Beta1 = class extends HttpClient {
3081
3359
  secure: true,
3082
3360
  format: "json"
3083
3361
  }, params));
3362
+ /**
3363
+ * @description Create prospect for given email and activity. Available for public access.
3364
+ *
3365
+ * @tags Prospect
3366
+ * @name FrontierServiceCreateProspectPublic
3367
+ * @summary Create prospect
3368
+ * @request POST:/v1beta1/prospects
3369
+ * @secure
3370
+ */
3371
+ this.frontierServiceCreateProspectPublic = (body, params = {}) => this.request(__spreadValues({
3372
+ path: `/v1beta1/prospects`,
3373
+ method: "POST",
3374
+ body,
3375
+ secure: true,
3376
+ type: "application/json" /* Json */,
3377
+ format: "json"
3378
+ }, params));
3084
3379
  /**
3085
3380
  * No description
3086
3381
  *
@@ -3542,10 +3837,17 @@ var ProtobufNullValue = /* @__PURE__ */ ((ProtobufNullValue2) => {
3542
3837
  ProtobufNullValue2["NULL_VALUE"] = "NULL_VALUE";
3543
3838
  return ProtobufNullValue2;
3544
3839
  })(ProtobufNullValue || {});
3840
+ var V1Beta1ProspectStatus = /* @__PURE__ */ ((V1Beta1ProspectStatus2) => {
3841
+ V1Beta1ProspectStatus2["STATUS_UNSPECIFIED"] = "STATUS_UNSPECIFIED";
3842
+ V1Beta1ProspectStatus2["STATUS_UNSUBSCRIBED"] = "STATUS_UNSUBSCRIBED";
3843
+ V1Beta1ProspectStatus2["STATUS_SUBSCRIBED"] = "STATUS_SUBSCRIBED";
3844
+ return V1Beta1ProspectStatus2;
3845
+ })(V1Beta1ProspectStatus || {});
3545
3846
 
3546
3847
  // api-client/index.ts
3547
3848
  var ApiClient = V1Beta1;
3548
3849
  export {
3549
3850
  ApiClient,
3550
- ProtobufNullValue
3851
+ ProtobufNullValue,
3852
+ V1Beta1ProspectStatus
3551
3853
  };