@aldiokta/protocgen 1.1.65 → 1.1.67
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/package.json +1 -1
- package/prisca/v1/budget_planning/budget_planning_grpc_pb.js +33 -0
- package/prisca/v1/budget_planning/budget_planning_pb.js +1764 -0
- package/prisca/v1/core/auth/auth_grpc_pb.js +71 -0
- package/prisca/v1/core/auth/auth_pb.js +599 -1
- package/prisca/v1/core/currency_exchange_rate/currency_exchange_rate_grpc_pb.js +180 -0
- package/prisca/v1/core/currency_exchange_rate/currency_exchange_rate_pb.js +2696 -0
- package/prisca/v1/core/employee/employee_pb.js +61 -1
- package/prisca/v1/core/subscription/subscription_grpc_pb.js +82 -0
- package/prisca/v1/core/subscription/subscription_pb.js +1713 -0
- package/prisca/v1/invoice/invoice_grpc_pb.js +24 -0
- package/prisca/v1/invoice/invoice_pb.js +1102 -108
- package/prisca/v1/purchase_order/purchase_order_pb.js +62 -2
|
@@ -320,6 +320,28 @@ function deserialize_RequestRegisterVendorResponse(buffer_arg) {
|
|
|
320
320
|
return prisca_v1_core_auth_auth_pb.RequestRegisterVendorResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
321
321
|
}
|
|
322
322
|
|
|
323
|
+
function serialize_RetryPendingActivationRequest(arg) {
|
|
324
|
+
if (!(arg instanceof prisca_v1_core_auth_auth_pb.RetryPendingActivationRequest)) {
|
|
325
|
+
throw new Error('Expected argument of type RetryPendingActivationRequest');
|
|
326
|
+
}
|
|
327
|
+
return Buffer.from(arg.serializeBinary());
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
function deserialize_RetryPendingActivationRequest(buffer_arg) {
|
|
331
|
+
return prisca_v1_core_auth_auth_pb.RetryPendingActivationRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
function serialize_RetryPendingActivationResponse(arg) {
|
|
335
|
+
if (!(arg instanceof prisca_v1_core_auth_auth_pb.RetryPendingActivationResponse)) {
|
|
336
|
+
throw new Error('Expected argument of type RetryPendingActivationResponse');
|
|
337
|
+
}
|
|
338
|
+
return Buffer.from(arg.serializeBinary());
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
function deserialize_RetryPendingActivationResponse(buffer_arg) {
|
|
342
|
+
return prisca_v1_core_auth_auth_pb.RetryPendingActivationResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
343
|
+
}
|
|
344
|
+
|
|
323
345
|
function serialize_RevokeRefreshTokenRequest(arg) {
|
|
324
346
|
if (!(arg instanceof prisca_v1_core_auth_auth_pb.RevokeRefreshTokenRequest)) {
|
|
325
347
|
throw new Error('Expected argument of type RevokeRefreshTokenRequest');
|
|
@@ -342,6 +364,17 @@ function deserialize_RevokeRefreshTokenResponse(buffer_arg) {
|
|
|
342
364
|
return prisca_v1_core_auth_auth_pb.RevokeRefreshTokenResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
343
365
|
}
|
|
344
366
|
|
|
367
|
+
function serialize_SetUserStatusRequest(arg) {
|
|
368
|
+
if (!(arg instanceof prisca_v1_core_auth_auth_pb.SetUserStatusRequest)) {
|
|
369
|
+
throw new Error('Expected argument of type SetUserStatusRequest');
|
|
370
|
+
}
|
|
371
|
+
return Buffer.from(arg.serializeBinary());
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
function deserialize_SetUserStatusRequest(buffer_arg) {
|
|
375
|
+
return prisca_v1_core_auth_auth_pb.SetUserStatusRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
376
|
+
}
|
|
377
|
+
|
|
345
378
|
function serialize_UpdateAccessPayload(arg) {
|
|
346
379
|
if (!(arg instanceof prisca_v1_core_auth_auth_pb.UpdateAccessPayload)) {
|
|
347
380
|
throw new Error('Expected argument of type UpdateAccessPayload');
|
|
@@ -498,6 +531,44 @@ var AuthServiceService = exports.AuthServiceService = {
|
|
|
498
531
|
responseSerialize: serialize_GetListUserResponse,
|
|
499
532
|
responseDeserialize: deserialize_GetListUserResponse,
|
|
500
533
|
},
|
|
534
|
+
// PRISCA-97: nonaktifkan/aktifkan user (bukan soft-delete). ActivateUser
|
|
535
|
+
// menjalankan pre-flight kuota lebih dulu (reaktivasi memakan seat).
|
|
536
|
+
deactivateUser: {
|
|
537
|
+
path: '/AuthService/DeactivateUser',
|
|
538
|
+
requestStream: false,
|
|
539
|
+
responseStream: false,
|
|
540
|
+
requestType: prisca_v1_core_auth_auth_pb.SetUserStatusRequest,
|
|
541
|
+
responseType: prisca_v1_core_auth_auth_pb.UserResponse,
|
|
542
|
+
requestSerialize: serialize_SetUserStatusRequest,
|
|
543
|
+
requestDeserialize: deserialize_SetUserStatusRequest,
|
|
544
|
+
responseSerialize: serialize_UserResponse,
|
|
545
|
+
responseDeserialize: deserialize_UserResponse,
|
|
546
|
+
},
|
|
547
|
+
activateUser: {
|
|
548
|
+
path: '/AuthService/ActivateUser',
|
|
549
|
+
requestStream: false,
|
|
550
|
+
responseStream: false,
|
|
551
|
+
requestType: prisca_v1_core_auth_auth_pb.SetUserStatusRequest,
|
|
552
|
+
responseType: prisca_v1_core_auth_auth_pb.UserResponse,
|
|
553
|
+
requestSerialize: serialize_SetUserStatusRequest,
|
|
554
|
+
requestDeserialize: deserialize_SetUserStatusRequest,
|
|
555
|
+
responseSerialize: serialize_UserResponse,
|
|
556
|
+
responseDeserialize: deserialize_UserResponse,
|
|
557
|
+
},
|
|
558
|
+
// PRISCA-97 AC-13: dipanggil scheduler (tanpa JWT) — sapu user yang
|
|
559
|
+
// inactive karena pre-flight kuota gagal jaringan, coba ulang, aktifkan
|
|
560
|
+
// yang 200. Lintas-tenant.
|
|
561
|
+
retryPendingUserActivationForScheduler: {
|
|
562
|
+
path: '/AuthService/RetryPendingUserActivationForScheduler',
|
|
563
|
+
requestStream: false,
|
|
564
|
+
responseStream: false,
|
|
565
|
+
requestType: prisca_v1_core_auth_auth_pb.RetryPendingActivationRequest,
|
|
566
|
+
responseType: prisca_v1_core_auth_auth_pb.RetryPendingActivationResponse,
|
|
567
|
+
requestSerialize: serialize_RetryPendingActivationRequest,
|
|
568
|
+
requestDeserialize: deserialize_RetryPendingActivationRequest,
|
|
569
|
+
responseSerialize: serialize_RetryPendingActivationResponse,
|
|
570
|
+
responseDeserialize: deserialize_RetryPendingActivationResponse,
|
|
571
|
+
},
|
|
501
572
|
verifyAuthorization: {
|
|
502
573
|
path: '/AuthService/VerifyAuthorization',
|
|
503
574
|
requestStream: false,
|