@raystack/frontier 0.65.0 → 0.67.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api-client/dist/index.d.ts +402 -128
- package/api-client/dist/index.js +257 -18
- package/api-client/dist/index.mjs +257 -18
- package/dist/index.d.ts +402 -128
- package/dist/index.js +257 -18
- package/dist/index.mjs +257 -18
- package/package.json +24 -23
- package/react/dist/index.d.ts +396 -129
- package/react/dist/index.js +4490 -4272
- package/react/dist/index.mjs +4589 -4177
|
@@ -68,6 +68,7 @@ var HttpClient = class {
|
|
|
68
68
|
};
|
|
69
69
|
this.contentFormatters = {
|
|
70
70
|
["application/json" /* Json */]: (input) => input !== null && (typeof input === "object" || typeof input === "string") ? JSON.stringify(input) : input,
|
|
71
|
+
["application/vnd.api+json" /* JsonApi */]: (input) => input !== null && (typeof input === "object" || typeof input === "string") ? JSON.stringify(input) : input,
|
|
71
72
|
["text/plain" /* Text */]: (input) => input !== null && typeof input !== "string" ? JSON.stringify(input) : input,
|
|
72
73
|
["multipart/form-data" /* FormData */]: (input) => Object.keys(input || {}).reduce((formData, key) => {
|
|
73
74
|
const property = input[key];
|
|
@@ -123,11 +124,14 @@ var HttpClient = class {
|
|
|
123
124
|
const queryString = query && this.toQueryString(query);
|
|
124
125
|
const payloadFormatter = this.contentFormatters[type || "application/json" /* Json */];
|
|
125
126
|
const responseFormat = format || requestParams.format;
|
|
126
|
-
return this.customFetch(
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
127
|
+
return this.customFetch(
|
|
128
|
+
`${baseUrl || this.baseUrl || ""}${path}${queryString ? `?${queryString}` : ""}`,
|
|
129
|
+
__spreadProps(__spreadValues({}, requestParams), {
|
|
130
|
+
headers: __spreadValues(__spreadValues({}, requestParams.headers || {}), type && type !== "multipart/form-data" /* FormData */ ? { "Content-Type": type } : {}),
|
|
131
|
+
signal: (cancelToken ? this.createAbortSignal(cancelToken) : requestParams.signal) || null,
|
|
132
|
+
body: typeof body === "undefined" || body === null ? null : payloadFormatter(body)
|
|
133
|
+
})
|
|
134
|
+
).then((response) => __async(this, null, function* () {
|
|
131
135
|
const r = response.clone();
|
|
132
136
|
r.data = null;
|
|
133
137
|
r.error = null;
|
|
@@ -165,8 +169,12 @@ var HttpClient = class {
|
|
|
165
169
|
}
|
|
166
170
|
toQueryString(rawQuery) {
|
|
167
171
|
const query = rawQuery || {};
|
|
168
|
-
const keys = Object.keys(query).filter(
|
|
169
|
-
|
|
172
|
+
const keys = Object.keys(query).filter(
|
|
173
|
+
(key) => "undefined" !== typeof query[key]
|
|
174
|
+
);
|
|
175
|
+
return keys.map(
|
|
176
|
+
(key) => Array.isArray(query[key]) ? this.addArrayQueryParam(query, key) : this.addQueryParam(query, key)
|
|
177
|
+
).join("&");
|
|
170
178
|
}
|
|
171
179
|
addQueryParams(rawQuery) {
|
|
172
180
|
const queryString = this.toQueryString(rawQuery);
|
|
@@ -265,6 +273,23 @@ var V1Beta1 = class extends HttpClient {
|
|
|
265
273
|
secure: true,
|
|
266
274
|
format: "json"
|
|
267
275
|
}, params));
|
|
276
|
+
/**
|
|
277
|
+
* No description
|
|
278
|
+
*
|
|
279
|
+
* @tags invoice
|
|
280
|
+
* @name AdminServiceSearchInvoices
|
|
281
|
+
* @summary Search invoices across all organizations
|
|
282
|
+
* @request POST:/v1beta1/admin/invoices/search
|
|
283
|
+
* @secure
|
|
284
|
+
*/
|
|
285
|
+
this.adminServiceSearchInvoices = (query, params = {}) => this.request(__spreadValues({
|
|
286
|
+
path: `/v1beta1/admin/invoices/search`,
|
|
287
|
+
method: "POST",
|
|
288
|
+
body: query,
|
|
289
|
+
secure: true,
|
|
290
|
+
type: "application/json" /* Json */,
|
|
291
|
+
format: "json"
|
|
292
|
+
}, params));
|
|
268
293
|
/**
|
|
269
294
|
* @description Lists all the organizations in a Frontier instance. It can be filtered by user and state.
|
|
270
295
|
*
|
|
@@ -281,6 +306,23 @@ var V1Beta1 = class extends HttpClient {
|
|
|
281
306
|
secure: true,
|
|
282
307
|
format: "json"
|
|
283
308
|
}, params));
|
|
309
|
+
/**
|
|
310
|
+
* No description
|
|
311
|
+
*
|
|
312
|
+
* @tags Organization
|
|
313
|
+
* @name AdminServiceAdminCreateOrganization
|
|
314
|
+
* @summary Create organization as superadmin
|
|
315
|
+
* @request POST:/v1beta1/admin/organizations
|
|
316
|
+
* @secure
|
|
317
|
+
*/
|
|
318
|
+
this.adminServiceAdminCreateOrganization = (body, params = {}) => this.request(__spreadValues({
|
|
319
|
+
path: `/v1beta1/admin/organizations`,
|
|
320
|
+
method: "POST",
|
|
321
|
+
body,
|
|
322
|
+
secure: true,
|
|
323
|
+
type: "application/json" /* Json */,
|
|
324
|
+
format: "json"
|
|
325
|
+
}, params));
|
|
284
326
|
/**
|
|
285
327
|
* No description
|
|
286
328
|
*
|
|
@@ -295,6 +337,7 @@ var V1Beta1 = class extends HttpClient {
|
|
|
295
337
|
method: "POST",
|
|
296
338
|
body: query,
|
|
297
339
|
secure: true,
|
|
340
|
+
type: "application/json" /* Json */,
|
|
298
341
|
format: "json"
|
|
299
342
|
}, params));
|
|
300
343
|
/**
|
|
@@ -325,6 +368,7 @@ var V1Beta1 = class extends HttpClient {
|
|
|
325
368
|
method: "POST",
|
|
326
369
|
body: query,
|
|
327
370
|
secure: true,
|
|
371
|
+
type: "application/json" /* Json */,
|
|
328
372
|
format: "json"
|
|
329
373
|
}, params));
|
|
330
374
|
/**
|
|
@@ -341,6 +385,24 @@ var V1Beta1 = class extends HttpClient {
|
|
|
341
385
|
method: "POST",
|
|
342
386
|
body: query,
|
|
343
387
|
secure: true,
|
|
388
|
+
type: "application/json" /* Json */,
|
|
389
|
+
format: "json"
|
|
390
|
+
}, params));
|
|
391
|
+
/**
|
|
392
|
+
* No description
|
|
393
|
+
*
|
|
394
|
+
* @tags Organization
|
|
395
|
+
* @name AdminServiceSearchOrganizationServiceUsers
|
|
396
|
+
* @summary Search organization service users
|
|
397
|
+
* @request POST:/v1beta1/admin/organizations/{id}/serviceusers/search
|
|
398
|
+
* @secure
|
|
399
|
+
*/
|
|
400
|
+
this.adminServiceSearchOrganizationServiceUsers = (id, query, params = {}) => this.request(__spreadValues({
|
|
401
|
+
path: `/v1beta1/admin/organizations/${id}/serviceusers/search`,
|
|
402
|
+
method: "POST",
|
|
403
|
+
body: query,
|
|
404
|
+
secure: true,
|
|
405
|
+
type: "application/json" /* Json */,
|
|
344
406
|
format: "json"
|
|
345
407
|
}, params));
|
|
346
408
|
/**
|
|
@@ -371,6 +433,7 @@ var V1Beta1 = class extends HttpClient {
|
|
|
371
433
|
method: "POST",
|
|
372
434
|
body: query,
|
|
373
435
|
secure: true,
|
|
436
|
+
type: "application/json" /* Json */,
|
|
374
437
|
format: "json"
|
|
375
438
|
}, params));
|
|
376
439
|
/**
|
|
@@ -401,6 +464,7 @@ var V1Beta1 = class extends HttpClient {
|
|
|
401
464
|
method: "POST",
|
|
402
465
|
body: query,
|
|
403
466
|
secure: true,
|
|
467
|
+
type: "application/json" /* Json */,
|
|
404
468
|
format: "json"
|
|
405
469
|
}, params));
|
|
406
470
|
/**
|
|
@@ -437,6 +501,38 @@ var V1Beta1 = class extends HttpClient {
|
|
|
437
501
|
type: "application/json" /* Json */,
|
|
438
502
|
format: "json"
|
|
439
503
|
}, params));
|
|
504
|
+
/**
|
|
505
|
+
* @description Get billing account details that can be updated.
|
|
506
|
+
*
|
|
507
|
+
* @tags Billing
|
|
508
|
+
* @name AdminServiceGetBillingAccountDetails
|
|
509
|
+
* @summary Get billing account details
|
|
510
|
+
* @request GET:/v1beta1/admin/organizations/{org_id}/billing/{id}/details
|
|
511
|
+
* @secure
|
|
512
|
+
*/
|
|
513
|
+
this.adminServiceGetBillingAccountDetails = (orgId, id, params = {}) => this.request(__spreadValues({
|
|
514
|
+
path: `/v1beta1/admin/organizations/${orgId}/billing/${id}/details`,
|
|
515
|
+
method: "GET",
|
|
516
|
+
secure: true,
|
|
517
|
+
format: "json"
|
|
518
|
+
}, params));
|
|
519
|
+
/**
|
|
520
|
+
* @description Update billing account details.
|
|
521
|
+
*
|
|
522
|
+
* @tags Billing
|
|
523
|
+
* @name AdminServiceUpdateBillingAccountDetails
|
|
524
|
+
* @summary Update billing account details
|
|
525
|
+
* @request PUT:/v1beta1/admin/organizations/{org_id}/billing/{id}/details
|
|
526
|
+
* @secure
|
|
527
|
+
*/
|
|
528
|
+
this.adminServiceUpdateBillingAccountDetails = (orgId, id, body, params = {}) => this.request(__spreadValues({
|
|
529
|
+
path: `/v1beta1/admin/organizations/${orgId}/billing/${id}/details`,
|
|
530
|
+
method: "PUT",
|
|
531
|
+
body,
|
|
532
|
+
secure: true,
|
|
533
|
+
type: "application/json" /* Json */,
|
|
534
|
+
format: "json"
|
|
535
|
+
}, params));
|
|
440
536
|
/**
|
|
441
537
|
* @description Update billing account limits.
|
|
442
538
|
*
|
|
@@ -444,6 +540,7 @@ var V1Beta1 = class extends HttpClient {
|
|
|
444
540
|
* @name AdminServiceUpdateBillingAccountLimits
|
|
445
541
|
* @summary Update billing account limits
|
|
446
542
|
* @request PUT:/v1beta1/admin/organizations/{org_id}/billing/{id}/limits
|
|
543
|
+
* @deprecated
|
|
447
544
|
* @secure
|
|
448
545
|
*/
|
|
449
546
|
this.adminServiceUpdateBillingAccountLimits = (orgId, id, body, params = {}) => this.request(__spreadValues({
|
|
@@ -531,6 +628,7 @@ var V1Beta1 = class extends HttpClient {
|
|
|
531
628
|
method: "POST",
|
|
532
629
|
body: query,
|
|
533
630
|
secure: true,
|
|
631
|
+
type: "application/json" /* Json */,
|
|
534
632
|
format: "json"
|
|
535
633
|
}, params));
|
|
536
634
|
/**
|
|
@@ -612,6 +710,7 @@ var V1Beta1 = class extends HttpClient {
|
|
|
612
710
|
method: "POST",
|
|
613
711
|
body: query,
|
|
614
712
|
secure: true,
|
|
713
|
+
type: "application/json" /* Json */,
|
|
615
714
|
format: "json"
|
|
616
715
|
}, params));
|
|
617
716
|
/**
|
|
@@ -692,6 +791,7 @@ var V1Beta1 = class extends HttpClient {
|
|
|
692
791
|
method: "POST",
|
|
693
792
|
body: query,
|
|
694
793
|
secure: true,
|
|
794
|
+
type: "application/json" /* Json */,
|
|
695
795
|
format: "json"
|
|
696
796
|
}, params));
|
|
697
797
|
/**
|
|
@@ -726,6 +826,21 @@ var V1Beta1 = class extends HttpClient {
|
|
|
726
826
|
secure: true,
|
|
727
827
|
format: "json"
|
|
728
828
|
}, params));
|
|
829
|
+
/**
|
|
830
|
+
* @description Lists all the service users from all the organizations in a Frontier instance.
|
|
831
|
+
*
|
|
832
|
+
* @tags User
|
|
833
|
+
* @name AdminServiceListAllServiceUsers
|
|
834
|
+
* @summary List all service users
|
|
835
|
+
* @request GET:/v1beta1/admin/serviceusers
|
|
836
|
+
* @secure
|
|
837
|
+
*/
|
|
838
|
+
this.adminServiceListAllServiceUsers = (params = {}) => this.request(__spreadValues({
|
|
839
|
+
path: `/v1beta1/admin/serviceusers`,
|
|
840
|
+
method: "GET",
|
|
841
|
+
secure: true,
|
|
842
|
+
format: "json"
|
|
843
|
+
}, params));
|
|
729
844
|
/**
|
|
730
845
|
* @description Lists all the users from all the organizations in a Frontier instance. It can be filtered by keyword, organization, group and state.
|
|
731
846
|
*
|
|
@@ -742,6 +857,71 @@ var V1Beta1 = class extends HttpClient {
|
|
|
742
857
|
secure: true,
|
|
743
858
|
format: "json"
|
|
744
859
|
}, params));
|
|
860
|
+
/**
|
|
861
|
+
* No description
|
|
862
|
+
*
|
|
863
|
+
* @tags User
|
|
864
|
+
* @name AdminServiceSearchUserOrganizations
|
|
865
|
+
* @summary Search users organizations
|
|
866
|
+
* @request POST:/v1beta1/admin/users/{id}/organizations/search
|
|
867
|
+
* @secure
|
|
868
|
+
*/
|
|
869
|
+
this.adminServiceSearchUserOrganizations = (id, query, params = {}) => this.request(__spreadValues({
|
|
870
|
+
path: `/v1beta1/admin/users/${id}/organizations/search`,
|
|
871
|
+
method: "POST",
|
|
872
|
+
body: query,
|
|
873
|
+
secure: true,
|
|
874
|
+
type: "application/json" /* Json */,
|
|
875
|
+
format: "json"
|
|
876
|
+
}, params));
|
|
877
|
+
/**
|
|
878
|
+
* No description
|
|
879
|
+
*
|
|
880
|
+
* @tags User
|
|
881
|
+
* @name AdminServiceSearchUserProjects
|
|
882
|
+
* @summary Search projects of a user within an org
|
|
883
|
+
* @request POST:/v1beta1/admin/users/{user_id}/organizations/{org_id}/projects
|
|
884
|
+
* @secure
|
|
885
|
+
*/
|
|
886
|
+
this.adminServiceSearchUserProjects = (userId, orgId, query, params = {}) => this.request(__spreadValues({
|
|
887
|
+
path: `/v1beta1/admin/users/${userId}/organizations/${orgId}/projects`,
|
|
888
|
+
method: "POST",
|
|
889
|
+
body: query,
|
|
890
|
+
secure: true,
|
|
891
|
+
type: "application/json" /* Json */,
|
|
892
|
+
format: "json"
|
|
893
|
+
}, params));
|
|
894
|
+
/**
|
|
895
|
+
* @description Export user with demographic properties and billing plan details
|
|
896
|
+
*
|
|
897
|
+
* @tags User
|
|
898
|
+
* @name AdminServiceExportUsers
|
|
899
|
+
* @summary Export users
|
|
900
|
+
* @request GET:/v1beta1/admin/users/export
|
|
901
|
+
* @secure
|
|
902
|
+
*/
|
|
903
|
+
this.adminServiceExportUsers = (params = {}) => this.request(__spreadValues({
|
|
904
|
+
path: `/v1beta1/admin/users/export`,
|
|
905
|
+
method: "GET",
|
|
906
|
+
secure: true
|
|
907
|
+
}, params));
|
|
908
|
+
/**
|
|
909
|
+
* @description Search users based on their properties
|
|
910
|
+
*
|
|
911
|
+
* @tags User
|
|
912
|
+
* @name AdminServiceSearchUsers
|
|
913
|
+
* @summary Search users
|
|
914
|
+
* @request POST:/v1beta1/admin/users/search
|
|
915
|
+
* @secure
|
|
916
|
+
*/
|
|
917
|
+
this.adminServiceSearchUsers = (query, params = {}) => this.request(__spreadValues({
|
|
918
|
+
path: `/v1beta1/admin/users/search`,
|
|
919
|
+
method: "POST",
|
|
920
|
+
body: query,
|
|
921
|
+
secure: true,
|
|
922
|
+
type: "application/json" /* Json */,
|
|
923
|
+
format: "json"
|
|
924
|
+
}, params));
|
|
745
925
|
/**
|
|
746
926
|
* @description List all webhooks.
|
|
747
927
|
*
|
|
@@ -966,6 +1146,23 @@ var V1Beta1 = class extends HttpClient {
|
|
|
966
1146
|
type: "application/json" /* Json */,
|
|
967
1147
|
format: "json"
|
|
968
1148
|
}, params));
|
|
1149
|
+
/**
|
|
1150
|
+
* @description Check if a billing account has enough credits to cover the amount.
|
|
1151
|
+
*
|
|
1152
|
+
* @tags Entitlement
|
|
1153
|
+
* @name FrontierServiceCheckCreditEntitlement
|
|
1154
|
+
* @summary Check credit entitlement
|
|
1155
|
+
* @request POST:/v1beta1/billing/check
|
|
1156
|
+
* @secure
|
|
1157
|
+
*/
|
|
1158
|
+
this.frontierServiceCheckCreditEntitlement = (body, params = {}) => this.request(__spreadValues({
|
|
1159
|
+
path: `/v1beta1/billing/check`,
|
|
1160
|
+
method: "POST",
|
|
1161
|
+
body,
|
|
1162
|
+
secure: true,
|
|
1163
|
+
type: "application/json" /* Json */,
|
|
1164
|
+
format: "json"
|
|
1165
|
+
}, params));
|
|
969
1166
|
/**
|
|
970
1167
|
* @description List all features
|
|
971
1168
|
*
|
|
@@ -1221,6 +1418,7 @@ var V1Beta1 = class extends HttpClient {
|
|
|
1221
1418
|
method: "POST",
|
|
1222
1419
|
body,
|
|
1223
1420
|
secure: true,
|
|
1421
|
+
type: "application/json" /* Json */,
|
|
1224
1422
|
format: "json"
|
|
1225
1423
|
}, params));
|
|
1226
1424
|
/**
|
|
@@ -1252,6 +1450,7 @@ var V1Beta1 = class extends HttpClient {
|
|
|
1252
1450
|
method: "POST",
|
|
1253
1451
|
body,
|
|
1254
1452
|
secure: true,
|
|
1453
|
+
type: "application/json" /* Json */,
|
|
1255
1454
|
format: "json"
|
|
1256
1455
|
}, params));
|
|
1257
1456
|
/**
|
|
@@ -1298,6 +1497,7 @@ var V1Beta1 = class extends HttpClient {
|
|
|
1298
1497
|
method: "PUT",
|
|
1299
1498
|
body,
|
|
1300
1499
|
secure: true,
|
|
1500
|
+
type: "application/json" /* Json */,
|
|
1301
1501
|
format: "json"
|
|
1302
1502
|
}, params));
|
|
1303
1503
|
/**
|
|
@@ -1360,6 +1560,7 @@ var V1Beta1 = class extends HttpClient {
|
|
|
1360
1560
|
method: "POST",
|
|
1361
1561
|
body,
|
|
1362
1562
|
secure: true,
|
|
1563
|
+
type: "application/json" /* Json */,
|
|
1363
1564
|
format: "json"
|
|
1364
1565
|
}, params));
|
|
1365
1566
|
/**
|
|
@@ -1406,6 +1607,7 @@ var V1Beta1 = class extends HttpClient {
|
|
|
1406
1607
|
method: "PUT",
|
|
1407
1608
|
body,
|
|
1408
1609
|
secure: true,
|
|
1610
|
+
type: "application/json" /* Json */,
|
|
1409
1611
|
format: "json"
|
|
1410
1612
|
}, params));
|
|
1411
1613
|
/**
|
|
@@ -1437,6 +1639,7 @@ var V1Beta1 = class extends HttpClient {
|
|
|
1437
1639
|
method: "POST",
|
|
1438
1640
|
body,
|
|
1439
1641
|
secure: true,
|
|
1642
|
+
type: "application/json" /* Json */,
|
|
1440
1643
|
format: "json"
|
|
1441
1644
|
}, params));
|
|
1442
1645
|
/**
|
|
@@ -1453,6 +1656,7 @@ var V1Beta1 = class extends HttpClient {
|
|
|
1453
1656
|
method: "POST",
|
|
1454
1657
|
body,
|
|
1455
1658
|
secure: true,
|
|
1659
|
+
type: "application/json" /* Json */,
|
|
1456
1660
|
format: "json"
|
|
1457
1661
|
}, params));
|
|
1458
1662
|
/**
|
|
@@ -1479,13 +1683,16 @@ var V1Beta1 = class extends HttpClient {
|
|
|
1479
1683
|
* @request POST:/v1beta1/organizations/{id}/preferences
|
|
1480
1684
|
* @secure
|
|
1481
1685
|
*/
|
|
1482
|
-
this.frontierServiceCreateOrganizationPreferences = (id, body, params = {}) => this.request(
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1686
|
+
this.frontierServiceCreateOrganizationPreferences = (id, body, params = {}) => this.request(
|
|
1687
|
+
__spreadValues({
|
|
1688
|
+
path: `/v1beta1/organizations/${id}/preferences`,
|
|
1689
|
+
method: "POST",
|
|
1690
|
+
body,
|
|
1691
|
+
secure: true,
|
|
1692
|
+
type: "application/json" /* Json */,
|
|
1693
|
+
format: "json"
|
|
1694
|
+
}, params)
|
|
1695
|
+
);
|
|
1489
1696
|
/**
|
|
1490
1697
|
* @description Get all projects that belong to an organization
|
|
1491
1698
|
*
|
|
@@ -1949,6 +2156,7 @@ var V1Beta1 = class extends HttpClient {
|
|
|
1949
2156
|
method: "POST",
|
|
1950
2157
|
body,
|
|
1951
2158
|
secure: true,
|
|
2159
|
+
type: "application/json" /* Json */,
|
|
1952
2160
|
format: "json"
|
|
1953
2161
|
}, params));
|
|
1954
2162
|
/**
|
|
@@ -1965,6 +2173,7 @@ var V1Beta1 = class extends HttpClient {
|
|
|
1965
2173
|
method: "POST",
|
|
1966
2174
|
body,
|
|
1967
2175
|
secure: true,
|
|
2176
|
+
type: "application/json" /* Json */,
|
|
1968
2177
|
format: "json"
|
|
1969
2178
|
}, params));
|
|
1970
2179
|
/**
|
|
@@ -1996,6 +2205,7 @@ var V1Beta1 = class extends HttpClient {
|
|
|
1996
2205
|
method: "POST",
|
|
1997
2206
|
body,
|
|
1998
2207
|
secure: true,
|
|
2208
|
+
type: "application/json" /* Json */,
|
|
1999
2209
|
format: "json"
|
|
2000
2210
|
}, params));
|
|
2001
2211
|
/**
|
|
@@ -2255,6 +2465,7 @@ var V1Beta1 = class extends HttpClient {
|
|
|
2255
2465
|
method: "POST",
|
|
2256
2466
|
body,
|
|
2257
2467
|
secure: true,
|
|
2468
|
+
type: "application/json" /* Json */,
|
|
2258
2469
|
format: "json"
|
|
2259
2470
|
}, params));
|
|
2260
2471
|
/**
|
|
@@ -2287,6 +2498,7 @@ var V1Beta1 = class extends HttpClient {
|
|
|
2287
2498
|
method: "POST",
|
|
2288
2499
|
body,
|
|
2289
2500
|
secure: true,
|
|
2501
|
+
type: "application/json" /* Json */,
|
|
2290
2502
|
format: "json"
|
|
2291
2503
|
}, params));
|
|
2292
2504
|
/**
|
|
@@ -2334,6 +2546,7 @@ var V1Beta1 = class extends HttpClient {
|
|
|
2334
2546
|
method: "PUT",
|
|
2335
2547
|
body,
|
|
2336
2548
|
secure: true,
|
|
2549
|
+
type: "application/json" /* Json */,
|
|
2337
2550
|
format: "json"
|
|
2338
2551
|
}, params));
|
|
2339
2552
|
/**
|
|
@@ -2350,6 +2563,7 @@ var V1Beta1 = class extends HttpClient {
|
|
|
2350
2563
|
method: "POST",
|
|
2351
2564
|
body,
|
|
2352
2565
|
secure: true,
|
|
2566
|
+
type: "application/json" /* Json */,
|
|
2353
2567
|
format: "json"
|
|
2354
2568
|
}, params));
|
|
2355
2569
|
/**
|
|
@@ -2366,6 +2580,7 @@ var V1Beta1 = class extends HttpClient {
|
|
|
2366
2580
|
method: "POST",
|
|
2367
2581
|
body,
|
|
2368
2582
|
secure: true,
|
|
2583
|
+
type: "application/json" /* Json */,
|
|
2369
2584
|
format: "json"
|
|
2370
2585
|
}, params));
|
|
2371
2586
|
/**
|
|
@@ -2493,6 +2708,7 @@ var V1Beta1 = class extends HttpClient {
|
|
|
2493
2708
|
method: "POST",
|
|
2494
2709
|
body,
|
|
2495
2710
|
secure: true,
|
|
2711
|
+
type: "application/json" /* Json */,
|
|
2496
2712
|
format: "json"
|
|
2497
2713
|
}, params));
|
|
2498
2714
|
/**
|
|
@@ -2509,6 +2725,7 @@ var V1Beta1 = class extends HttpClient {
|
|
|
2509
2725
|
method: "POST",
|
|
2510
2726
|
body,
|
|
2511
2727
|
secure: true,
|
|
2728
|
+
type: "application/json" /* Json */,
|
|
2512
2729
|
format: "json"
|
|
2513
2730
|
}, params));
|
|
2514
2731
|
/**
|
|
@@ -2556,6 +2773,7 @@ var V1Beta1 = class extends HttpClient {
|
|
|
2556
2773
|
method: "POST",
|
|
2557
2774
|
body,
|
|
2558
2775
|
secure: true,
|
|
2776
|
+
type: "application/json" /* Json */,
|
|
2559
2777
|
format: "json"
|
|
2560
2778
|
}, params));
|
|
2561
2779
|
/**
|
|
@@ -2602,6 +2820,7 @@ var V1Beta1 = class extends HttpClient {
|
|
|
2602
2820
|
method: "PUT",
|
|
2603
2821
|
body,
|
|
2604
2822
|
secure: true,
|
|
2823
|
+
type: "application/json" /* Json */,
|
|
2605
2824
|
format: "json"
|
|
2606
2825
|
}, params));
|
|
2607
2826
|
/**
|
|
@@ -2680,6 +2899,7 @@ var V1Beta1 = class extends HttpClient {
|
|
|
2680
2899
|
method: "POST",
|
|
2681
2900
|
body,
|
|
2682
2901
|
secure: true,
|
|
2902
|
+
type: "application/json" /* Json */,
|
|
2683
2903
|
format: "json"
|
|
2684
2904
|
}, params));
|
|
2685
2905
|
/**
|
|
@@ -2757,6 +2977,7 @@ var V1Beta1 = class extends HttpClient {
|
|
|
2757
2977
|
method: "POST",
|
|
2758
2978
|
body,
|
|
2759
2979
|
secure: true,
|
|
2980
|
+
type: "application/json" /* Json */,
|
|
2760
2981
|
format: "json"
|
|
2761
2982
|
}, params));
|
|
2762
2983
|
/**
|
|
@@ -2803,6 +3024,7 @@ var V1Beta1 = class extends HttpClient {
|
|
|
2803
3024
|
method: "POST",
|
|
2804
3025
|
body,
|
|
2805
3026
|
secure: true,
|
|
3027
|
+
type: "application/json" /* Json */,
|
|
2806
3028
|
format: "json"
|
|
2807
3029
|
}, params));
|
|
2808
3030
|
/**
|
|
@@ -2980,6 +3202,7 @@ var V1Beta1 = class extends HttpClient {
|
|
|
2980
3202
|
method: "POST",
|
|
2981
3203
|
body,
|
|
2982
3204
|
secure: true,
|
|
3205
|
+
type: "application/json" /* Json */,
|
|
2983
3206
|
format: "json"
|
|
2984
3207
|
}, params));
|
|
2985
3208
|
/**
|
|
@@ -3026,6 +3249,7 @@ var V1Beta1 = class extends HttpClient {
|
|
|
3026
3249
|
method: "PUT",
|
|
3027
3250
|
body,
|
|
3028
3251
|
secure: true,
|
|
3252
|
+
type: "application/json" /* Json */,
|
|
3029
3253
|
format: "json"
|
|
3030
3254
|
}, params));
|
|
3031
3255
|
/**
|
|
@@ -3106,6 +3330,7 @@ var V1Beta1 = class extends HttpClient {
|
|
|
3106
3330
|
method: "POST",
|
|
3107
3331
|
body,
|
|
3108
3332
|
secure: true,
|
|
3333
|
+
type: "application/json" /* Json */,
|
|
3109
3334
|
format: "json"
|
|
3110
3335
|
}, params));
|
|
3111
3336
|
/**
|
|
@@ -3152,6 +3377,7 @@ var V1Beta1 = class extends HttpClient {
|
|
|
3152
3377
|
method: "PUT",
|
|
3153
3378
|
body,
|
|
3154
3379
|
secure: true,
|
|
3380
|
+
type: "application/json" /* Json */,
|
|
3155
3381
|
format: "json"
|
|
3156
3382
|
}, params));
|
|
3157
3383
|
/**
|
|
@@ -3183,6 +3409,7 @@ var V1Beta1 = class extends HttpClient {
|
|
|
3183
3409
|
method: "POST",
|
|
3184
3410
|
body,
|
|
3185
3411
|
secure: true,
|
|
3412
|
+
type: "application/json" /* Json */,
|
|
3186
3413
|
format: "json"
|
|
3187
3414
|
}, params));
|
|
3188
3415
|
/**
|
|
@@ -3199,6 +3426,7 @@ var V1Beta1 = class extends HttpClient {
|
|
|
3199
3426
|
method: "POST",
|
|
3200
3427
|
body,
|
|
3201
3428
|
secure: true,
|
|
3429
|
+
type: "application/json" /* Json */,
|
|
3202
3430
|
format: "json"
|
|
3203
3431
|
}, params));
|
|
3204
3432
|
/**
|
|
@@ -3246,6 +3474,7 @@ var V1Beta1 = class extends HttpClient {
|
|
|
3246
3474
|
method: "POST",
|
|
3247
3475
|
body,
|
|
3248
3476
|
secure: true,
|
|
3477
|
+
type: "application/json" /* Json */,
|
|
3249
3478
|
format: "json"
|
|
3250
3479
|
}, params));
|
|
3251
3480
|
/**
|
|
@@ -3311,6 +3540,7 @@ var V1Beta1 = class extends HttpClient {
|
|
|
3311
3540
|
query,
|
|
3312
3541
|
body,
|
|
3313
3542
|
secure: true,
|
|
3543
|
+
type: "application/json" /* Json */,
|
|
3314
3544
|
format: "json"
|
|
3315
3545
|
}, params));
|
|
3316
3546
|
/**
|
|
@@ -3357,6 +3587,7 @@ var V1Beta1 = class extends HttpClient {
|
|
|
3357
3587
|
method: "PUT",
|
|
3358
3588
|
body,
|
|
3359
3589
|
secure: true,
|
|
3590
|
+
type: "application/json" /* Json */,
|
|
3360
3591
|
format: "json"
|
|
3361
3592
|
}, params));
|
|
3362
3593
|
/**
|
|
@@ -3453,6 +3684,7 @@ var V1Beta1 = class extends HttpClient {
|
|
|
3453
3684
|
method: "POST",
|
|
3454
3685
|
body,
|
|
3455
3686
|
secure: true,
|
|
3687
|
+
type: "application/json" /* Json */,
|
|
3456
3688
|
format: "json"
|
|
3457
3689
|
}, params));
|
|
3458
3690
|
/**
|
|
@@ -3484,6 +3716,7 @@ var V1Beta1 = class extends HttpClient {
|
|
|
3484
3716
|
method: "PUT",
|
|
3485
3717
|
body,
|
|
3486
3718
|
secure: true,
|
|
3719
|
+
type: "application/json" /* Json */,
|
|
3487
3720
|
format: "json"
|
|
3488
3721
|
}, params));
|
|
3489
3722
|
/**
|
|
@@ -3530,6 +3763,7 @@ var V1Beta1 = class extends HttpClient {
|
|
|
3530
3763
|
path: `/v1beta1/users`,
|
|
3531
3764
|
method: "POST",
|
|
3532
3765
|
body,
|
|
3766
|
+
type: "application/json" /* Json */,
|
|
3533
3767
|
format: "json"
|
|
3534
3768
|
}, params));
|
|
3535
3769
|
/**
|
|
@@ -3576,6 +3810,7 @@ var V1Beta1 = class extends HttpClient {
|
|
|
3576
3810
|
method: "PUT",
|
|
3577
3811
|
body,
|
|
3578
3812
|
secure: true,
|
|
3813
|
+
type: "application/json" /* Json */,
|
|
3579
3814
|
format: "json"
|
|
3580
3815
|
}, params));
|
|
3581
3816
|
/**
|
|
@@ -3592,6 +3827,7 @@ var V1Beta1 = class extends HttpClient {
|
|
|
3592
3827
|
method: "POST",
|
|
3593
3828
|
body,
|
|
3594
3829
|
secure: true,
|
|
3830
|
+
type: "application/json" /* Json */,
|
|
3595
3831
|
format: "json"
|
|
3596
3832
|
}, params));
|
|
3597
3833
|
/**
|
|
@@ -3608,6 +3844,7 @@ var V1Beta1 = class extends HttpClient {
|
|
|
3608
3844
|
method: "POST",
|
|
3609
3845
|
body,
|
|
3610
3846
|
secure: true,
|
|
3847
|
+
type: "application/json" /* Json */,
|
|
3611
3848
|
format: "json"
|
|
3612
3849
|
}, params));
|
|
3613
3850
|
/**
|
|
@@ -3686,6 +3923,7 @@ var V1Beta1 = class extends HttpClient {
|
|
|
3686
3923
|
method: "POST",
|
|
3687
3924
|
body,
|
|
3688
3925
|
secure: true,
|
|
3926
|
+
type: "application/json" /* Json */,
|
|
3689
3927
|
format: "json"
|
|
3690
3928
|
}, params));
|
|
3691
3929
|
/**
|
|
@@ -3732,6 +3970,7 @@ var V1Beta1 = class extends HttpClient {
|
|
|
3732
3970
|
method: "PUT",
|
|
3733
3971
|
body,
|
|
3734
3972
|
secure: true,
|
|
3973
|
+
type: "application/json" /* Json */,
|
|
3735
3974
|
format: "json"
|
|
3736
3975
|
}, params));
|
|
3737
3976
|
/**
|
|
@@ -3833,16 +4072,16 @@ var V1Beta1 = class extends HttpClient {
|
|
|
3833
4072
|
};
|
|
3834
4073
|
|
|
3835
4074
|
// api-client/data-contracts.ts
|
|
3836
|
-
var ProtobufNullValue = /* @__PURE__ */ ((ProtobufNullValue2) => {
|
|
3837
|
-
ProtobufNullValue2["NULL_VALUE"] = "NULL_VALUE";
|
|
3838
|
-
return ProtobufNullValue2;
|
|
3839
|
-
})(ProtobufNullValue || {});
|
|
3840
4075
|
var V1Beta1ProspectStatus = /* @__PURE__ */ ((V1Beta1ProspectStatus2) => {
|
|
3841
4076
|
V1Beta1ProspectStatus2["STATUS_UNSPECIFIED"] = "STATUS_UNSPECIFIED";
|
|
3842
4077
|
V1Beta1ProspectStatus2["STATUS_UNSUBSCRIBED"] = "STATUS_UNSUBSCRIBED";
|
|
3843
4078
|
V1Beta1ProspectStatus2["STATUS_SUBSCRIBED"] = "STATUS_SUBSCRIBED";
|
|
3844
4079
|
return V1Beta1ProspectStatus2;
|
|
3845
4080
|
})(V1Beta1ProspectStatus || {});
|
|
4081
|
+
var ProtobufNullValue = /* @__PURE__ */ ((ProtobufNullValue2) => {
|
|
4082
|
+
ProtobufNullValue2["NULL_VALUE"] = "NULL_VALUE";
|
|
4083
|
+
return ProtobufNullValue2;
|
|
4084
|
+
})(ProtobufNullValue || {});
|
|
3846
4085
|
|
|
3847
4086
|
// api-client/index.ts
|
|
3848
4087
|
var ApiClient = V1Beta1;
|